actionscript 3 - Action Script 3 - how to pass variables through multiple scenes -


i using flash cs6 , making game in squares falling down randomly , have wall controlled mouse. every square dodge 10 points added score. if squares touch wall go scene called "the end" scene in scene display score player. want pass score variable scene. have tried googling lot of times couldn't help. hope guys. please help.

how go next scene:

if (wall.hittestobject(square)) { gotoandstop(1, "the end"); } 

instead of using flash create games can game maker more efficient. can go website yoyogames.com


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -