Skorecery Spells —Trying new things

Skorecery is a local multiplayer sports-like game that I’ve been working on. Recently we’ve been experimenting with gameplay. Here’s how!

Ben
Jan 19, 2018 · 3 min read

Hi! Over the last few months I’ve been working on Skorecery, a local multiplayer sports-like video game built around an exciting magic and mysticism theme. It’s been a super great project to be involved in, and the team and I are super excited to share with the world! ✨

Over the last few weeks I’ve been thinking through our spell systems, and how we can experiment with gameplay mechanics to make our magical powerups a bit more unique. As an experiment, I prototyped collectable spells! The idea is pretty simple — take some existing (and in progress) spells and let players pick them up in the game environment rather than just selecting them at game start.


We wanted a simple system to leverage our existing spells in a new and exciting way. Since I have a burning desire to open source all the things I do, I first wrote a basic framework for 2d/3d collectables in a game environment. That lives here.

Once that was pretty stable, I was able to pull that system into the Skorecery codebase, and add some Skorecery specific derivations (like a custom Collector, and a custom Collectable). This got things up and running pretty quickly, with a basic collectable implementation within Skorecery. 🎉

Once we had these components coded up, I defined some collectable spawn points (that we’ll probably want to change in the future) in our level, devised some crude collectable visuals, and wired up the player to have the components correctly configured.

Players wired up, 4 collectable spawn points configured

The only thing left was to handle rewiring our existing spell system to swap the spell selected by the player at game start for the collected spell, when it’s picked up. To do this, we’re just storing the old spell as a disabled component on the Player, and adding this new collected spell component. Once the collected spell is used, we undo this change.


Along the way, there were a few systems in Skorecery that needed some tune-ups to support the kind of flexibility needed to have a successful collectables system. I’ll briefly list those changes here:

  • Added a concept of “spell triggered and completed” to our spell system
  • Prototyped a speed spell that makes the player fast for a duration
  • Hardened spell trigger code to prevent errors during the collectable swap
The new speed spell kicking in when a player uses the spell (after getting the collectable)

I think spell collectables could be really promising, but I want to stress that it’s just an experiment at this point! I hope this can shed some light as to how we think about testing (and quickly prototyping) gameplay ideas for experimental purposes at Grapplehook Games. If you’re looking to build a collectable system, definitely check out our open source library to get things started, and feel free to ask us questions! If this kind of thing is interesting to you, follow me on twitter!🚀

Ben

Written by

Ben

I make awesome things | currently @microsoft (@azure) and @coplayfm | sometimes I hang with @msftgarage

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade