Contact Info / Websites

All 2 game Reviews


Flixel-Tutorial #1 Flixel-Tutorial #1

Rated 3.5 / 5 stars

Chapter 2: I didn't know what to do with the "add(background);" i added it like this

new FlxSprite(0, 0, Sources.ImgBackground);
add(background);

Then Pressed F5 and i got "col: 8 Error: Access of undefined property background.
add(background);"

And i see in the comments allot off people have the same issue ... Or are stuck on chapter 2 too.

Rest off the Tutorial was fine and smooth to follow ;)


Schulles responds:

Well, everything is correct with that code, but you forget the "var background:FlxSprite = "in front of "new FlxSprite(...)". :) Should be fine then! Thanks for the nice feedback and good luck!

Should look like that:
var background:FlxSprite = new FlxSprite(0, 0, Sources.ImgBackground);
add(background);

The next tutorial will be more precise and also will make the whole changed code available after every chapter. I am currently working on it, could already be released next week, be sure to check it out if you liked #1!


&amp;lt;lightBot 2.0&amp;gt; <lightBot 2.0>

Rated 5 / 5 stars

Sweet flash/project .
Nice script and Animations !!!