Skip to content

Instantly share code, notes, and snippets.

View 0shine0's full-sized avatar
💭
In search of devil fruit

Swastik Garg 0shine0

💭
In search of devil fruit
  • Google
  • Bangalore, India
View GitHub Profile
@0shine0
0shine0 / CombatSystem.md
Last active August 28, 2017 12:27
Combat System(GSoC 2017 wrap up)

Introduction

For GSoC 2017 my project was to add the functionality of combat in Terasology. Terasology uses the module structure to enable the modders to extend the main gameplay with their own added functionality. Similarly, I also worked with my own module CombatSystem, to create basic weapons, attacks and traps for the game. My project aims at improving the combat gameplay of Terasology by introducing various weapons including but not limited to bows, arrows, spear, sword, fireball, defence towers, mines, sniper and trap rooms. Moreover, the content was created in such a way that it would enable modders to create their own unique weapons by picking up properties of various weapons and grouping them together. For example, a modder could easily create a sniper that shoots arrows or fireballs instead of bullets or a spear that bounces or explodes off surfaces instead of piercing. The modder could do all mentioned above and much more with no more than 10-20 lines of text (could mention it as code but modder