Help with FP Console


(Jake Rieger) #1

I have enabled the console in my AS3 project like so:

public function Main():void 
{
	super(640, 480, 60, false);
	FP.console.enable();
}

But when I press tilde, the hitbox stuff doesn’t show up. Nothing happens. I’m using FlashPunk 1.7.0 and FlashDevelop 4.4.3 RTM with Flex Sdk 4.6

I’m following this tutorial series: http://www.youtube.com/watch?v=_fgzzPA5TH4


(Jacob Albano) #2

It’s possible that Flash doesn’t recognize your tilde key; a friend of mine had this problem on his Mac running bootcamp. Try setting it to something else:

public function Main():void 
{
    super(640, 480, 60, false);
    FP.console.enable();
    FP.console.toggleKey = Key.F1;
}

(Jake Rieger) #3

I probably should have added I’m using bootcamp. Thanks for the help.


(Jacob Albano) #4

No worries! It’s not something that makes sense to mention since Flash is pretty platform-agnostic.


(I'll tell you what I want, what I really really want) #5

that just saved me what seemed like a lot of time :slight_smile: thanks Jacob