The Daily Click ::. Forums ::. Klik Coding Help ::. Blowing chunks out of objects
 

Post Reply  Post Oekaki 
 

Posted By Message

cake



Registered
  13/12/2002
Points
  1173
2nd October, 2003 at 23:59:26 -

Here something very tricky for y'all

Anyone played Worms? Or Worms 2? Or Worms Armageddon? Or Worms World Party? Yes?

Well you know you can blow up parts of the landscape in those games, thus slowly chipping away the level, create tunnels, do what ever you want really. Well I want to do that in MMF and though I've had someone suggest a method to me that works, its not a very good method. In facts its a very bad method lol, I was wondering if anyone knew how to replicate in MMF without just taking the cheap, cheap, CHEAP option of creating a gazillion little active objects that destroy when an explosion object is overlapping them.
I'm talking pixel manipulation.

Any ideas?

 
n/a

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
3rd October, 2003 at 01:17:09 -

There is another method (provided you have MMF 1.5). I'll upload a tutorial on how to do it later.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Daniel[Crazy_Productions]

Possibly Insane

Registered
  29/12/2002
Points
  2505
3rd October, 2003 at 01:39:18 -

just use the paste object into background(not obstacle) action

 
Beware of life ...so far noone have survived it.......

Werbad



Registered
  18/09/2002
Points
  235
3rd October, 2003 at 04:26:51 -

In mmf you can use the add to backdrop instead bacause when you paste it to the background it will be removed when you scroll

 
n/a

renneF



Registered
  02/08/2003
Points
  672
3rd October, 2003 at 07:31:02 -

I'm making a worms/scorched earth type game, and it works perfecly except the landscape destruction dosent work properly, it creates a circle when the bullet collides with background then pastes it into background like a crater, that works ok but it can only make damage on the surface.... anyway heres a link to it
www.geocities.com/fennersgames/games

Image Edited by the Author.

Image Edited by the insane hacker guy.

Image Edited by the Author.

 
Image

Arf :: FPP Games



Registered
  15/05/2002
Points
  1364
3rd October, 2003 at 14:10:43 -

But that method just covers up the landscape - it's still there! This means that when something else comes along it will collide with the original landscape again (that probably explains your problem Fenner). I'm going to have a fiddle, to see if I can solve it...

 
n/a

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
3rd October, 2003 at 15:41:23 -

No, if you have the Add Backdrop event as Not an Obstacle it covers up the background so it might as well not be there, and any collsion effects with it. There's no proper way to get rid of chunks of the background, which sucks if you want sky or something else behind the landscape to show through, but the Add Backdrop way is the only real way to do it, even if it is kinda ugly.

 
Image

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
3rd October, 2003 at 18:23:20 -

Here's that tutorial I promised

http://www.create-games.com/article.asp?id=1167

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

cake



Registered
  13/12/2002
Points
  1173
3rd October, 2003 at 23:10:15 -

Thats everyone now i have a 'solid' () understanding of how to blow stuff up. Now if only mf MMF werent corrupted Id make a sweet worms game

 
n/a

Arf :: FPP Games



Registered
  15/05/2002
Points
  1364
4th October, 2003 at 13:53:44 -

Ah, it seems I didn't quite understand how collisions worked. You learn something new every day...

 
n/a

renneF



Registered
  02/08/2003
Points
  672
5th October, 2003 at 17:05:19 -

Thanks jonwog, my game works now!


 
Image

renneF



Registered
  02/08/2003
Points
  672
7th October, 2003 at 15:55:06 -

www.geocities.com/fennersgames/terrainmod.zip - try my engine out

Image Edited by the purple hippo.

Image Edited by the guy.

Image Edited by the Author.

 
Image

Jimmy Brzezicki



Registered
  16/09/2003
Points
  1057
14th October, 2003 at 09:15:24 -

There really are a lot of demo's for this (see above!). Of course, you could always try my game (Grizzlies 2) which uses this. It's not open source, but it could give you a few ideas.

 
Why the hell am I on the computer at 1 in the morning? No, don't answer.

renneF



Registered
  02/08/2003
Points
  672
14th October, 2003 at 11:25:44 -

thats and old one there! heres my new one : www.geocities.com/fennersgames/games/finalTD.zip

 
Image
   

Post Reply



 



Advertisement

Worth A Click