top of page

Final Project: SnakeDodge

  • Writer: Jessi Cruz
    Jessi Cruz
  • Dec 16, 2019
  • 1 min read

My final project was initially going to be a top-down shooter using a different p5 library. Unfortunately, I could not get the assets working but luckily I discovered this very early on and was able to move on to a different concept. I wanted to make a Snake-esque game with more fluent gameplay. I made the snake move along with your cursor and the rest follow in a "flowy" motion. I wanted the growth of your snake to be an indication of how well you were doing, instead of a problem that will slowly grow with your success. So, the new problem was; that was just a super-easy snake game, what new obstacles could I add, while retaining the same base concept? I made the food mobile and harder to catch after the first try, you also needed to press a button to catch the food instead of just touching it; this gameplay was fun to test, but I still felt that it was too easy. So I added enemies that instantly end your game. These enemies are represented by squares and move around similarly to the food. The score system also counts how long you get by the end of the game. There is a start screen, play screen, and a game over screen. Also only the cursor controlled part of the snake is affected by collision.


There are controls to test the length;

E = grow

W = shrink (shrinking below 0 makes it freak out.)


Recent Posts

See All
Youtube COPPA Algorithm

https://www.theverge.com/2019/11/13/20963459/youtube-google-coppa-ftc-fine-settlement-youtubers-new-rules Youtube was fined a large sum...

 
 
 
Interactive Ball

Code: var brushSize; var BallX; var BallY; var ballSize; var xSpeed; var ySpeed; var bColor; function setup() { // put setup code here...

 
 
 
Bouncing Ball

https://editor.p5js.org/jisojc/present/1srYyYOP8 I created a second variable, using the same coding for xPos and xSpeed to create the y...

 
 
 

Comments


© 2023 by The Artifact. Proudly created with Wix.com

bottom of page