101,718

Views

Beginner

Level

78

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!

78 Comments

Eternal7
Took me about 2 hours and 30 minutes to complete this. The challenges will def take a long ass time,
0 2 weeks, 2 days ago
iPunchPlants
After many hours and getting help from the others online, I have finally completed the challenges and added a couple of my own adjustments!
1 2 months, 1 week ago
lion32
How can I give a command that when the enemy dies the game starts from scratch with life 4 the points in 0 what happens to me is that when I lose in the game and I return to the start menu I appear the lives in 0 help me

0 2 months, 3 weeks ago
lion32
soy el unico que en el juego le va bien

0 2 months, 3 weeks ago
Mr Dragon
THIS GAME SUCKS BECAUSE IT TAKES TOO LONG AND IT SUCKS CAE I TRIED IT AND THE SHIPS CANNOT RESPAWN
-1 5 months, 1 week ago
Brighter Horizon
After completing challenge 3, I felt so proud I literally ran around the house screaming. Because at this moment I knew... I had accomplished something.
3 1 year, 1 month ago
IiITesTerIiI
Help! When I publish the game I can not open it! Where is the problem?
1 1 year, 3 months ago
cadette
Nevermind I fixed this issue, I had the same event twice xD
0 1 year, 3 months ago
cadette
Great tutorial, thanks ! But I'm kinda stuck with the third challenge. When my ship is killed, my game crashes and I obtain this error :
TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
at MethodInfo-6453()[Source/scripts/Sc eneEvents_0.hx:113]
at com.stencyl::Engine/update()[C:/Pro gram Files (x86)/Stencyl/plaf/haxe/lib/stencyl /1,00/com/stencyl/Engine.hx:2413] at com.stencyl::Engine/postUpdate()[C: /Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl /1,00/com/stencyl/Engine.hx:2616] at com.stencyl::Engine/onUpdate()[C:/P rogram Files (x86)/Stencyl/plaf/haxe/lib/stencyl /1,00/com/stencyl/Engine.hx:2609]
Any idea about how to fix this ? Please.

0 1 year, 3 months ago
StencylNerdyDude
Somebody please help me on the challenges, I'm stuck and I'm angry. Please help!
-1 1 year, 6 months ago

Sign In to Comment