Tutorials
GameSpark
Learn the GameSpark engine one piece at a time — drawing, input, sound, and tiles.
1
2
3
4
5
6
7
8
9
Your first program
Clear the screen, draw a shape, and run it.
Motion and bouncing
Give things velocity and make them bounce off the walls.
Drawing sprites
Make art in the sprite editor and draw it with spr().
Move with the keyboard
Read the arrow keys and move smoothly, including diagonals.
Move with the mouse
Follow the pointer and react to clicks with mouse().
Play a sound
Make a sound in the SFX editor and trigger it with sfx().
Render tiles with map()
Paint a level in the map editor and draw it with map().
Choosing a screen size
Change the screen shape and size — and write code that fits any of them.
Find anything in the Docs
Use the built-in Docs tab and autocomplete to learn the API.