Join Steven Moser for an in-depth discussion in this video View following and debug, part of Building a Physics-Based Platformer in GameMaker Studio Using GML.
- [Narrator] Let's take a minute…to add a little bit more functionality to our game.…And also set up some debugging…that'll be helpful in the future.…First, let's make the view…follow our player around in the room.…I'll open up the room, head to the Views tab…and under object following in the dropdown,…I'll select our player object.…We also wanna set the horizontal border…and vertical border to something…that makes sense for our game.…I'm gonna set them to the middle of the room on both sides.…That way, when our player gets to the middle of the room,…the view will follow them around at that point.…
I'll set this to 816, which is half of our 1634 width.…And 436 for the vertical border,…which is half of our height.…Let's close that out, run our game,…and see how our view following works.…When our player hits the middle of the room,…the view starts following.…If we jump, it goes up.…So it looks like it's working great.…I'll close out our game.…Now let's set up a little but of debugging.…
I'm gonna open up our player object.…
- 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?
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.