You can use your chain object to create a swinging spike ball obstacle.
- [Instructor] As you can imagine, we can do…a lot of really neat things with this chain link object.…Let's take our chain link code and modify it slightly…to make a rope bridge.…If we look in our items folder in sprites,…we can see that there's a sprite plank.…Let's take a look at that real quick.…It's 64 by nine pixels, and it has three frames.…They're all just slightly different variations…of the plank, to give it some variety.…These will be the planks in our rope bridge…that our knight will walk on.…So let's see how to get that created.…In our objects folder, let's right-click,…create group, and we'll create a group…called rope bridge.…
I'll right-click here and create an object.…I'll call it O underscore plank.…And for our sprite, we'll go down to items,…and select our sprite plank.…This uses physics, let's set the collision shape to shape,…and modify our collision shape.…I'm gonna zoom in a bit,…and get it centered.…We could just set this up as a box,…but then it would be easy for our player…to get stuck on the edges when they run over it.…
- 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.