Basic platformer 800 600 60 10 false GDevelop JS platform BuiltinCommonInstructions::Comment The "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::Comment Change the animation according to what the player do. On change l'animation en fonction de ce que fait le joueur. BuiltinCommonInstructions::Standard Player PlatformerObject Player = 1 BuiltinCommonInstructions::Standard Player PlatformerObject Player = 1 BuiltinCommonInstructions::Standard Player PlatformerObject BuiltinCommonInstructions::Standard Player PlatformerObject Player = 0 BuiltinCommonInstructions::Standard Player PlatformerObject Player = 2 BuiltinCommonInstructions::Standard Left Player yes BuiltinCommonInstructions::Standard Right Player no BuiltinCommonInstructions::Comment Make sure the camera follows the player. On s'assure que la caméra suit le joueur. BuiltinCommonInstructions::Standard = Player.X() BuiltinCommonInstructions::Comment Management of the moving platform: Gestion de la plateforme bougeante: BuiltinCommonInstructions::Standard GoLeft GoRight BuiltinCommonInstructions::Standard GoLeft MovingPlatform MovingPlatform MovingPlatform -150 0 1 BuiltinCommonInstructions::Standard GoRight MovingPlatform MovingPlatform MovingPlatform 150 0 1