The Boss Level Works. The Background Has Other Plans
Tajbuild
0:00 / 0:00
The Boss Level Works. The Background Has Other Plans
12 просмотров · 2 недели назад
Tajbuild
4 подписчика
12 просмотров · 2 недели назад
After several episodes of building, testing and fixing, Gemio’s first complete boss level is finally here.
The boss started as an oversized enemy that simply stood there. Since then, it has learned to patrol, charge toward the player, deal damage, react to projectile hits and trigger a proper death sequence.
In this episode, I finished bringing the entire encounter together:
• The boss remains inactive until the player enters the arena
• The entrance gate closes when the fight begins
• The player can no longer use the gate as an accidental ladder
• The boss health bar appears during combat
• Defeating the boss reopens the arena
• The LevelGoal only becomes available after victory
• The boss level now has its own music, effects and complete progression flow
With the gameplay working, I moved on to the environment. I replaced the plain tiled wall behind the arena with a scenic background and created a CameraBackgroundFitter script so the image automatically fills the camera view.
The background initially appeared too small because I had forgotten to attach the fitter script to the ScenicBackground prefab. Once that was corrected, it properly covered the screen. I also began making it softer and less distracting so it feels like distant scenery instead of part of the playable foreground.
Then I accidentally discovered parallax.
The background started moving subtly with the player, but its framing, scale and the amount of the image visible appeared to change between different Play sessions. Rather than burying that strange behavior at the end of this episode, we’ll investigate and fix it properly in the next one.
Source code:
https://github.com/tajbuild/Gemio
#Unity #GameDev #IndieGame #Unity2D #Devlog