Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Join Lee Brimelow in this project-style course that teaches how to build a Flash-based game with Flash Builder 4.6, Flash Player 11, and the Starling framework. Starling, a pure ActionScript 3.0 library for advanced graphics, extends Flash Player 11's support for the modern GPU (graphic processing unit) to enable visual presentations and games in the browser or as a mobile app.
Starting 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.
So when it comes to creating sound effects for your games, you have a lot of different options. You can go to sites where you can buy sound effects, you can search online for free sound effects, but there are some nice tools that allow you to create some nice sounds for games. Now these are kind of simple sounds, kind of retro sounds, but they work for a lot of different types of games. So there is a cool tool called sfxr, and this is created for Windows, and if you go to this URL here, you can actually download that if you're on Windows, and I'll show you a screenshot of what it looks like.
It basically allows you to really quickly create sound effects for different types of things like picking up a coin or shooting or explosions, power-ups, and it's a really nice tool if you want to quickly create sound effects. And there is a Mac port of this tool also called cfxr, and you can get it from this URL, and this is the one I'm going to be showing you how to use. So once you've installed this tool, either the Windows of the Mac version of the tool, you can essentially pick a certain genre of sound, so I'll try Pickup/coin.
And if I keep clicking it, it will essentially give me a random sound effect. (sound effect) And I can increase the playback volume here. (sound effect) So I can just keep clicking this until there is a sound that I actually like. (sound effect) Like maybe that one, and now I can export this as a WAV file. Now in Flash we need to turn it into an MP3, which I usually use Adobe Audition for that, but there is lots of different tools out there for doing that. So let's say an explosion, I'll click Explosion-- (explosion) --and we can hear an example explosion.
And if I say Play looping-- (sound effect) --it will play that sound in a looping manner, and then I can come and start adjusting some of these sliders to change the properties of these sounds. And again, this is a lot of just kind of trial and error that you have to go about doing. (sound effect) But again you want to play around with these, now these are kind of retro 8-bit kind of sound effects, and so if you're making a game like that you can definitely create some really interesting sound effects here.
So let's say for jumping. (sound effect) Press a couple of these, and these are kind of like Super Mario Brothers type sounds. (sound effect) Power-ups. (sound effect) And shooting. (sound effect) So definitely this is a tool that's just fun to come in and play around with, and again you're going to be exporting these sound effects as WAV files, and then you're going to need to turn them into MP3s.
Now for our example, in our game, we're not going to have to worry about that, because I've actually included a couple of sound effects in the assets folder, we have an explosion.mp3 file, and a shoot.mp3 file, which we're going to use to incorporate into our game.
There are currently no FAQs about Building Flash Games with Starling.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.