Dev Log 3 – 28/10/22


We experimented with a javascript demo involving moving circles bouncing around a 2d box. I first used the Math.random function to generate a random colour for each circle when spawned and used the canvas fill function to give them a solid central colour. I then attempted to replace the circles with user provided images; this was unsuccessful, but it gave me insight into the image generation techniques used in the Phaser game demo.

While experimenting with edits to the Phaser demo, I edited the physics of the character controlled by the user to determine which values felt the most satisfying to control and settled on a high gravity value and fast movement. Testing random game object placement such as platforms raised the important issue of setting boundaries around these images to avoid clipping, which I did not manage to resolve.

We were assigned our major game project in the second half of the week, where I decided to remake my shoot-em-up/bullet hell game Last Pilot from GML. This language, used by GameMaker Studio, shares a similar syntax to java, allowing me to adapt my existing ideas into a more complex format with objects and classes. By Friday, I completed:

  • Player movement, using a boolean value to determine direction and multiplying it by velocity
  • Enemy spawning at a random point at the top of the screen, with 10 health
  • Bullet collision that lowers enemy health and deletes them when it reaches zero

Leave a Reply

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