HaxeFlixel Tutorial Mistakes Errors and Other Problems

77 views
Skip to first unread message

ReleeSquirrel

unread,
Feb 15, 2015, 5:05:15 PM2/15/15
to haxef...@googlegroups.com
I've just recently started the HaxeFlixel tutorials located here: http://haxeflixel.com/documentation/tutorials/  and I've noticed some problems as I'm going along. I thought I'd list them here since I'm not sure how to contact the creator or maintainer of the tutorial.

1. On http://haxeflixel.com/documentation/part-iii-groundwork/ there is a bit of HTML showing in one of the code snippets. " super(X, Y, ?SimpleGraphic);<br> } " That line break needs a slash, so it doesn't show up and confuse the code.

2. On that same tutorial page, step 8, my FlashDevelop didn't automatically add the FlxAngle class to the import section of my code. There was nothing to suggest that was neccesary, but earlier on it suggested adding a different class manually if it didn't get added automatically. So, it should warn you here too.

3. On that same tutorial page, step 10 assumes that there is an update() function in the auto-generated code for the class, or at least it doesn't say anything about inserting one. I had to go to the source code linked at the bottom of the tutorial to figure out I needed to override the update function.

4. This is a small thing, but in that source code I mentioned, linked here: https://github.com/HaxeFlixel/flixel-tutorial/blob/Part-III/source/Player.hx  The FlxSprite class is imported twice.

5. On http://haxeflixel.com/documentation/part-iv-sprites-and-animation/  the line " the final step is to change our updateMovement function " uses a different name for the "movement" function from the previous tutorial page.

6. On that same tutorial page, step 3, it says that the player should return to a neutral pose after performing the animation, but when I run the tutorial program the character ends his animations with his legs apart in the walking pose. I checked the source code given for the example and it matches what I've got. Is anyone else having this problem? I fixed it by adding another frame to the animation, setting it back to the first one.

7. There's quite a bit more code in the example source than we're instructed to write by the tutorial. Particularly the draw override function stands out; is it neccesary? Why wasn't it included in the tutorial? Also there are more superfluous imports. The source code is here: https://github.com/HaxeFlixel/flixel-tutorial/blob/Part-IV/source/Player.hx

8. Here on http://haxeflixel.com/documentation/part-v-tiles-maps-and-collisions/ in step 5 we have a pair of lost strong HTML tags, and I'm pretty sure there should be double underscores where they are.

9. On the same page there's another misplaced line break HTML in step 7's code example.

10. On http://haxeflixel.com/documentation/part-vii-pickups/ in part 6 there's an em tag in the code sample where an underscore should be. " AssetPaths.coin<em>_png, "

11. On the same page in code sample 13 there's another em tag in the code " finishKill(</em>):Void ".

12. On http://haxeflixel.com/documentation/part-viii-enemies-and-basic-ai/ in the code for part 4 there are a bunch of HTML tags in the source code.

intRanged(0, 8) <em> 45; "

speed </em> .5, "

intRanged(1, 4);<br> } "

According to the source code those two em tags are supposed to be * multiplication operators, the break is just missing its slash.


That's as far as I'm going on the Tutorial today but it looks like there's more HTML in the further examples I skimmed over. I hope this forum post finds the right person!
Reply all
Reply to author
Forward
0 new messages