Basic platformer8006006010falseGDevelop JS platformBuiltinCommonInstructions::CommentThe "Player" object has an automatism called "Platformer object":
You can move it using the arrows key and the Shift key to jump.
The platforms are recognized thanks to their "Platform" automatism.L'objet "Player" possède un automatisme appelé "Personnage déplaçable sur les plateformes":
Vous pouvez le bouger avec les flèches directionnelles et utiliser la touche Shift ( ou Maj ) pour sauter.
Les plateformes ont toutes un automatisme "Plateforme" afin d'être reconnues comme telles.BuiltinCommonInstructions::CommentChange the animation according to what the player do.On change l'animation en fonction de ce que fait le joueur.BuiltinCommonInstructions::StandardPlayerPlatformerObjectPlayer=1BuiltinCommonInstructions::StandardPlayerPlatformerObjectPlayer=1BuiltinCommonInstructions::StandardPlayerPlatformerObjectBuiltinCommonInstructions::StandardPlayerPlatformerObjectPlayer=0BuiltinCommonInstructions::StandardPlayerPlatformerObjectPlayer=2BuiltinCommonInstructions::StandardLeftPlayeryesBuiltinCommonInstructions::StandardRightPlayernoBuiltinCommonInstructions::StandardPlayerhat=Player.PointX(hat)=Player.PointY(hat)shoe1=Player.PointX(shoe1)=Player.PointY(shoe1)shoe2=Player.PointX(shoe2)=Player.PointY(shoe2)BuiltinCommonInstructions::StandardPlayerhat=Player.PointX(hat)-3=Player.PointY(hat)shoe1=Player.PointX(shoe1)=Player.PointY(shoe1)shoe2=Player.PointX(shoe2)=Player.PointY(shoe2)BuiltinCommonInstructions::CommentMake sure the camera follows the player.On s'assure que la caméra suit le joueur.BuiltinCommonInstructions::Standard=Player.X()BuiltinCommonInstructions::CommentManagement of the moving platform:Gestion de la plateforme bougeante:BuiltinCommonInstructions::StandardGoLeftGoRightBuiltinCommonInstructions::StandardGoLeftMovingPlatformMovingPlatformMovingPlatform-15001BuiltinCommonInstructions::StandardGoRightMovingPlatformMovingPlatformMovingPlatform15001