Skip to content

Commit a1d4157

Browse files
authored
Update README.md
1 parent c17b0ac commit a1d4157

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,20 @@ if os.path.exists(os.path.join("assets", "icon.ico")):
100100
window.icon = os.path.join("assets", "icon.ico")
101101
window.exit_button.visible = False
102102
window.borderless = True
103-
player: FirstPersonController = FirstPersonController(y=1)
103+
104+
player = FirstPersonController(position=(0, 5, 0))
104105
player.gravity = 1
105106
107+
platform: Entity = Entity(model='cube', color=color.green, scale=(10, 1, 10), position=(0, 0, 0), collider='box')
108+
106109
bro: Sprite = Sprite(customdata={'x': 0, 'y': 0, 'visible': True, 'id': 0}, name="bro")
110+
107111
def input(key: str) -> None:
108112
if key == "escape":
109113
sys.exit()
110114
111115
def update() -> None:
112-
mouse.position = Vec2(0, 0)
116+
pass
113117
114118
app.run()
115119
```

0 commit comments

Comments
 (0)