Join Steven Moser for an in-depth discussion in this video Enable views, part of Building a Physics-Based Platformer in GameMaker Studio Using GML.
- [Instructor] By default, when we run our game,…GameMaker will show us the entire room,…but this isn't the kind of behavior that we want.…We want to show a subset of the room…that follows our player around…as they run through the level.…We do this by using views.…I'll click on the views tab…and enable the use of views by checking here,…and also setting the view to be visible…when the room starts.…We can see on the right now,…we have a rectangle indicating the view in the room.…We have two important considerations…when setting up the view.…
The first is the view in the room,…and the second is the part on the screen.…You can think of the part on the screen as the area…that we show on the user's display,…and the view in the room as the subsection of the room…that we show in the port.…By setting it up this way,…we can show more or less of the room in the same area…on the user's screen as needed.…First, let's set up the port on screen.…I have a smaller monitor so I'm gonna set…the width to 1360 and the height to 730.…
- Setting up basic game components
- Creating the player object
- Using Finite State Machines
- Making the player duck
- Creating physics fixtures in code
- Creating physics obstacles
- Box2D liquid physics
- Creating particles that behave like water
- Creating a floating blocks obstacle
- Creating a swinging chain obstacle and a rope bridge
- Adding the finishing touches
Skill Level Beginner
1. Set Up Basic Game Components
2. The Player Object
3. Create Physics Obstacles
4. Liquid Physics
5. Decorate the Level
6. Finishing Touches
Next steps1m 2s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.