Join Steven Moser for an in-depth discussion in this video Set up a chain generator, part of Building a Physics-Based Platformer in GameMaker Studio Using GML.
- [Instructor] We've already seen how we can use…revolute joints to create simple objects…like our swing-blade and double swing-blade,…but we can also combine many revolute joints together…to create more complex objects,…things like chains and ropes.…Let's create a chain that we can use in obstacles…and also to decorate our level.…In our objects folder, I'll create a group…and let's call it chain.…And we're gonna need a few objects for our chain,…so let's create a chain pin.…We'll use this to anchor our chain on both sides,…similar to the way we did with our swing-blade.…
I'll call this o_chain_pin and for our sprite,…we can just use the same one…that we used for our swing blade.…If I go to obstacles, I can select…this swing-blade pin sprite.…We won't end up seeing it in the final game anyways,…so it's not a big deal.…I'll uncheck visible, 'cause we don't need to see it.…I'll check uses physics,…the collision shape is a circle.…Let's check the collision shape, looks good.…We don't want our pins to move,…so I'm gonna set the density to zero.…
- 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.