Module 4 - Simple Game


This week the farmer goes for a run. The goal was to create a simple game where the farmer runs away from constant hordes of chickens, aiming for those luscious health packs scattered across the farm. Initially I wanted to give the farmer a way to fight back using his infamous kick technique!  

(OOPS Trojan Chicken)

Unfortunately this proved to be a bit more complicated to implement (especially given my incredibly messy project), so I scrapped it, the farmer is a weakling!  

So I went ahead and created a basic health pack model (which I think came out really well, blender has really grown on me!)  

 

(I used some Sine interpolation to float it up and down, and simply changed the rotation over time for the spin.)

Finally, give the farmer a health bar, add in in all the spawning functionality (enemies and health packs), and lastly, stitch it all together.


It all comes together rather nicely! It's pretty basic but does the job. Note how the chickens on the left tend to wait in line, I believe this is a pathing error with my navmesh but I'm not 100% sure how to fix it. Instead just focus on the farmer!  

I had to get a bit creative with the farmers death as I'm not confident with particle systems, and I don't have much time to work on this this week, so uh… 


Yes, The Farmer ascends to the heavens upon defeat. Here's another gif that was pretty funny, I forgot to stop his run animation while ascending.  


Anyway, this was super fun! It's nice to see all these systems come together to form… something.

 

Thanks for reading :)

Leave a comment

Log in with itch.io to leave a comment.