hey i know many will frown upon me but im still using preset platform movement, thats just the way i like things!! any ideas how i could make a water movement effect. Ive thought about changing the characters speed but then the gravity is not correct for a water environment. any ideas??
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
23rd September, 2004 at 06:41:47 -
Try using the platform movement object. It is quite easy to pick up but doesn't have the bugs that the inbuilt one does. (for mmf only)
It's rather difficult to get a water environment with the standard platform movement because you can't alter the gravity or jump strength in the middle of a level.
I suppose what you could do is have normal platform movement while you're out of water, but on entering the water replace the player with another player object with different movement, suited to water - you'd need two separate groups of events for that.
You could simply prevent the player from landing on a backdrop, preventing it jumping again and allowing you to do some really bad swimming events, like so:
Y(player) > 500 [where 500 is the bottom of the water, and it LOOKS like there's ground there]
- Player: set Y to 500
Keyboard: Repeat while pressing up or shift or whatever
- Player: set Y to Y(Player) - 2
Or something. Dodgey as hell, but that's why we use custom movents, fella.
I tried a water movement in Darla 2, sry david i couldnt resist, OH yeah in my Darla 2 engine i use 3 different active objects that randomly go left or right to make a water movement.And if the character falls in the water just add a splash object where the character hits water.Its pretty easy ,really. Just use strategy.
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
You have to use a custom platform movement for underwater levels. If you're trying to make a character walk underwater, use the 'CNC Custom Platform Movement Example' from the Klik Archives. It's a good start.
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.