The Daily Click ::. Forums ::. Klik Coding Help ::. Rising Water
 

Post Reply  Post Oekaki 
 

Posted By Message

J.C



Registered
  22/03/2013 05:18:14
Points
  118
29th December, 2013 at 29/12/2013 02:51:53 -

Has anyone ever tried a rising water game mechanic in their games? I'm curious as to how to pull that off.

I'm also curious as to how you would come about programming a character to swim underwater and, like in Mario games, hit jump to swim upwards and out of the water.

 
n/a

Jake G



Registered
  06/03/2010
Points
  782

Wii OwnerVIP Member
29th December, 2013 at 29/12/2013 08:07:20 -

I've never done rising water but when it comes to the Mario-style swimming I manually test for a character being within a zone and trigger a jump action if the button is pressed when the character is in said zone of water.

Does that make sense?

 
Visit www.voltic.com.au - you probably won't regret it!

~Gradually getting less bad at making games~

Jake G



Registered
  06/03/2010
Points
  782

Wii OwnerVIP Member
29th December, 2013 at 29/12/2013 08:07:22 -

I've never done rising water but when it comes to the Mario-style swimming I manually test for a character being within a zone and trigger a jump action if the button is pressed when the character is in said zone of water.

Does that make sense?

 
Visit www.voltic.com.au - you probably won't regret it!

~Gradually getting less bad at making games~

J.C



Registered
  22/03/2013 05:18:14
Points
  118
29th December, 2013 at 29/12/2013 08:42:30 -


Originally Posted by Jake G
I've never done rising water but when it comes to the Mario-style swimming I manually test for a character being within a zone and trigger a jump action if the button is pressed when the character is in said zone of water.

Does that make sense?



Hello there Jake!

To answer your question, yes it kind of doe. I could try to implement the code you described, though an example file always helps out and makes the coding easier to understand.

Thanks for the help!

 
n/a

Jake G



Registered
  06/03/2010
Points
  782

Wii OwnerVIP Member
29th December, 2013 at 29/12/2013 11:03:34 -

Well I can for sure send you an example file but I'm
Not at my computer right now will do so when I return home

 
Visit www.voltic.com.au - you probably won't regret it!

~Gradually getting less bad at making games~

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
29th December, 2013 at 29/12/2013 13:28:17 -

Instead of using a zone could you not set it as an overlap condition. This way if you successfully create your rising water you can continue to use the same code.

EDIT: Try this (no rising water code but the jumping out of the water principle works)

http://mfa.aquadasoft.com/view/1388323041-Underwater

EDIT 2: This time I have implemented a crude rising water system (VERY crude might I add):

http://mfa.aquadasoft.com/view/1388323333-Underwater-rising

Edited by lembi2001

 
n/a

J.C



Registered
  22/03/2013 05:18:14
Points
  118
30th December, 2013 at 30/12/2013 01:13:13 -


Originally Posted by lembi2001
Instead of using a zone could you not set it as an overlap condition. This way if you successfully create your rising water you can continue to use the same code.

EDIT: Try this (no rising water code but the jumping out of the water principle works)

http://mfa.aquadasoft.com/view/1388323041-Underwater

EDIT 2: This time I have implemented a crude rising water system (VERY crude might I add):

http://mfa.aquadasoft.com/view/1388323333-Underwater-rising

Er...it would be best if you sent the example files with a link to either mediafire or dropbox, cause having to enter a captcha is a little bothersome as I can't get through to the actual download.

 
n/a

nivram



Registered
  20/07/2006
Points
  171
30th December, 2013 at 30/12/2013 03:15:12 -

Jump O Crate - Nostalgia
Author: Unknown
Genre: Arcade
Extensions Needed: none
Description:
Can you stay out of the water? This fun game will have you hopping. From an old tgf file dated December 2001.
Instructions:
Space Bar to jump. Arrow Keys for direction.

Link:
http://castles-of-britain.com/mmfexamples-i.htm

Marv

 
458 MMF2 & CTF 2.5 examples and games

http://www.castles-of-britain.com/mmf2examples.htm

J.C



Registered
  22/03/2013 05:18:14
Points
  118
5th January, 2014 at 05/01/2014 08:55:13 -

Thanks for the example niv!

Now, how about using this example to simulate a flooding room?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click