Kojo Wiki

docs for Kojo

View source on GitHub

This is work-in-progress.
To follow along, you need at least Kojo version 2.9.30 and kojo-gaming version 0.4.

Gaming-1 lesson plans

  1. Creating Pictures and moving them around on the canvas.
  2. Moving Pictures smoothly.
  3. Keeping Pictures within the stage area.
  4. Canvas bounds.
  5. Picture collisions and bouncing.
  6. Controlling Pictures via the keyboard and the mouse.
  7. Making a game - Hunted.
  8. ArrayBuffers and HashMaps for gaming.
  9. Hunted 2 - increasing the number of hunters without any code change.
  10. Hunted 3 - adding background and character images.
  11. Hunted 4 - putting an envelope around character images for better collision detection.
  12. Hunted 5 - using multiple images per character for richer animation.
  13. Hunted 6 - adding sound.
  14. Game refinement project 1 - Dino.
  15. Game refinement project 2 - Car Ride.
  16. Game Project
  17. A Platformer Game.

Todo

  1. Object Oriented Programming - core ideas.
  2. Redoing Hunted/Dino/Cars using OO ideas.
  3. Game Project.
  4. Using the Tiled Level Editor.
  5. Building Level 2 for the Platformer game.
  6. Game Project.

Copyright © 2010–2024 Kogics Foundation. Licensed as per Terms of Use.