Créer un jeu simple sur Scratch : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
 
(15 révisions intermédiaires par le même utilisateur non affichées)
Ligne 14 : Ligne 14 :
 
|Introduction=Scratch est un langage de programmation enfantin sous forme de blocs à empiler.
 
|Introduction=Scratch est un langage de programmation enfantin sous forme de blocs à empiler.
  
Nous allons voir quelques notions pour créer un jeu sur Scratch en réalisant un jeu se déroulant dans l'espace.
+
Nous allons voir quelques notions pour créer un jeu sur Scratch en réalisant un jeu de tir se déroulant dans l'espace.
 
 
'''Pitch de l'histoire :''' dans un univers où le Donuts est la valeur monétaire dominante, on dirige Captain Donuts, super-héros galactique devenu un homme mi Donut suite à une expérience ayant mal tournée. Désormais obligé de se nourrir exclusivement pour survivre, les autres ingrédients sont devenus mortels pour lui. Plus il mange de Donuts, plus il devient fort et gagne des supers-pouvoir, comme voler ou lancer des lasers "Donutales".
 
 
 
Depuis qu'il a obtenu ses pouvoirs, il parcourt l'univers pour combattre les injustices et venir en aides aux pauvres sans Donuts. Mais dans un contexte où le Donuts est au centre du monde, il est la proie de tous les syndicats du crimes avides de mettre la main sur tous ses Donuts.
 
 
 
 
 
  
 
Ce tutoriel peut servir en tant que trame d'atelier.<br />{{Info|Scratch se voulant avant tout simple à prendre en main, ses fonctions sont limités par rapport à d'autres langages de programmation, il ne faut donc pas être trop ambitieux. }}<br />
 
Ce tutoriel peut servir en tant que trame d'atelier.<br />{{Info|Scratch se voulant avant tout simple à prendre en main, ses fonctions sont limités par rapport à d'autres langages de programmation, il ne faut donc pas être trop ambitieux. }}<br />
Ligne 55 : Ligne 49 :
 
*Modifier ou peindre un décor.
 
*Modifier ou peindre un décor.
  
> Choisir les fonds d'écrans "Space" et "Galaxy"
+
> Choisir les fonds d'écrans "Space" et "Galaxy" (le nom des arrières-plans est en anglais dans Scratch".
  
 
<br />
 
<br />
Ligne 66 : Ligne 60 :
  
  
> Cliquer sur l'arrière-plan "galaxy". Il apparait alors à l'écran si ce n'étais pas déjà fait.
+
> Sélectionner les arrières-plan "stars" et "Space". Il apparait alors à l'écran si ce n'étais pas déjà fait.
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-24_at_14-21-25_Scratch_-_Untitled-14.png
+
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-30_at_10-49-31_Scratch_-_Les_aventures_du_Captain_Donuts.png
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 83 : Ligne 77 :
  
 
> Chercher dans la banque de données le Sprite appelé "Rocketship " en forme de vaisseau spatial en supprimant celui du chat.
 
> Chercher dans la banque de données le Sprite appelé "Rocketship " en forme de vaisseau spatial en supprimant celui du chat.
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-24_at_15-08-33_Scratch_-_Untitled-14.png
+
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-30_at_10-54-03_Scratch_-_Les_aventures_du_Captain_Donuts.png
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":0.13,"width":480,"height":855,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.25,"scaleY":1.25,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://rennesmetropole.dokit.app/images/3/33/Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-24_at_15-08-33_Scratch_-_Untitled-14.png","filters":[]},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":314,"top":929,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"1","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":1},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":36,"top":751,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"2","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":2},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":234,"top":569.97,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"3","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":3},{"type":"wfarrow2line","version":"3.5.0","originX":"center","originY":"center","left":380,"top":978.5,"width":100,"height":65,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":-50,"x2":50,"y1":-32.5,"y2":32.5,"x2a":37.59103447875057,"y2a":14.892684057686623,"x2b":28.871220869223947,"y2b":28.307781918496815},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":330,"top":946,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":430,"top":1011,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586}],"height":1069,"width":600}
 
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=Personnalisez le vaisseau spatial
 
|Step_Title=Personnalisez le vaisseau spatial
 +
|Step_Content=Nous allons maintenant voir comment personnaliser le vaisseau.
 +
 +
Sur la page de création de Scratch, appuyer sur "costumes". Cette page affiche l'ensemble des apparences différentes de la fusée, appelés "costumes" (1).
 +
 +
Il est aussi possible de peindre la fusée d'une couleur différente avec le pinceau ou le pot de peinture, de dessiner dessus, d'utiliser la gomme pour en enlever des bouts, de tracer des cubes ou des cercles (2), ou encore d'inverser sa position, de copier coller un élément, de mettre sur un plan du décor différent (3).
 +
 +
 +
>Nous allons ici ajouter un élément depuis la base de données de Scratch (4). Choisir un Sprite "Donut", il apparaît en tant que nouveau costume. Appuyez sur "copier" dans le costume du Donut et cliquer sur le premier costume de la navette, cliquer ici sur "coller" pour y faire apparaître le Donuts.
 +
 +
