The Daily Click ::. Forums ::. Klik Coding Help ::. Dissolving platforms. Any ideas how to?
 

Post Reply  Post Oekaki 
 

Posted By Message

jimbo666



Registered
  13/09/2005
Points
  11
22nd September, 2005 at 11:59:04 -

I'm writing a platformer in tgf. But I want dissolving platforms a la manic miner - you know, if you step on it it crumbles away slowly. Does anyone have any ideas on how to create them?
Thanks

 
n/a

hishnak



Registered
  18/04/2004
Points
  994
22nd September, 2005 at 12:53:28 -

Well there's lots of ways. You might say...

Player collides with platform---change animation to "crumble"

When animation "crumble" is finnished---destroy platform.

simple enough

 
I'm feeling a bit wella

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
22nd September, 2005 at 18:38:09 -

Yeah, even if you're using built-in movement that'll work as long as it's not a moving platform. And turn off fine detection for the platform so the crumbling animation doesn't interfere with collision detection.

 
n/a

jimbo666



Registered
  13/09/2005
Points
  11
25th September, 2005 at 13:25:16 -

Cool, that simple! thanks for that

 
n/a
   

Post Reply



 



Advertisement

Worth A Click