Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

AOE Spells

AOE Spells

ricvalerio
ricvalerio
ricvalerio · · 1 min read
3,046 0

While the spell system has been in the game for a long time, it has been mostly in a very primitive form. The introduction of factions allowed me to clearly define who is a friend and who is a foe. That had an immediate impact in the spells, because now I can make rules of who can be the target of the spells, so I can now declare that it can affect "allies", "enemies", or both. From here, I continued with the momentum of working on the spells, and added spells wit an area of effect.

To do that, I had to split the task into a few different subtasks, and the most interesting part was in fact making the system that applies the effect on the targets that step into the area of effect. It turned out to be quite simple, but nevertheless a very effective way to create an area of effect. As for the clients, they only receive enough information to show a visual representation.

Now I want to add more effect types, like for example slowing, freezing, disorienting, stun, etc.

As usual, I will be doing a video on this development and post it on my devlog on YouTube, at https://www.youtube.com/channel/UCyOt8sPTqNxRseUzpzUEQQg



Discussion

Loading comments...