(play HERE)
- Download an IDE such as Sublime Text
- consider using a javascript linter
- Sublime linter install intructions
- Install Package Control
- Press
shift+command+P
and search for "Install Package" - Search for "Sublime Linter" and press
enter
to install
- Create initial file structure
- download this github repo
- copy the 'space_flyer_start' folder
-
Create page layout
- create p5 canvas
- add game title to the page
-
Create the player
- create a sprite
- call
drawSprites()
method inside thedraw()
function - add movement with
keyDown()
method - add 'check edges' logic
-
Create the board
- create a group
- create sprites for the board
- add sprites to the group
-
Add collision detection using the
.collide()
method -
Add game mechanics
- add timer logic
- add win/lose logic
- add restart logic
-
Extra
- use a local host to serve the sketch
- add an image for the player character
- add sound
- add speech