Hacker News new | comments | show | ask | jobs | submit login

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



This. 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.


I mean

self.dy = 0.050 # jump speed

Jump higher for more fun...




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: