Programmieren » Scheme » Creating a Flash platform game with Flixel and Flex - Jet pack (ID 26221)
| Sprache: Englisch | |
| Skill: | |
| Rating: | |
| Beschreibung: All movement in Flixel can be described in terms of velocity and acceleration. Moving left and right is a matter of setting the acceleration in the x axis to some none zero value. Falling is done by setting the acceleration in y axis to a positive number. Jumping is a little different: it is implemented by subtracting a value (because to move up on the screen means a decrease in the y coordinates) from the velocity in the y axis, giving the player an instant push upward (this is referred to as an Impulse in Newtonian physics). | |
Zurück - Tutorial bewerten - Skill bewerten - Tutorial übersetzen - Link defekt!?

