- Our game will also have a number of obstacles…which we must defend our bunnies against.…These obstacles take the form of space rocks,…with various attributes attributed to them…such as speed and size.…We'll use the same phaser grouping mechanism…to manage these entities…which were used for the bunnies.…The first thing we'll need to do…is actually load in the sprite sheets for our space rocks,…just as we did for the bunnies.…Popping over to preloader dot j s.…
Immediately after we load in the atlas xml…for the bunny, we'll do the same thing…for our space rocks sprite sheets.…So this dot load dot atlas xml…and here we'll give it the identifier of space rock.…We'll pass in a reference to the image file,…so images, sprite sheets, space rock dot ping,…and the data file, so images, sprite sheets…space rock dot xml.…
Now that that's loaded up…we can go back to our game state,…and here we want to add some variables underneath…those that are attributed to our bunnies.…So we'll add this dot total space rocks.…We'll also add this dot space rock group.…
- Downloading the Phaser framework
- Creating your first Phaser project
- Building the preloader and menu states
- Creating and spawning entities
- Working with particles and emitters
- Detecting and handling collisions
- Detecting "game over"
- Adding sound effects and text
- Preparing for mobile deployment
Skill Level Beginner
1. Setting Up Phaser
2. Configuring Loaders and States
3. Populating the World
5. Wrapping Things Up
- 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.Cancel
Take 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.