I can't go into great detail, but when pressing a certain key a grenade object is created and it has an hspeed value, a vspeed value, and a gravity value as soon as it's created. Getting it to bounce was hard, so I can't really explain that.
Destructible terrain is a little tricky. Each 16x16 block of land is an object, and when it comes in contact with the collision box of an explosion, it creates four 8x8 boxes in its place and destroys itself.
Then those boxes check to see if they're in collision with an explosion and break into 4x4, which do the same thing and become 2x2 blocks and then 1x1 blocks. So if the collision box of an explosion is an invisible circle and its in place long enough, the blocks around it will delete themselves in the appropriate manner.
This has been flagged as spam show
Give a link a game and sprites. how to gravity this water ? a game is cool
11callofdutymw 5 months ago
try particles for the blood and smoke. works better :-D
callofduty7fan 7 months ago
can you please show me how to throw objects and remove scenery like that when stuff explodes?
deathsvapor9 1 year ago
@deathsvapor9
I can't go into great detail, but when pressing a certain key a grenade object is created and it has an hspeed value, a vspeed value, and a gravity value as soon as it's created. Getting it to bounce was hard, so I can't really explain that.
Destructible terrain is a little tricky. Each 16x16 block of land is an object, and when it comes in contact with the collision box of an explosion, it creates four 8x8 boxes in its place and destroys itself.
DeadBatteryVideos 1 year ago
Then those boxes check to see if they're in collision with an explosion and break into 4x4, which do the same thing and become 2x2 blocks and then 1x1 blocks. So if the collision box of an explosion is an invisible circle and its in place long enough, the blocks around it will delete themselves in the appropriate manner.
DeadBatteryVideos 1 year ago
@DeadBatteryVideos.hmm...looks interesting, but i dont get it. i tried, but it failed. may you can make a tutorial?
pichuranger 1 year ago
i wanna play this
JKtonoso 2 years ago
nice game, pretty interesting
mlb95 3 years ago
nice =] and can anyone help me how do u get the screen to follow your charecter as you move in game maker ? =s
xranky6x 3 years ago
@xranky6x In the room, click the "Views" tab and set the object to follow to the object you want the view to follow.
alphaskullproduction 1 year ago
looks fun! im 1vendetta1 off ACC
Vendetta0000 3 years ago
looks fun! im 1vendetta1 off ACC
Vendetta0000 3 years ago
wowz. :o
Rx7MetroidJelly 3 years ago