Contents:
Preface:Why this tutorial? Terms of use. How can I help? How I can ask questions?Parts of the tutorial:
Which tools shall we use?
Preparing the tools
1. Writing a symbol centered on screen.
2. The "game loop".
3. Movement for the player.
4. Three dots on screen.
5. Eating the dots and receiving points.
6. Dots disappear.
7. A moving enemy.
8. Independent movements.
9. Not so fast!.
10. Several enemies.
11. Lots of dots in random positions.
12. Colors and background.
13. Graphic mode: real images.
14. ESC to exit.
15. Collisions in graphic mode.
16. Labyrinth.
17. Dots as part of the labyrinth.
18. Not walking through walls.
19. Functions: Intro screen, initialization.
20. Source code should be less repetitive: function for collisions.
21. More detailed initialization.
22. Displaying score and using PNG images.
23. Lives. End of game.
24. Restarting the game.
25. Structs.
26. More functions.
27. Ghosts in the labyrinth.
28. Ghosts in all directions.
29. Advancing levels.
30. Eating big dots and ghost. (* Soon: expected for 26-dic)
31. Redesign using Object Oriented Programming: First approach. (* Soon: expected for 29-dic)
32. A first object-oriented working example. (* Soon: expected for 03-dic)
33. Expanding the object-oriented skeleton. (* Soon: expected for 08-jan)
... (* More coming soon)
Changes between versions
Downloadable PDF version