Are you new? Sign up now
The Daily Click
Klik Coding Help
Dissolving platforms. Any ideas how to?
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?
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.
I'm feeling a bit wella
hot for teacher
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.
25th September, 2005 at 13:25:16 -
Cool, that simple! thanks for that
Worth A Click