Page 1 of 1

Delete this post please

Posted: Sat Jan 11, 2014 2:59 pm
by star0629
i want to delete this post

Re: Splash screen to pause the game

Posted: Sat Jan 11, 2014 5:33 pm
by magice
I would just use an image and buttons on the same card, and adjust the "visible" of those objects to true/false as needed. The tricky part will be actually pausing the game play.

Re: Splash screen to pause the game

Posted: Sat Jan 11, 2014 6:44 pm
by dunbarx
Hi.

Or, (not sure how your game is built) couldn't you store the current state of the objects of interest in a custom property, and then restore them when you navigate back?

Craig Newman

Re: Splash screen to pause the game

Posted: Sun Jan 12, 2014 2:55 am
by Simon
Hi star0629,
If you used the "move" command you can use "stop moving", I haven't used the move command again but it's supposed to continue on from where it left off I think.
But many games use a "frame rate" to control the movement of the objects, simply

Code: Select all

on takeOff
set the top of image "rocketShip" to the top of image "rocketShip" -1
send takeOff to me in 10 milliseconds -- this is the frame rate
end takeOff
if you cancel the pending messages then the rocketShip will stop and remain in it's current position until takeOff is sent again. You can have multiple objects moving in that script in different directions and different speeds.
Using magice's method with this will work well.

Simon