USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 9/27/09 01:34 PM
Sign-Up: 08/04/09
Posts: 253
what is the code to make pause in the flash game ??
Posted at: 9/27/09 01:40 PM
Sign-Up: 08/10/05
Posts: 6,027
There is no 'pause code'. Use a boolean variable.
var pause : Boolean = false; function enterframe(e : Event) { if(!pause) { // Code } }
And add a keylistener or whatever to get whether the pause key is pressed, and set the pause variable accordingly.
Portfolio(Under construction): UnknownFury.com | Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com Follow me on twitter!
Posted at: 9/27/09 02:32 PM
At 9/27/09 01:34 PM, bocodamondo wrote: what is the code to make pause in the flash game ??
AWESOME thanks :D i gonne try now
All times are Eastern Standard Time (GMT -5) | Current Time: 07:22 PM
<< Back