101

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

Alexandre wrote:

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.

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

http://lh6.ggpht.com/_gJi00K0Dz8g/TIu75DnOuRI/AAAAAAAAAKU/9DxFsHBMbLs/s400/arvore.png

your game was really good, but please, avoid placing trees close to the walls sad

http://www.powersonic.com.br/downloads/gifs/sonic_32bits/sonicknucklesemeraldsma.gif

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

So-Nick wrote:

http://lh6.ggpht.com/_gJi00K0Dz8g/TIu75DnOuRI/AAAAAAAAAKU/9DxFsHBMbLs/s400/arvore.png

your game was really good, but please, avoid placing trees close to the walls sad

Make the zindex of those walls 0.1, Wrath. It should fix that.

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

KZR wrote:
Alexandre wrote:

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.

Water is a bit more complex than that. Perhaps you can make some sketches using the object system already, but in the end, it's best to have water built-in in the engine.

105

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

Alexandre wrote:

in the end, it's best to have water built-in in the engine

indeed. but i still believe that being able to change gravity strength would be a good feature in scripting. it could lead to very interesting effects, not only water. maybe a low gravity monitor that lets you jump higher and fall slower for a limited time. or a high gravity monitor that limits jumping and makes you fall faster

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

good example for engine open surge use! smile smile

Last edited by So-Nick (2010-09-16 20:11:20)

http://www.powersonic.com.br/downloads/gifs/sonic_32bits/sonicknucklesemeraldsma.gif

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

The download links posted here do not work. Please have a look and fix them at your earliest.

Re: Sonic and the Magical Stone (9-10-2010) - Download Demo : )

And here this topic pops up 3 years later. big_smile No I don't have this game, and I don't know if the user is active, but if he is then please fix us some new links. smile