Inspiration
With Spell-Casting Obby, I was keen to give creators a tool for making something that could stand out from other Obbys on the platform.
Making use of the new gesture api for mobile, I allow creators to define spells that will affect both the player and the world of their Obby.
What it does
The spell casting system is accesible through the spell book icon in the bottom right.
Once opened, the user is show four directional arrows, each corresponding to a different element.
Swiping in each direction will queue up that element into the spell. Once three elements are queued, a lookup is performed to see if the spell exists.
Assuming the spell DOES exist, an event is fired, and the rest of the world is listening to action these spells.
How we built it
In this world we have implementations of a number of different spells, trying to show off the breadth of interactions that a creator might want to implement.
Jump/Launch: The Launch spell applies a force to the user, propelling them in a direction defined by the stone cross they are stood on. This spell could be modified to use the players position/direction and be castable from anywhere if desired.
Grow/Shrink: These spells allow the user to change the size of their avatar, allowing them to access small spaces or secret areas they might have otherwise not been able to reach.
Magic Bridge: This is an example of a spell revealing a part of the map that was otherwise hidden. In this example, the reveal is per-user, however this means collision is not affected.
A creator could easily tweak this spell to be a global effect, and therefore it could also affect collision.
Vine Chop: Almost the opposite of magic bridge, this spell removes the visibility and collision of a mesh. As a trade-off for being global, this spell includes a timeout element, after which the visibility and collision revert to true.
** Low Gravity** This spell affects the players gravity for a specific set of time. While not demonstrated in the best way in this map, there are many potential uses of this spell if maybe requiring users to float between far apart platforms, or maybe the same concept could be used to alter other player properties, such as speed.
Other small features that are a bit unrelated:
There is a simple checkpoint system implemented to avoid long runs back if you fall.
Also a charming little set of musical stairs!
Challenges we ran into
As players could end up quite stuck if they did not know the correct spell, sign posts have been placed liberally throughout the course, however this could remove some of the fun and challenge for a REAL obby.
Therefore users might want to find other ways of players being able to remember/learn spells.
- Maybe an AI NPC they could ask for hints.
- Maybe a list of "recent spells" that shows up when the spell book is opened.
What's next for Spell Casting Obby : Remix World
- More spells!
- "Recently cast" spell list
- Separation of spell config from spell script (into a text asset)




Log in or sign up for Devpost to join the conversation.