I am making a set of fireworks that go up and randomly explode on the screen

//Pseudo
//creating a class of particle system with some physics
//Draw some particles going up in a line and exploding in a sphere shape
//Make the particles disappear after they explode

So far I have only made a particle go in the direction going up and coming down. I am still figuring out the physics and how to add more features like making them go up and explode a bunch of particles as well add some randomness of colors. I also need to make multiple fireworks going up.

If I find myself with more time with the project I will add maybe jets flying by as well.

https://editor.p5js.org/AlexChan/sketches/S6G9tG9if

--

--

Alexander Chan

Final Project

Game: Bus vs Saucer

This game will be very similar to the offline Dinosaur game concept. It will consist of objects that can be changed out as the main character. Also there will be arrays that are the enemies such as a flying saucers. The score will be displayed which is the time and how long the player last. If the main character collides with the object then it will stop the game and say game over as well display the time the user lasted. I intend that the user uses spacebar to jump up in a static place and avoid the object of arrays coming towards it to get an high score.

  1. Images/ References

https://editor.p5js.org/Arnav-Sirigere/sketches/b_o4c0Ox6

--

--

I created a game that requires you to survive being a ball and not touching the ground or other balls.

In this game I successfully

  • use mouseIsPressed to trigger you to start the game
  • use mouseX and mouseY to change a bool(which is the colors of the screen when playing to have a visual of the ball moving randomly)
  • use nested for loops to create complex designs (I used many nested loops)
  • made a ball bounce around inside the screen( made two gray ball bounce around the screen)
  • made a button that has hover and clicks (To restart the game you can click the button)
  • I also used keyIsDown to give instructions

Note:(I could not get the balls to make the player lose)

--

--

By Alexander Chan

In this animation, I had an inspiration to make the dog from adventure time. I used framecount, sin(), cos() for the nose and the circles moving around the screen and if statements for the eyes and mouth. So far, it worked as I had wanted. The challenging part was making the if statements and using framecount,sin, cos to move around the circles and nose.

--

--