Semester A: Week 1- Week 10
Student: Tai Ser Yeet (22064351)
Programme: Bachelor of Digital Media Design
Task: Week 10's Class Task
WEEK 10
Discussion on the Three Minigames
In class, Josh broke down the mechanics needed for each of the minigames.
First Attempt on Fish Minigame

Spawning Objects
This week, I worked on creating our very first minigame which was a fishing activity where the players would need to catch as many fishes as they can within a certain time frame. In class, Josh broke down the mechanics needed for the game which would be the spawning of the fish, a collision between actors, and a score system.
To create this function, I referenced a few YouTube tutorials.
Flappy Bird 2D Game
Process of Creating Fishing Game
I started by importing a sample image as the fish's background as a material.
I then created a plane that stands upright to serve as the backdrop. Later, I imported my BigFish actor into the level.
In the construction script, I used the interp to movement function to make the fish move from the left to right position.
Issues I Have Encountered
The blueprint I referenced from this video was not working for some reason.
During Josh's class, he provides a small portion of the code to spawn the fishes in a loop using the make transform, for loop, and spawn actor functions.
| Spawning Objects |
This week, I worked on creating our very first minigame which was a fishing activity where the players would need to catch as many fishes as they can within a certain time frame. In class, Josh broke down the mechanics needed for the game which would be the spawning of the fish, a collision between actors, and a score system.
To create this function, I referenced a few YouTube tutorials.
Flappy Bird 2D Game
Process of Creating Fishing Game
I started by importing a sample image as the fish's background as a material.
I then created a plane that stands upright to serve as the backdrop. Later, I imported my BigFish actor into the level.
Issues I Have Encountered
Second Attempt on Fish Minigame
When my attempt at spawning the fishes at different heights was unsuccessful, I went to Josh and he suggested that I try the widget blueprint function instead of using an actual level. This way, you can call for the game anywhere. In class, he guided me through the process of creating this widget blueprint which included the big fish animation that goes from left to right and spawning them back at the start location. Not only that, we also went through with making the function of casting the fishing line. It was definitely much easier to understand when I opted for the user interface widget as compared to using a plane to input the image and have the game stand on its own in a level. Since we did not have enough time to figure out the random spawning of the fishes, I was left to do it on my own together and do a similar job with the small fishes too.
Issues I Have Encountered
I tried solving the sample code that Josh gave but it was not working at all. The worst part was that the next physical class with Josh was going to be on the 8th of January 2024. To make matters worse, the tutorials made for 2D games in Unreal were very scarce.
When my attempt at spawning the fishes at different heights was unsuccessful, I went to Josh and he suggested that I try the widget blueprint function instead of using an actual level. This way, you can call for the game anywhere. In class, he guided me through the process of creating this widget blueprint which included the big fish animation that goes from left to right and spawning them back at the start location. Not only that, we also went through with making the function of casting the fishing line. It was definitely much easier to understand when I opted for the user interface widget as compared to using a plane to input the image and have the game stand on its own in a level. Since we did not have enough time to figure out the random spawning of the fishes, I was left to do it on my own together and do a similar job with the small fishes too.
I tried solving the sample code that Josh gave but it was not working at all. The worst part was that the next physical class with Josh was going to be on the 8th of January 2024. To make matters worse, the tutorials made for 2D games in Unreal were very scarce.

.png)
.png)
.png)
.png)