In GameMaker drawn text can be moved around the graphical user interface. In this video we create a pause object that moves the word "PAUSED" across the screen.
- [Instructor] In this video, we'll create a new object…that we can later use to pause the game.…To start, right-click on objects…and choose create object.…Give it a name of obj_pause.…We don't need to set a sprite because we're going to use…the draw GUI event again to draw text to the screen.…Click add event and choose create event.…Again, click the control tab, and drag a new script.…Give it a name of initialize variables.…The first variable paused, and we'll set it…equal to false by default.…
The next variable moveSpeed will be equal to four.…This will be used to move our paused text…across the screen.…We'll use minX, and we'll set it equal to…room_width times .3, and we'll use this…as the leftmost position that our text can move to.…Similarly we'll create a maxX variable.…We'll set this equal to room_width times .7,…which is near the right of the room.…Lastly, we need to set a starting position…that we can use for our text.…So I'll say x equals minX, and then we can save the script,…and let's add another event.…
- 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.