Created
April 16, 2014 16:28
-
-
Save funrep/10902904 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Player>: | |
canvas: | |
Rectangle: | |
pos: root.center | |
size: 40, 40 | |
<Screen>: | |
Player |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.uix.widget import Widget | |
from kivy.properties import ListProperty | |
class Player(Widget): | |
pass | |
class Screen(Widget): | |
pass | |
class GameApp(App): | |
def build(self): | |
return Screen() | |
if __name__ == '__main__': | |
GameApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment