You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
click the button to pause the game , but when the game paused , you click any where in on the stage, the trace() always fire
package test
{
import org.flixel.*;
public class Bug extends FlxState
{
override public function create():void
{
super.create()
this.add( new FlxButton(100,100,"TESTTESTTEST",onClick))
}
override public function update():void
{
if(FlxG.paused)return
super.update()
}
private function onClick():void
{
FlxG.paused = true
trace("what's wrong Huh?Huh???")
}
}
}
The text was updated successfully, but these errors were encountered:
click the button to pause the game , but when the game paused , you click any where in on the stage, the trace() always fire
package test
{
import org.flixel.*;
public class Bug extends FlxState
{
override public function create():void
{
super.create()
this.add( new FlxButton(100,100,"TESTTESTTEST",onClick))
}
override public function update():void
{
if(FlxG.paused)return
super.update()
}
private function onClick():void
{
FlxG.paused = true
trace("what's wrong Huh?Huh???")
}
}
}
The text was updated successfully, but these errors were encountered: