Sprites can also be created from imported images in GameMaker. We will import several more images to use as sprites for our bricks.
- Another major component of our game is the brick,…which has four different colored sprites.…Let's create a sprite for each of these…by right-clicking sprites.…You may think we want to choose add existing sprite,…but that's only if we want to import .gmx sprites…from another GameMaker project.…Instead, we'll create sprite as before.…We'll give it a unique name…with a prefix of spr_greenBrick.…And now we can choose load sprite.…We'll navigate to our assets folder,…and we'll choose greenBrick.png,…and click open.…
We'll leave our origin at zero zero…to help us place the bricks later.…Since we want our bricks to be…solid objects like our paddle,…we'll set up the collision mask.…Click modify mask.…Let's do full image for our bounding box…just like we did with the paddle,…but this time let's choose the ellipse…instead of rectangle for the shape.…We're doing this to prevent a possible issue…where the ball collides with the side of one brick,…but also the corner of another.…And now we can choose OK.…And OK again to save our sprite.…
- Creating a new GameMaker project
- Creating sprites
- Importing existing images
- Adding collisions
- Playing sounds
- Designing game levels
- Creating start and game over screens
- Exporting the game
Skill Level Beginner
iOS Game Development with Swift 3 and SpriteKitwith Todd Perkins2h 52m Intermediate
1. Getting Started
2. The Game Pieces
3. The Gameplay
4. The Game Cycle
5. Finishing a Project
- 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.