You can see how to create particles that behave like water. You can check out creating particle emitters and applying the correct settings.
- [Instructor] All right, so let's use liquid fun physics…to set up some water particles in our game.…I'll go to my objects folder,…and create a new group.…I'll call it liquid.…And in there we'll create a new object,…and we'll use this object to spawn our water particles.…So I'll call it O_water_spawn.…This won't be a physics object…so we don't need to check the use physics button.…But let's add a create event.…Drag in some code,…and this is where we'll create our water particles.…
So I'll say create particles,…and the function that we'll us is physics particle create,…and this function takes eight arguments.…The first is a set of flags,…which we'll put together using Game Maker's…built in constants.…We'll do that in a second.…The next two are the X and Y locations…where we wanna create these particles.…We'll do this at the X and Y location of our spawner.…That way we can place it anywhere in the room we want…and particles will spawn at that location.…
The next two arguments are the initial X and Y velocities…of our particles.…
- 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.