Recommended software and skills: HTML, Javascript, CSS, General programming knowledge

No video link, Mr. Kilns gave me this idea because he wanted a game for his kids

Base game was not complicated, but it took some work to set up the menu and multiple players.

I would recommend someone to follow this project, but change how the main game loop functions: I used a repeating loop that is called every millisecond, and called functions that were full of if statements. I should have changed the loop to allow functions with while loops that wouldn’t run indefinitely.

Two other programs I have made that led up to this were:

/https://ects-computerprogramming.com/StudentWork/MMelaragno/breakout/

/https://ects-computerprogramming.com/Authentication/?redirect=/games/StringMemory/&guestmode

I would however recommend also using the canvas functions, it makes it easy to keep track of characters position, change the background, and move buttons around the screen.

Control the shark using arrow keys

Player 2 controls jellyfish using WASD

Menu looks best in half screen view

Link to project: https://ects-computerprogramming.com/StudentWork/MMelaragno/sharkgame/

3 Comments

    1. Also, sometimes the jellyfish spawns on top of the player after they eat a fish, instantly killing them.

Leave a Reply

Your email address will not be published. Required fields are marked *