I spent most of today asleep and very mildly hungover, so again I didn't do quite as much work as I wanted to (get used to me saying this, I suspect I will be saying it a lot)
Either way, all the new game mechanics I planned to introduce in World 2 (Beach) are now programmed! Yay!
This actually counts as a milestone, and it happened much much quicker than I thought it would!
Now I can move on to designing levels for World 2
In other interesting news I also encountered what I think was a glitch in unity that caused a fish sprite to appear at (0,0,0) no matter what scene I was in. The fish was affected by lighting, and I suspect was unity failing to unload a prefab. The only way to get rid of it afaik was by restarting unity.
Changes are as follows:
- Added in bullets that bounce when they hit things
- Added a counter within those bullets to cause them to self-destruct after bouncing 4 times
- Fixed a bug where bouncy bullets would not bounce off of destructible objects, and would instead just destroy them
- Fixed a bug where pickups would block the laser sight
- Added a fish pickup that gives the bouncing bullets bullet type
- Made a new bullet prefab that looks like a spinning fish to represent the bouncing bullets
- Added a type of wall that bounces any bullet that hits it, regardless of type
- Made it so that bounces on this wall do not count towards the overall bounce limit of bouncy fish bullets
- Added a change that makes the ammo counter change sprite depending on what type of bullet is being used
- Generally tidied up the bullet code to make it easier to add more types of bullets in the future
So yeah, as said above, tomorrow I will begin work on making the levels for World 2. The only tasks I need to do before that are to make a sprite for the +3 ammo pickup, and save all the new game mechanics as prefabs so that I don't just copy paste everything between scenes (a thing I definitely didn't used to do I would never) Edit: I just did both of those things and its been 10 minutes so I'm counting them as part of this devlog now.
Comments
Displaying 1 of 1 comments ( View all | Add Comment )
Lydia Bea KittyCat
Report Comment