The Daily Click ::. Forums ::. Klik Coding Help ::. Swimming
 

Post Reply  Post Oekaki 
 

Posted By Message

-Adam McMillan-

Mr Incredibubble

Registered
  15/09/2008
Points
  198

Wii Owner
8th October, 2008 at 09:10:22 -

Hi all, thanks for possibly reading my question ,

In my current game, I want part of one of the levels to be an underwater swimming part. What would be the best way to do this? I thought maybe that when you are in the water, the gravity could be lower and it would change to the swimming animation, and when you jump, you float up a bit. Any better ideas?

 
Image

]Alpha[



Registered
  19/09/2003
Points
  245
8th October, 2008 at 09:18:58 -

I don't understand.

You want that part to be an underwater level or an underwater swimming level?
Because if you are swimming, you can't possibly jump.
Can you?

 
All that I see is the years...

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
8th October, 2008 at 09:21:45 -

Yes I can jump in water. It's just different to jumping from ground, for obvious reasons!

 
lol

]Alpha[



Registered
  19/09/2003
Points
  245
8th October, 2008 at 09:57:45 -


Originally Posted by alspal
Yes I can jump in water. It's just different to jumping from ground, for obvious reasons!



I don't get it.
You can jump in water (in certain conditions) but you can't jump while swimming.

I just asked if he wants to create a swimming level or a normal platform level in water, 'cause I didn't understand what he really wants.

 
All that I see is the years...

緑葉



Registered
  24/08/2008
Points
  145
8th October, 2008 at 10:06:20 -

So like in Super Mario underwater levels?

You should check out the download section (engines) and look for custom platform movement engines

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
8th October, 2008 at 13:04:36 -

Something like - http://satansam.co.uk/ftp/swim3.mov ?

Thing is you need a floor to push off against when jumping. If you were to do a regular platform swimming bit then the sprite needs to gain height by swimming - not just recycling the jumping animation. If you get my drift, like.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
9th October, 2008 at 05:52:34 -

I'm not good at swimming, though I could float a bit. If you want a quick solution, just make the jump strength weaker when jumping in water. If you want a more realistic one, make the jump weaker the deeper the character is in water (check Y position for deepness) down to a minimum jump strength.

No need to bother with anything more advanced

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Alket



Registered
  02/04/2008
Points
  4
9th October, 2008 at 18:21:44 -

Try with pinball movment, when you press UP set the direction to UP.
I dint try this, but it may work.

 
n/a

-Adam McMillan-

Mr Incredibubble

Registered
  15/09/2008
Points
  198

Wii Owner
12th October, 2008 at 08:03:31 -

thanx for all the suggestions guys

i may get my method to work, with a bit of tweaking, or as Keltosh said, i could look for something in the download engine

 
Image
   

Post Reply



 



Advertisement

Worth A Click