Hi,I've been writing a little game (a bejewelled clone) in Shoes using Windows 
XP. I want to pause the app at certain points during the resolution of a move 
in order to create a crude animation so that the player can see what is 
happening. However, if I try to use Kernel.pause in the main code of the game 
(outside of the Shoes.app block), Shoes doesn't work any more (it starts but 
never pops up a window). If I use pause inside the Shoes.app block, it works 
fine. If I define a method inside the Shoes.app block to pause, then call it 
from outside, it pauses but then never unpauses (even though I have given a 
parameter to the pause method). Is there any way to pause the app from outside 
the Shoes.app block? I have attached the .rb file in case that helps (I was 
hoping to pause for 0.1 seconds or so inside conditional of the "compact 
pieces" method, for example). Thanks for any advice. --Ryan
_________________________________________________________________
Windows Live Messenger treats you to 30 free emoticons - Bees, cows, tigers and 
more!
http://livelife.ninemsn.com.au/article.aspx?id=567534

Attachment: jewell.rb
Description: Binary data



Reply via email to