Join Lee Brimelow for an in-depth discussion in this video Setting up your Starling scene, part of Building Flash Games with Starling.
So in the last movie we created our basic Flash Builder ActionScript 3 project…which is going to serve as the basis for our game.…Now we want to modify this main Spacer class that is essentially our default…class that gets launched when we run the game.…The first thing I am going to want to do is to put in some SWF metadata up here, and this…is going to allow me to control the width, height, background color and frame…rate of our actual game.…So I am going to start putting that in and first thing I am going put in is the…width and our game is going to be 800x800, put in a height of 800.…
We are going to set the frame rate of our movie to 60 frames per second.…Now if you are used to regular Flash, you might think, wow!…That's a really fast frame rate, and you can now reliably use 60 frames per…second, again, because since Starling is running on the GPU we can get that…really fast performance.…And I am going to set the backgroundColor of my movie to black like that.…So now we have our SWF metadata set up.…
Author
Released
7/5/2012Starting with installation and configuration of Starling and creation of a Flash Builder project, the course shows how to prepare and import graphical assets, create MovieClip classes from sprite sheets, manage various gaming objects, detect collisions, and add both particle and sound effects. The finished game can be deployed to any browser or mobile device that integrates Flash Player 11, which was released in September 2011.
- Downloading and installing Starling and Flash Builder
- Creating the project
- Creating the main game class, static assets class, and other classes
- Building the state machine
- Creating a static assets class
- Adding images
- Creating sprite sheets with Texture Packer
- Creating and importing bitmap fonts
- Detecting collisions
- Adding particle effects
- Adding sound effects
Skill Level Intermediate
Duration
Views
Related Courses
-
Introduction
-
Welcome41s
-
-
1. Getting Started
-
Installing Flash Builder1m 44s
-
Installing additional tools1m 30s
-
2. Project Setup
-
Creating the main game class4m 13s
-
3. The Game State Machine
-
Building the state machine7m 48s
-
4. Preparing and Importing Assets
-
5. The Menu State
-
Adding the logo2m 58s
-
Adding the play button3m 4s
-
6. The Play State
-
Adding the background1m 3s
-
Creating the Hero class6m 14s
-
Creating the Bullet class1m 44s
-
Using the StarlingPool class9m 24s
-
-
7. The GameOver State
-
Adding the background1m 10s
-
-
8. Adding Particle Effects
-
Adding the smoke texture5m 3s
-
9. Finishing Touches
-
Adding the sound effects3m 42s
-
Creating the Score class4m 18s
-
Conclusion
-
Helpful Starling resources1m 53s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Setting up your Starling scene