Talk:EZPlatformer (Flixel)

Can anyone help me with this one?

I've copied the code word for word right up till the first test (just after building the level) at first I did it properly but second time round I tried copying the source code. I've placed the library in the right spot, pointed to it accurately and for some reason it still cant find FlxGame.as3 when I run it. Snagged here, might be somethin stupid (almost always is) but if you can help it would be much appreciated :)

Picture of the code for those who dont beleive me:P (fav.me/d4p56t9)

Thanks,

- Andy

There's an extra step to tell FlashDevelop that the directory you've got there is an actual directory it should pay attention to when it's compiling stuff (lib is not, by default, one of those directories). I haven't tried it, but it looks like you should just be able to right-click the 'lib' folder and select "Add Source Path". If that fails, go to Project->Properties->Classpaths and add the flixel directory there. You might have to play with the actual path you use in order to get it to work right, but that's essentially how you tell FlashDevelop to find these things. --Atiaxi 18:20, 23 February 2012 (PST)

Aaah! That works :D Thank you so much, it can now find it but its giving me errors with flxGame now, which is a problem. Something about being unable to transcode;

C:\Documents and Settings\Andy\desktop\FlexGames\EZPlatformer\lib\org\flixel\FlxGame.as(33): col: 4: Error: transcoding parameter 'embedAsCFF' is not supported by 'flex2.compiler.media.FontTranscoder'

[Embed(source="data/nokiafc22.ttf",fontFamily="system",embedAsCFF="false")] protected var junk:String;

I had just drag n dropped the librarys into the project. Guess it was looking for a bit more lol Let me know if you know anything about these errors but i'll try and solve it myself when I get some time. First guess would be version problems with the compiler but i'll do more digging on that later. Thanks again :)