Games Development: Task 3 Game Prototype
14/11/2024 - 17/12/2024 / Week 8 - Week 13
Janice Marie Eng Chia Hui /0361521
Games Development/Bachelor of Design in Creative Media / Taylor's University
Games Development: Task 3 Game Prototype
Janice Marie Eng Chia Hui /0361521
Games Development/Bachelor of Design in Creative Media / Taylor's University
Games Development: Task 3 Game Prototype
Table of Contents:
Instructions
Task
//Blog was updated really late cause i forgor
To-Do list:
- Player (Floss) AI:
- Player Movement (Walk, Jump)
- Player short-range attack
- Player Long range attack
- Player Dies
- Player Hurt
- Final Boss(Bristle) AI:
- Boss Hurt
- Boss Dies
- Boss Attack
- Hitbox for the layer to hit so that they can kill the final box
- Enemy AI:
- Mom Patrol
- Dad Patrol
- Mom Attack (Short range) (asset not yet placed in)
- Dad Attack (Long range)
- Mom Dies
- Dad Dies
- Traps:
- SpringBoard
- Spikes (no instant die)
- Death Spikes (Instant Die)
- Projectiles
- Collectable Items:
- Hearts
- Tooths
- Darts
- Photo
- Checkpoints
- Tilesets & Backgorund:
- Putting the tile asset in
- Placing the background image in
- Game UI:
- Start Menu Screen
- Story Introduction Screen
- Conclusion Screen
- Dialogue Box (to explain the story in-game)
- Pause Screen
- YOU HAVE DIED Screen
- Things to track things (IDK what to call it)
- Player HP
- Player Dart charge
- Tooth Counter
- Enemy HP
- Final Boss HP bar
- Linking Scenes
- The portal is at the end of the level to teleport the player to the next level.
- Restart the scene when the player dies
- Respawn at last saved checkpoint
Level Design
The first thing I did was put something down on the empty screen. So I just placed blocks down for the level until I had something ok. I followed the logic stated in this video to make the game.
Traps
Projectile Launcher
For this one, I followed this video tutorial on how to make a launcher that spawns and launches the projectile at intervals.
Figure 1.1 Projectile Launcher (13/1/25)
Spikes and DeathSpikes
I have 2 types of spikes:
- The normal spikes will take away 20% of the player's HP
- The death spike will insta kill the player
For the normal spike, I just edited the code given by Sir during our tutorial classes. I tagged my spike with the tag spike and said if the player collides with the spike, it will minus the player's hp by 20.
For the DeathSpikes, I just made another tag, tagged the object with it and said if on collision with the tag, the player's hp will be reduced by 101 (my player's max hp is 100).
I made a springboard that can help boost the player high up. I followed this video to make it. It worked out fine.
Figure 1.3 From left, death spikes, springboard and normal spikes (13/1/25)
Enemy AI
Enemy patroling
My enemies will be walking at a fixed distance.
- For the mom, her patrol area will be larger as she has short-range attack and having a larger patrol area can increase her hit zone.
- For the dad, his patrol area will be smaller than the mom's by a lot as he is a long range attacker. His lack of patrol area can be made up by his longer range.
For the patroling code, I followed this video tutorial.
Figure 2.1 Final Outcome of enemy patrolling (13/1/25)
Enemy Attacks
There will be 2 types of enemy attacks:
- Hit by a butterfly net, a short-range attack, done by the mother
- Hit by a bullet, a long-range attack, was done by the father.
The mother's attack was fairly simple to do. Back in out tutorial classes, we were taught how to make the player attack people with the animator in Unity. So I applied the same logic to the mother. I gave her a slash point and played the animation to set it active when the player collides with the mother's trigger point.
For the dad, his attack was harder to make cause he needed to spawn the bullet. For this one, I followed this video tutorial to make it work. Again, I just made it so that if the player enters the collider of the dad, the code to spawn the bullet and shoot will play.
Figure 2.2 (Left) Dad Attack (right) Mom attack (13/1/25)
Tilemap
I was told about the tile palate function in unity. One of my friends, Joey, sent me a video on how to use it. So I followed it. I also created a new layout for the tiles so that it can be used in the palate.
Figure 3.1 Level 1 tileset (13/1/25)
Figure 3.2 Level 2 Tileset (13/1/25)
Figure 3.3 Level 3 Tileset (13/1/25)
Final Submission
Google Drive Link
Presentation Plus Walktru (timestamps in description)
Feedback
NA
Reflection
I don't think I managed my time well for this module. That or I my plans were too big.


.png)












Comments
Post a Comment