My name is Ed. I'm 34 married with children. I am not all to familiar with coding, but I want to learn and I have heard that this game gives you a little help with the interface. I'm just not sure what all the functions do and what I am able to produce with said functions. For example, and this is just hypothetical... Can a spell be made that will explode and push away on impact, and then teleport player to place of impact? Any ideas or examples so I can lessen the learning curve would be great. I want to learn the ins and outs of the game so I can teach my children how to play. I am always curious to see what their imaginations allow. Thanks in advance, and I hope to see you all once multiplayer is released.
Hi there 3vil_M0nk3y, I'm a relatively new user myself and only started using Code Spells yesterday as well but from what i've seen of other peoples created spells the game uses a very robust and intricate system. For example, other people have created spells which take rock objects and bind them together into a kind of human shape to create a 'Rock Elemental' ally who can follow the player around etc
The actual game was created using Unity and (if im correct) it allows users whilst playing Code Spells to directly access parts of Unity and incorporate elements from Unity into their spells.
As an example, If i was creating a game using Unity where a small empty room had a lightbulb and a switch on the wall that turned the bulb on or off I would need to use some sort of 'Light Object'. That is a GameObject in unity which emits light.
If i take this example and make it relevant to Code Spells - Say we wanted to summon an orb which would emit light at night to allow us to see better in the dark (Most of the game spells use Orbs to shoot fireballs at enemies, or create a large orb surrounding the player to negate damage).
If we took an orb and attached a Unity - Light Object, using code we would have a spell which summons an orb emitting light.
By combining Code Spells objects and code to access Unity Objects we thus have access to a large variety of possible spells we can create, which is awesome!
As for your example, If you took the default supplied spell 'Teleport' and edited it to 'Explode on impact' then what would happen if when the player casts the spells the orb would hit a surface, explode in a fiery blaze and then teleport the player to that location.
If it helps, I've created a tutorial which taches you how to create a simple 'Levitation' spell. Im also going to create a video which explains how the game works, and what the Interface etc does (about to start working on that one now!).
Hope that answers your question, good luck and have fun
Hello, and welcome to the forums! There are a couple of Steam guides out right now that will teach some extreme basics, but most of us have learned primarily from looking at other people's spells and making modifications to them. I would suggest you look for relatively simple spells (I would avoid any that involve the Eval block or the evaluateUnityScript() function for now, those are advanced concepts and not officially supported), try them out, and then try changing them slightly to modify their effects. After that, you can use what you've learned to start branching out and making spells of your own, and eventually you'll be making spells you never even would have imagined before.