在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:renatopp/batma开源软件地址:https://github.com/renatopp/batma开源编程语言:Python 100.0%开源软件介绍:Batma 2DBatma is a pygame based game engine, inspired by XNA's structure. Providing an intuitive framework for game development and other graphical applications. Features
Game WorkflowInspired by XNA, a Batma game follows almost the same structure: class MyGame(batma.Scene): def initialize(self): """Initializes game components, such screen properties""" ... def load_content(self): """Load game assets, such as sprites, fonts and sound effects""" ... def unload_content(self): '''Unload game assets''' def update(self, tick): """Called each frame, add all the game logic here""" ... def draw(self): """Called each frame to draw sprites and other assert on screen""" ... game = MyGame() batma.run(game) Requirements
InstallingInstalling from source: python setup.py install |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论