3 ms·
Thanks. My son has been asking me how to write games, and has spent some time looking around in the code for the Raspberry Pi version of Minecraft. Maybe we can
by analog31 12y ago
Thanks. My son has been asking me how to write games, and has spent some time looking around in the code for the Raspberry Pi version of Minecraft. Maybe we can make some headway in this version because even dumb old Dad can handle 500 lines.
- hartror 12y agoI cannot recommend pyglet strongly enough for learning graphics and game programming, it is so quick to get started with. I wonder if anyone has written some learn to code tutorials with it.
- timtadh 12y agoMy wife recently began learning python with the book "Hello Python." It seems like a solid intro from what I read. The book uses hunt the wumpus as its starting example. If you combine that with Steve Johnson's excellent Pyglet tutorial[1] you could probably get to writing games pretty quick. [1] http://steveasleep.com/pyglettutorial.html http://steveasleep.com/pyglettutorial.html
- tekromancr 12y agoA few years back it seemed that pyglet was dead. I am glad to see that this isn't the case.
- bucky 12y agoHTML5 games! They're easy, quick to set up, the feedback is instant and they're fun to play! I've been making HTML5 games as part of short, two hour collaborative coding exercises at work and it's awesome. Here's a recent one we did based on Flappy Bird [1]. I made a few bootstrap scripts here [2] to make it easier to get up and running. 1. https://github.com/hoorayimhelping/Flabby-Bird https://github.com/hoorayimhelping/Flabby-Bird 2. https://github.com/hoorayimhelping/HTML5-GameKit https://github.com/hoorayimhelping/HTML5-GameKit
- ansimionescu 12y agoI recommend http://phaser.io/ http://phaser.io/
- mopedDreams 12y agoI've created a tutorial for making a 2D version of Minecraft using Python and Pygame. Obviously the end result is a _much_ simpler game than Minecraft, but it is useful in teaching things like 2D arrays and dictionaries. http://usingpython.com/pygame-intro/ http://usingpython.com/pygame-intro/
- analog31 12y agoThanks. That will be fun to look at too.
- mopedDreams 12y agoIf you do try the tutorial, i'd love to see what you create! :)