3 ms·
Jump speed is too fast... if you slow it it works better and is more like minecraft IMHO elif symbol == key.SPACE: if self.dy == 0:
by Janteloven 14y ago
Jump speed is too fast... if you slow it it works better and is more like minecraft IMHO
elif symbol == key.SPACE:
if self.dy == 0:
self.dy = 0.500 # jump speed
- Janteloven 14y agoI mean self.dy = 0.050 # jump speed Jump higher for more fun...
- njharman 14y agoThis. This is why Python, Pyglet, and this particular project rock. Not the jump thing. But the whole class of things there is something you don't like and can more or less instantly find it, tweak it and see changes. No hours of learning, searching through code, waiting on compilers. Just experiment -> fun -> back to experiment.