User Tools

Site Tools


notes:comporg:spring2024:projects:mpg0

This is an old revision of the document!


MPG0

References

The Vircon32: C API reference page may be helpful - http://www.vircon32.com/api.html

Game Mechanics

Game loop

Sprites

  • There should be a sprite for at least a background, the snake's body and the food if you want to make your snake just a normal looking square.
  • Some good free sprite software's would be GIMP , Microsoft Paint, or maybe even Photoshop on a school computer.
  • A link to GIMP download: https://www.gimp.org/downloads/
  • You could also have a death screen for when your snake dies.

Gamepad input

There is obviously your arrow key inputs but there are other buttons available as well. At least for gamepad(0) we have button_?_ = ? for the average keyboard:

  • A = X
  • B = Z
  • X = S
  • Y = A
  • L = W
  • R = W
  • Start = Enter Key

Bounds checking

Handling motion

Score Display

notes/comporg/spring2024/projects/mpg0.1707070911.txt.gz · Last modified: 2024/02/04 18:21 by cmazzara