171,218

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.

http://static.stencyl.com/help/images/cc2_publish_to_flash.png

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

Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

94 Comments

Abats
Sad only that game testing takes a quite a time even for this small demo...
If you dont realy know what are you doing, then testing is one thing you do all the time...
Is there any faster way to test if code is right?

0 10 years, 2 months ago
Abats
Done with my first demo Crash Course game.
No errors for me! It is possible to make anything in Crash Course without errors.
Even better, made some little modifications allready ;)

0 10 years, 2 months ago
highkingtorygg
I have two problems; first, the sprites are all miniscule. And secondly, the bullets are buggy as a bee nest. sometimes (most of the time) when I press z nothing happens, and when bullets do decide to exist, they start at halfway through the screen, even with bullet speed set at 5. When I fire bullets immediately after one another, they all somehow form a straight line instead of a diagonal one.
1 10 years, 3 months ago
Winorwin
Great tutorial. Made it till the end. There are only two errors so far: the sound assets for explosion wich needs to have a 24 bitrate and the music sound wich needed the metadata to be removed and to change the color fonts to white so it can be saw in the screen. Other than that, great job!
1 10 years, 3 months ago
RegGuheert
Great tutorial! Thanks!
1 10 years, 9 months ago
berendirith
Solved all the challenges, felt somehow accomplished something in my life lol.....Chapter 2, I'm coming~
2 10 years, 9 months ago
berendirith
Yesssssss, I completed the first challenge (only moving to left and right tho), but still it worked. This game engine is way better than other game engine like GS, or whatever that is for beginner. The block thing is good to build memory about logic. I'm a beginner myself, but I enjoy using Stencyl.
1 10 years, 9 months ago
Iceblockgames
Thank you so much Stencyl! I can tell you guys seriously care about not just making a great program, but as well creating awesome tutorials. I also love how you not only give the tutorial itself, but also encourage us to improve and further advance the completed work! Again, thank you for making such an awesome program, and I can't wait to make my own guys using this!
1 10 years, 10 months ago
Eddie Teacher
The truly great thing about Stencyl is that the logic building toolset actually puts things in perspective for future programmers. By looking at the logic blocks it helps shape how code should look at should be helpful for actual coding later on. Thanks Stencyl.
1 11 years, 1 week ago
Kickiam
Thanks for the tutorial!
1 11 years, 1 month ago

Sign In to Comment