#9 | 25-07-24 | Improved Spawning
Hello!
Todays task is improving the target spawning mechanic.
This required modification of two scripts, TargetMovement and TargetSpawning.
In the TargetSpawning script, I created two functions to handle spawning targets on either the left or right side of the screen. These two functions are called by a coroutine in a loop with a delay.
When the target is spawned, it will move either left or right depending on the value of two booleans: moveLeft, moveRight. The boolean's value is set by the spawning script when the target is spawned into the scene.
And now, more targets can spawn from both sides.
I also heavily modified the TimeCounter script to make the end of the game smooth and not an abrupt stop. This required modifying referencing the TargetSpawning and PlayerShooting scripts to disable the target spawning and player shooting mechanics.
Now the end is much smoother.
With these these tasks finished, the next task will be creating nicer placeholder graphics.
Thanks for reading!
Get Hit That Target!
Hit That Target!
Top down 2D target shooter!
Status | Released |
Author | Ice Diamond Studio |
More posts
- #21 | 11-08-24 | PostmortemAug 12, 2024
- #20 | 11-08-24 | Project EndAug 12, 2024
- #19 | 11-08-24 | Planner & GDDAug 12, 2024
- #18 | 06-08-24 | Beta BuildAug 06, 2024
- #17 | 06-08-24 | Improved GraphicsAug 06, 2024
- #16 | 05-08-24 | Extra ScenesAug 05, 2024
- #15 | 05-08-24 | Multiple TargetsAug 05, 2024
- #14 | 31-07-24 | High ScoreAug 01, 2024
- #13 | 29-07-24 | Planner & GDDJul 30, 2024
- #12 | 28-07-24 | Alpha BuildJul 28, 2024
Leave a comment
Log in with itch.io to leave a comment.