This is a example/system of casting runic magic for RPGs. My inspiration to do such a thing were games from "Ultima" universe and "Arx Fatalis". This is more like the last one.
If player want to cast a spell he needs to draw (using mouse) proper sequence of runes. In this example i made 6 different runes which gives 9 spells. (3 fire spells, 3 ice spells, 3 poison spells)
With this system you can make
Take a look for demonstration here:
http://www.mediafire.com/download/07kxktzwt8ht092/Runic_Magic_v110.exe
End User Licence Agreement (EULA).
magicCircleRadius, magicCircleXpos and magicCircleYpos are by default scaling with view port instead of view in room. That way magic circle can be drawn in games where view is rotating or scaling.
checking collision between mouse and circle points is now done by windows_get_mouse_x(), windows_get_mouse_y() instead of mouse_x, mouse_y It fixes bug with drawing runes when view_xview or view_yview are not equal to 0.
A new example is added, Top-Down game example.