6 Commits

Author SHA1 Message Date
eef51968e7 docs: Update platformer tutorial to latest Flame (#2904)
Updates the  platformer tutorial to Flame v1.11.0
2023-12-08 16:19:09 -03:00
10df590cc9 fix: Adjust platformer tutorial steps (#2845)
This small PR adjusts:
1. some `backticks` (`) in the platformer tutorial in order to have a
proper highlight of the file names.
2. replaces backslash (`\`) with slash (`/`) in order to be consistent
with the other file paths used in the tutorial.
3. renames the variable `_xOffset` to `xOffset` in order to be
consistent with the rest of the code.

Co-authored-by: Rodrigo Castro <rodrigo.desouzacastro@bahag.com>
2023-11-07 21:06:06 +01:00
91fc18b1be docs: Enhance "adding the scrolling" section (#2559)
The update method should end up with the code in this order, otherwise the velocity is never set to 0.

Probably obvious but the rest of the steps were precise on where to include these code blocks.

May wanna add this full block to the end of this step as well, I spent a few minutes trying to figure out why it wasn't working propely.
2023-05-31 18:09:57 +00:00
2d45d2be39 chore: Remove 1.8.0 deprecations (#2538)
Removes all the deprecated methods before 1.8.0 release.
2023-05-22 19:01:55 +02:00
f6593e7a94 docs: References to "your class" to use class name (#2243) 2022-12-27 11:27:40 +01:00
6938c860a0 docs: Platform tutorial (#2105)
This adds a platformer tutorial called Ember Quest. I hope I have done a service, because I am tired, lol. I am sure there will be comments. I just want to say, I did my best. I approached this as someone new to Flame, just like I was about 10 months ago. Are there concepts that can be improved, sure. We can always optimize code, but I didn't want any concepts to be super abstract. I had never coded a game before when I began my journey with Flame this year, so things might be a bit simple for experienced game developers, but for myself, I had never even thought about a game loop or animations, etc.
2022-10-29 19:59:51 +01:00