Now it's time to import our sound assets. Have you saved recently? Now would be a great time to do so if you haven't! Step 29: Click on the " Click here to add a frame" on the left, then on Choose Image, and select the "Space Background.png" image from the assets. Step 28: In the dialog that pops up, name the Background image Stars and press the Create button. Click the Dashboard and then on Backgrounds. Step 27: With our Actor Types created, we need to import a Background image to use in the Scene we’ll create later. Lastly, we set our Bullet Actor Type’s Collision Group (in the Properties tab) to Bullets. Step 26: We want to have slightly different Physics settings for the Bullets. Note that when importing the graphic for the Animation, set the number of Columns to 3, as shown below. Follow the same steps as you did to create the Ship and Enemy Ship but name the new Actor Type "Bullet". Step 25: Next, we need to create the "Bullet" Actor Type.
Step 24: Choose its Collision Group by clicking the Properties tab and setting its Group to Enemies, as shown.Īre you missing the Enemies and Bullets groups? You need to go back to Part 3 and create them! What kind of Actor Type? Cannot be pushedĪffected by Gravity? Disabled by Stencyl (you do not have to change it) Let's change our Enemy Ship to the following settings: Like we did with the Ship in previous steps, we need to set its Physics settings. Step 23: We’ve created our "Enemy Ship" Actor Type and added an animation. Add an animation and Add a frame to import the "Alien_grabber.png" image.Here’s a brief reminder of the steps involved:Ĭlick on Actor Types (this may already be highlighted).Ĭlick the dotted line box to create a new Actor Type. course you ll create a Space Invaders like game from scratch In the process you ll touch upon all the fundamentals required to make games with Stencyl 3 / 8. Use the same steps as you used to create the Ship Actor Type to create the Enemy Ship. Step 21: Now that we have our new Collision Groups, we need to create our Enemy Ship Actor Type.
STENCYL SPACE INVADERS HOW TO
Part 4: Creating More Actor Types and Importing a Background Learn how to use Stencyl to create a simple asteroids game Independent task. (Use File > Export Game.Comments Crash Course 2: Invaders - Part 4 Please post a topic on the forums and attach the game to your post. I receive a Flash error when running the game.
Noni goes through the Clownsĭon't forget to set Clown's Group to Enemies. If you'd like a more in-depth guided tour, we recommend jumping straight into Crash Course 2, where you can create your own Space Invaders-like game.Ĭontinue to Crash Course 2 → Troubleshooting When I fall into the pit, the scene doesn't reload.Īs directed in Part 3 at the end of the Customizing Noni section, attach the Die in Pit and Reload Behavior to Noni.
There's a whole lot more to Stencyl, and we encourage you to experiment on your own and read through the rest of Stencylpedia to find out how to import your own resources, create your own Behaviors, and enable Stencyl to help you create the games of your dreams. That's quite an accomplishment already, and we've barely even scratched the surface of Stencyl's capabilities. You've just created and tested your first game in Stencyl. Note: You can quickly test your game at any time using the keyboard shortcut Ctrl-Enter (or Command-Enter on Mac). If you fall off the screen, the Scene should reload. Try pushing the Clown Actors around and jumping on them. You should be able to walk with the left and right arrow keys and jump with “z”.
Part 1 (Intro) - Part 2 (Resources) - Part 3 (Actors) - Part 4 (Create a Scene) - Part 5 (Test your Game) Test Your Game! (Part 5 of 5)Ĭlick the Test Game button in the top toolbar to give your game a try.