Devlog 4 - We need puns. Lots of puns.


Day 4

Welcome back to another long devlog, in summary heres what I managed to do today:

  • Added some new guns
  • Added a easter egg gun (Think about LittleBigPlanet 2 as a hint to unlock)
  • Improved first easter egg that can appear, maybe think about this devlog, what is it referencing. Part of that is the code.
  • Robots dont shoot if they dont see you now
  • Robots change colour if they have seen you
  • Crosshair now rotates and other fancy things
  • Controls list expanded to support 10 weapons, each number on the keyboard is a weapon.

Well, to start in more detail, I first worked on the crosshair. It was fresh in my mind so I thought might as well do it. Used some of my older code for an easter egg in this code which basically uses a sine wave to calculate scale of the crosshair. The equation is below

sin(Variable(FrameCount)/60)

but when the answer is below 0, the negative sine of that equation is used in order to keep it positive.

Next, I worked on adding a few new guns, so after thinking about some gun names, which I could only think of one for the pistol, I asked on the Goedware Discord for ideas and this is what I got so far

After enjoying both puns, even though only one is about love which is part of the theme, I decided I would throw them both in as a machine gun a shotgun that only shoots one projectile because having too many projectiles breaks the game so for now, minimising the risk of the game breaking.

Next I worked on improving the robots AI, after trying to make some passive AI, I gave up. I decided to just have the AI only move if they see the player and change a visual indicator of a light from green to red to show the player has been seen. Additonally, to make the game look a bit better, robots dont shoot lasers if your not in their line of sight now.

Thanks for reading, and enjoy a small test build which may expire at any moment!

https://liluo.io/instant-builds/cb9f6995-77ec-4e01-8fe5-ff9f1f7057bb

Get The Antilovable Robots

Leave a comment

Log in with itch.io to leave a comment.