Journal Entry 4
Date: 19. 5. 2022
Activity
Finished level 2 and worked on general game polish. Recorded a short gameplay from level 1 and uploaded it to YouTube.
Notes
I’ve adjusted lights and sound effects (added pre-defined music from 3D Game Kit, pickup sound effects for key items, decreased volume of enemies growning…). KeyItem
objects were getting more and more complex so I regretted I hadn’t created them as prefabs in the first place. I tried to find a way how to create prefab from the existing GameObject
and its children objects and I wasn’t successful in finding any.
Also, I spent a lot of time trying to integrate SimpleTranslator
and SimpleRotator
in level 2. I wanted to use them earlier in level 1 as well and I was struggling with the set up. I forgot I have to make all child objects non-static so that they would move with their parent object. Unticking static field helped me with SimpleTranslator
of the circular floor. Ellen was then able to land on it as it would be a normal moving platform. I also wanted to use SimpleRotator
on the alien statue but its collider still wouldn’t rotate correctly so the statue was not walkable for Ellen. I didn’t want to throw the effect away completely so I moved the rotating statue to the background and added one more that is static and thus walkable.
I had troubles incrementing counter on Grenadier’s death as there’s a custom script used instead of the general Damageable
. This script only provide State
property that can be ticked for an arbitrary GameObject
on Grenadier’s death event. I tried to add Damagable
script and increment the counter in the OnDeath
function as usual but it wasn’t working.
I also experienced a strange bug with PlatformTall
and Platform1x1
at the end of level 2. They both contain FloorPanel
as their child object and each FloorPanel
has 2 children - one with LOD00 Mesh Filter, one with LOD01. Floor panels were disappearing when I zoomed in next to them in the editor or got close with Ellen in the game. The collider still worked as it is set on parent object so it looked like Ellen is walking in the air. I’m not aware of moving any of the LOD child objects, I also replaced the whole Platform1x1
instance with a new one and the issue persisted. When I inspected it, one of the LOD child objects was always shifted so I manually set their position to match the other LOD child that was correct.
And finally while recording the gameplay, I was surprised the whole game was lagging a lot which made it almost impossible to play smoothly. I was afraid the camera sensitivity is still on steroids even when I decreased it from 0.1 ro 0.01. But I didn’t have the same feeling while just playing without recording so I hope it was just my non-gaming laptop being overloaded.
Invested hours
- Level 2 development - 16 h
- Level 1 + level 2 polishing - 7 h
- Gameplay video - 30 min
Outcome
- Uploaded final build
- Uploaded gameplay video
Files
Get Project C
Project C
mff-gdintro-2022-c
Status | Released |
Author | lhotanok |
Genre | Platformer |
Tags | 3D, Monsters, Puzzle-Platformer, Singleplayer, Unity |
More posts
- Journal Entry 3May 17, 2022
- Journal Entry 2May 11, 2022
- Journal Entry 1May 08, 2022
Leave a comment
Log in with itch.io to leave a comment.