171,217
Views
Beginner
Level
94
Comments
Crash Course 2: Invaders - Part 15
by Hectate (Updated on 2015-05-02)
Part 15: Final Touches
Step 102: Now that you’ve tested your game and everything works, it’s time to export it to your desktop as a SWF file. That way, you can open the file in any browser to play the game! Open the Publish menu, select Web, Flash.

Step 103: Stencyl will create a SWF file and ask you to choose where to save the file and what to name it.
Congratulations! Now that you have your Crash Course game, you can take on the Challenges that follow, and modify the Crash Course game further, or you can start on your own game! The choice is yours.
Here are a few challenges you could take on if you want to take this project further. We won't provide you with any solutions, it's up to you to figure out how to add these features.
Challenges
Challenge 1: Find a way to make the Enemy Ships move back and forth on screen.
Challenge 2: Restrict how frequently the player can fire the cannon, either by setting a maximum for the number of bullets on screen or by limiting how quickly the player’s Ship can fire bullets.
Challenge 3: Make the Enemy Ships fire back at the Player.
Where do I go from here?
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.
Continue to Chapter 2
94 Comments
Thankyou for the tutorial. It was an invaluable help for my first Stencyl project.
The only thing that I noticed is that sometimes the bullet/enemy collision does not happen. It is likely a timing in one of the delays.
All in all great job!
0
Great tutorial. I only got problems in part 14 but where able to fix it fast.
I know there's still much that i don't know about stencyl and a lot to learn but i'm already looking forward to create my first own game with this nice program that stencyl is, yet. ^^
0
This is so awesome!! I followed every single step of this tutorial and I got my game working fine without any problems at all. Now I will try to solve the challenges. For everyone that couldn't do it, try it again and be patient, if you read carefully the instructions you will get it. You just need to become familiar a little bit more with this cool software.
0
I spent two and a halfish hours doing this and completely failed. xD I didn't really care that I failed but cared more about the learning experience. Great tutorial, great everything and I hope to see more Crash Courses. :D
0
I'm sorry for what I said below, it was not nice at all. However, I am somewhat irritated at the parts of this tutorial that skipped explaining how to get the different parts together to work. If it were not for the comments of other people, I would never have finished. Still there are issues that pop up while testing the finished game.
I do understand that making a tutorial like this takes an enormous amount of time, and for that I am thankful.
0
Hey I almost ace the tutorial. I can shoot the enemies and all their ships can disappear. However I can't get the enemy to shoot at my ship. They are just sitting there doing nothing. help
0
did you go to the collisions menu and set it to where the enemy bullets can collide with the player?
0
I can make the enemies shoot but no matter what I try I can't make them hit me. I've been trying for the last two hours but they always just fly right through me.
1





