1 / 3

Open-Source AS3 Game Engine: FlashGameMaker Tutorial #1 – HelloWorld

Learn how to create quality games using FlashGameMaker in this tutorial. Follow steps to open project files and run HelloWorld script. Access more tutorials at AngelStreet's FGM Tutorial #1.

sumana
Télécharger la présentation

Open-Source AS3 Game Engine: FlashGameMaker Tutorial #1 – HelloWorld

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Open-Source AS3 Game Engine Simply create quality game FlashGameMaker Tutorial #1 – HelloWorld AngelStreet http://flashgamemakeras3.blogspot.com

  2. FGM Tutorial #1 – HelloWorld • Go to the folderclasses\script of the projectroot • Open the class MyGame.as • MyGamelaunch the script HelloWorld.as • 1. package script{ • 2. import script.tutorial.*; • 3. /** • 4. * MyGame Script • 5. */ • 6. publicclassMyGame{ • 7. • 8. publicfunctionMyGame() { • 9. // ----- Start your game here ---------------- • 10. //-------------------------------------------------- • 11. newHelloWorld(); • 12. } • 13. } • 14. } • AngelStreet

  3. FGM Tutorial #1 – HelloWorld Class • This class simply trace « HelloWorld » on the Output • 1.packagescript.tutorial{ • 2. /** • 3.* Hello World • 4.*/ • 5. publicclassHelloWorld{ • 6. • 7. publicfunctionHelloWorld() { • 8. trace("HelloWorld"); • 9. } • 10. } • 11. } • AngelStreet

More Related