Avec l'outil de sélection en forme de pointeur de souris, entourer le Donut, et appuyer sur "grouper " pour fusionner tous les éléments le composant. Le déplacer ensuite sur le hublot de la fusée, de sorte à ce qu'il le recouvre entièrement.
 +
 +
Sélectionnez ensuite un Sprite astronaute appelé "Ripley" dans la base de données de Scratch, dont nous allons nous servir en tant que personnage pour incarner Captain Donut.
 +
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-30_at_10-55-38_Scratch_-_Les_aventures_du_Captain_Donuts.png
 +
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":0.02,"width":1894,"height":808,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.32,"scaleY":0.32,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://rennesmetropole.dokit.app/images/4/45/Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-30_at_10-55-38_Scratch_-_Les_aventures_du_Captain_Donuts.png","filters":[]},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":18,"top":73,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"1","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":1},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":92,"top":105,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"2","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":2},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":242,"top":11,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"3","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":3},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":98,"top":203,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"4","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":4},{"type":"wfarrow2line","version":"3.5.0","originX":"center","originY":"center","left":72,"top":214.5,"width":54,"height":1,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":27,"x2":-27,"y1":-0.5,"y2":0.5,"x2a":-6.855305721449208,"y2a":8.12832173048063,"x2b":-7.151551225545544,"y2b":-7.868935490721468},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":99,"top":214,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":45,"top":215,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586}],"height":256,"width":600}
 +
}}
 +
{{Tuto Step
 +
|Step_Title=Créer des barres de scores
 +
|Step_Content=Nous allons commencer par ajouter une barre de vie. Dans la base de données des Sprites, chercher un appelé "Heart" (1).
 +
 +
Réduire sa taille à 20 (2), et le déplacer sur le coin supérieur gauche de l'écran(3).
 +
 +
Nous allons ajouter une seconde barre avec le Sprites "Donut" qui représentera le nombre de Donuts accumulés dans le niveau. Le placer juste en dessous du cœur(4) après avoir réduit sa taille à 20.
 +
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-31_at_11-00-53_Scratch_-_Les_aventures_du_Captain_Donuts.png
 +
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.2,"width":497,"height":856,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.21,"scaleY":1.21,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://rennesmetropole.dokit.app/images/9/9e/Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-31_at_11-00-53_Scratch_-_Les_aventures_du_Captain_Donuts.png","filters":[]},{"type":"wfarrow2line","version":"3.5.0","originX":"center","originY":"center","left":384,"top":929.5,"width":86,"height":103,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":-43,"x2":43,"y1":-51.5,"y2":51.5,"x2a":36.32253766812891,"y2a":31.020461508948927,"x2b":24.040776593437432,"y2b":41.27513580432239},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":341,"top":878,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":427,"top":981,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":322,"top":860,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"1","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":1},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":252,"top":541,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"2","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":2},{"type":"wfrect","version":"3.5.0","originX":"center","originY":"center","left":252.15,"top":594.7,"width":127.79,"height":53.76,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":0,"ry":0},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":56,"top":80,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"3","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":3},{"type":"wfnumberedbullet","version":"3.5.0","originX":"left","originY":"top","left":59,"top":122,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"3.5.0","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"4","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":4}],"height":1033,"width":600}
 +
}}
 +
{{Tuto Step
 +
|Step_Title=Choisir des ingrédients pour le jeu
 +
|Step_Content=Nous allons choisir la liste des ingrédients qu'on pourra trouver dans le niveau.
 +
 +
On choisit d'abord un Donut dans la base des Sprites, puisque le seul que doit manger Captain Donuts.
 +
 +
On ajoute ensuite 3 autres ingrédients que le Captain devra éviter sous peine de perdre des PV.
 +
 +
Réduire la taille de tous les ingrédients à 50.
 +
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-31_at_11-36-12_Scratch_-_Les_aventures_du_Captain_Donuts.png
 +
}}
 +
{{Tuto Step
 +
|Step_Title=Choisir des ennemis
 +
|Step_Content=Nous allons maintenant ajouter des ennemis que l'on va croiser dans le niveau. Comme il s’agit d'un niveau se déroulant dans l'espace, penser à en ajouter qui flottent, comme  les fantômes ( "ghosts" ) ou les méduses ("jellyfish").
 +
 +
En ajouter trois différents.
 +
 +
Réduire leurs tailles à 70.
 +
|Step_Picture_00=Cr_er_un_jeu_simple_sur_Scratch_Screenshot_2023-08-31_at_11-46-39_Scratch_-_Les_aventures_du_Captain_Donuts.png
 
}}
 
}}
 
{{Notes}}
 
{{Notes}}

Version actuelle datée du 10 octobre 2023 à 15:51

Auteur avatarMartin Clarissou | Dernière modification 10/10/2023 par Martin Clarissou en cours de rédaction

Introduction

Scratch est un langage de programmation enfantin sous forme de blocs à empiler.

