Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )
Yes, you can make these and many more. From what I've seen on the videos, the only thing you can't do through scripting at this time is water. You'll need to hack the game if you want it, or stick with the old version.
what if the gravity script command could receive one value to control gravity strength? that combined with set_player_xspeed and set_player_yspeed could be the starting point for water physics.
but the water side effects (like air limited to 30 seconds, stopping the countdown when leaving the water or breathing from a separate bubble object) would require the use of on_timeout. i can think of a way to use objects with the sprites of the numbers to give the countdown and kill the player.
one parent object, maybe "Water Master"
this only operates if player is in the water. otherwise is idle.
this one has 31 states, sorted from 31 to 0 . the first 27 states are just meant to play a "tick" sound and change to the next state after a 1 second timeout.
states 3, 2 and 1would also show a graphic with the number of seconds remaining, and number 3 would start the "air out" music. no ticks here.
number 0 obviously kills the player. child bubbles can be added to make drowning more believable.