Updates Josharias Survival: Animal Interaction Improvements

meetcshah19

New Member
GSOC/TSOC 2020
Project progress and details: Trello
Project Proposal: Proposal

Overview:
The project is aimed at implementing a sheep shearing system in Josharias Survival and animal interaction improvements in Terasology. Currently, the only way to obtain wool in-game is by killing a sheep. A Sheep shearing mechanism will help the player obtain the wool item in-game. Apart from this various interaction elements such as flocking and luring animals will be introduced. These improvements are supposed to aid the player in the survival aspect of the game. Currently, animal spawning only works upon chunk loading. This will be improved by creating a new spawning mechanism for animals which will allow spawning during runtime of the game. These improvements will benefit all gameplay modes in Terasology.
 

meetcshah19

New Member
GSOC/TSOC 2020
Current project progress (PR):
  • Implemented an initial sheep shearing system.
  • A ShearableSheepComponent is attached as soon as a sheep is spawned (AnimalSpawnEvent).
  • ShearableSheepComponent stores number of hits/clicks on the sheep, whether it is sheared or not and the last shearing time.
  • Once a sheep is sheared, hair regrowth is triggered after a certain amount of time. This is checked periodically using delay manager.
 

meetcshah19

New Member
GSOC/TSOC 2020
Meeting discussion points:
  • General discussion on project progress tracking
  • Commit and push often
  • Figure out architecture of the shearing system and how general it needs to be
  • Figure out where the sheep shearing system should live (as in which module)
  • Implement model switch poc then think decide whether it needs to be made available to other modules and how
 
Top