Nous allons voir quelques notions pour créer un jeu sur Scratch en réalisant un jeu de tir se déroulant dans l'espace.

Ce tutoriel peut servir en tant que trame d'atelier.
Scratch se voulant avant tout simple à prendre en main, ses fonctions sont limités par rapport à d'autres langages de programmation, il ne faut donc pas être trop ambitieux.

Étape 1 - Commencer à créer son jeu

Depuis la page principale de Scratch, cliquer sur "créer".




Étape 2 - Donner un nom au jeu

Cliquer dans la barre blanche située en haut de la page de création et taper le nom souhaité en appuyant sur le bouton entrée pour le valider.


> Ici, nous l’appellerons "Les aventures de Captain Donuts"




Étape 3 - Choisir des décors sur le thème de l'espace

Survoler l'icône circulaire en bas à droite de la page de création (1)

Un menu déroulant apparaît avec les options suivantes :

  • Choisir un arrière-plan : Scratch contient une galerie de fonds d'écrans variée,
  • On peut aussi importer un fichier directement depuis son ordinateur,
  • Demander à Scratch de choisir aléatoirement un décor parmi sa galerie,
  • Modifier ou peindre un décor.

> Choisir les fonds d'écrans "Space" et "Galaxy" (le nom des arrières-plans est en anglais dans Scratch".





Étape 4 - Séléctionner un arrière plan

Cliquer sur la partie "arrière plans" pour avoir un vue sur tous ceux choisis.


> Sélectionner les arrières-plan "stars" et "Space". Il apparait alors à l'écran si ce n'étais pas déjà fait.




Étape 5 - Choisir un Sprite

...Dans Scratch, tous les personnages et objets sont appelés "Sprites"


Survolez l'icône située à gauche de celle pour ajouter un décor (1)

Un menu déroulant apparaît avec les mêmes options que pour les décors, permettant de choisir un sprite dans la base de données ou d'en importer un et de le modifier.
Les Sprites apparaissent alors à l'écran du dessus. On peut les supprimer en cliquant dessus et en appuyant sur l'icône de poubelles (2)

On peut interagir avec le Sprite sélectionné en modifiant sa taille, son nom, son orientation, sa position sur la page en modifiant ses abscisses (x) et ordonnées (y)


> Chercher dans la banque de données le Sprite appelé "Rocketship " en forme de vaisseau spatial en supprimant celui du chat.




Étape 6 - Personnalisez le vaisseau spatial

Nous allons maintenant voir comment personnaliser le vaisseau.

Sur la page de création de Scratch, appuyer sur "costumes". Cette page affiche l'ensemble des apparences différentes de la fusée, appelés "costumes" (1).

Il est aussi possible de peindre la fusée d'une couleur différente avec le pinceau ou le pot de peinture, de dessiner dessus, d'utiliser la gomme pour en enlever des bouts, de tracer des cubes ou des cercles (2), ou encore d'inverser sa position, de copier coller un élément, de mettre sur un plan du décor différent (3).


>Nous allons ici ajouter un élément depuis la base de données de Scratch (4). Choisir un Sprite "Donut", il apparaît en tant que nouveau costume. Appuyez sur "copier" dans le costume du Donut et cliquer sur le premier costume de la navette, cliquer ici sur "coller" pour y faire apparaître le Donuts.

Avec l'outil de sélection en forme de pointeur de souris, entourer le Donut, et appuyer sur "grouper " pour fusionner tous les éléments le composant. Le déplacer ensuite sur le hublot de la fusée, de sorte à ce qu'il le recouvre entièrement.

Sélectionnez ensuite un Sprite astronaute appelé "Ripley" dans la base de données de Scratch, dont nous allons nous servir en tant que personnage pour incarner Captain Donut.




Étape 7 - Créer des barres de scores

Nous allons commencer par ajouter une barre de vie. Dans la base de données des Sprites, chercher un appelé "Heart" (1).

Réduire sa taille à 20 (2), et le déplacer sur le coin supérieur gauche de l'écran(3).

Nous allons ajouter une seconde barre avec le Sprites "Donut" qui représentera le nombre de Donuts accumulés dans le niveau. Le placer juste en dessous du cœur(4) après avoir réduit sa taille à 20.




Étape 8 - Choisir des ingrédients pour le jeu

Nous allons choisir la liste des ingrédients qu'on pourra trouver dans le niveau.

On choisit d'abord un Donut dans la base des Sprites, puisque le seul que doit manger Captain Donuts.

On ajoute ensuite 3 autres ingrédients que le Captain devra éviter sous peine de perdre des PV.

Réduire la taille de tous les ingrédients à 50.




Étape 9 - Choisir des ennemis

Nous allons maintenant ajouter des ennemis que l'on va croiser dans le niveau. Comme il s’agit d'un niveau se déroulant dans l'espace, penser à en ajouter qui flottent, comme les fantômes ( "ghosts" ) ou les méduses ("jellyfish").

En ajouter trois différents.

Réduire leurs tailles à 70.




Commentaires

Draft