top of page
Search
  • Writer's pictureYilin Wang

A dog’s purpose

Description of the Game

In this game, the guest will play the role as the dog. The dog is supposed to herd the sheep to get grass and let the wolves stay away from the sheep. The dog can bark to guide the sheep, use sausage to attract the wolf and fight wolves to stop wolves from chasing the sheep. (Links to the complete game play: https://drive.google.com/file/d/1fID_xR2hOHN1Dxp0aDQATc7g0gmg10bt/view?usp=sharing

)

Sheep in the game

Dog in this game

Wolf in this game

What I have done in this game


I was a game logic programmer in this project. This project is developed in Unity and the project files were implemented with C# in an interdisciplinary team. In this project, I implemented the game UI, including the title page, the logic of the tutorial pages, the UI for sausage count and the health bars above wolves, sheep and the dog. I also implemented the dog picking up the sausage, dog dropping the sausage and the interactions between the sausage and the wolf

Challenges


(1) When I was writing the controller for the wolves, since there are several behaviors that the wolves can do, such as chasing the sheep, chasing the dog, fighting the dog, hurting the sheep and getting distracted by the sausage dropped by the dog. The logic was complicated so that I made a finite state machine to clarify and implemented the behavior logic of the wolves.

(2) I also learnt about the implementation of the health bar in this project.


44 views0 comments

Recent Posts

See All

Epic

Post: Blog2_Post
bottom of page