Chapter 2: I didn't know what to do with the "add(background);" i added it like this
new FlxSprite(0, 0, Sources.ImgBackground);
Then Pressed F5 and i got "col: 8 Error: Access of undefined property 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 ;)
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);
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!
Sweet flash/project .
Nice script and Animations !!!
newgrounds.com — Your #1 online entertainment & artist community! All your base are belong to us.