Posted May 06, 2024 by matouseek
Date: 6.5.2024
Activity:
- Coded all the mechanics, the intro level
- Designed the first (non-intro) level
- Coded part of the first level
Notes:
I planned to do most of my work this week and I think I did. First I started by coding the movement of Jeremy. He has a Rigidbody2D so I control all of his movement via the AddForce() method. I calculated some threshold values for his velocity in all directions that are checked when the player wants to move. If Jeremys velocity is too high the players input won't got through. This prevents the player from spamming the move keys and also forces him to use this kind of "floating" move style. Imo this really feels like you're playing as a ghost. I had a little issue here because I forgot to do physics in FixedUpdate instead of Update.
Next up I played with Cinemachine a bit to make the level more dynamic (or static in the platforming parts). I also created this cool fade out effect that you can see in the intro level when going into the house (Jeremy can be seen at all times and doesn't hide behind the house).
Another thing I fiddled with is post processing. I basically just went with whatever looked good and tried to combine it together. In the end I think it definitely improved the games look.
Afterwards I drew a basic sprite for Jeremy so that he's not a tictac (capsule) and added the ending of a level where Jeremy scares the children.
In the end I designed the next level and implemented the first part of it. The only thing left is implementing the second part of that level.
I didn't go much into detail here but a lot of my work this week was just creating minor animations for Jeremy/Texts/Some parts of the level, placing colliders as boundaries of the level, fixing some screen formatting in the build and so on.
Oh yeah I nearly forgot that I also created a menu... a very simple menu but a menu non the less.
Invested hours:
12h - Implementing all the mechanics, menu and the intro level
40m - designing the first level
2.5h - Implementing some parts of the first level
Outcome:
Build - I put all the stuff I did so far into a build which is somewhat playable (the name is - JeremyTheGhostDEVLOG2)