Esempio n. 1
0
# Import our application class
from libs.Game import Game
from libs.Plugins.Input import InputPlugin
from libs.Scenes.Empty import EmptyScene

# Instantiate and run the game
game = Game()
game.registerPlugin('input', InputPlugin())
game.pushScene(EmptyScene())

game.run()
Esempio n. 2
0
# Load the config
from pandac.PandaModules import loadPrcFile 
loadPrcFile("appconfig.prc")

# Import our application class
from libs.Game import Game
from libs.Input import Input
        
# Instantiate and run the game
game = Game()
game.registerPlugin('input', Input())

game.run()