Page 1 of 2

Water surging through a tunnel...

Posted: Wed Feb 07, 2007 10:19 pm
by Shadow Mage
In the game I'm currently programming I have the main character walking through a sewerpipe and I have a trap set to produce slime when he walks far enough into the tunnle.

The problem is that I don't really like idea of slime because its too cheesy and its too easy to stop in such a constricted tunnel. Are there any different ways in which I could approach this?

Objects?

I also have a different problem for when you through a rope across a gap, where the ropes color is white, and on the water it just makes it a deeper shade of water that you can walk on.

Posted: Wed Feb 07, 2007 10:33 pm
by Mister Lad
objects shooting stars! that would give him a run for his money. and mommy.

Posted: Wed Feb 07, 2007 10:44 pm
by gingermuffins
yo!

If it's a thin tunnel, you could try using a few objects which #put water behind themselves as they move along the route you want. (You can get runtime errors if you have like 75 objects #putting at the same time. It should be okay if it's a thin tunnel, though.) I guess you can hide them near the entrance, or in the walls if you know how to use the tile info box to set the under type in KevEdit.

(edit: slimes would still work if you didn't want to bother with a bunch of extra hubbub. Just make a message appear that explains that you're stuck there, change the breakables to normals so they can't be shot out, and change the slimes to empties after a few seconds so that they don't fill the entire tunnel.)

The rope -- are you specifying a colour when #putting down fakes, like "#put s white fake"? If you don't specify a colour, the colour of whatever was there previously on that tile will be used. The default colour of empties is white on black, even though you can't see it while playing or editing. That's why the rope would change white over a pit and blue over water.

Hope that helps.

Posted: Wed Feb 07, 2007 11:45 pm
by Commodore
If you have a long narrow tunnel you can have some objects at one end put a whole heck of a lot of boulders in one direction. Then you could change the boulders into water real fast. Do it in a couple of directions and time the objects to do their thing sequentially as to push the player down the tube and you could have the effect you are looking for.

Posted: Thu Feb 08, 2007 2:09 am
by Shadow Mage
gingermuffins wrote:yo!

If it's a thin tunnel, you could try using a few objects which #put water behind themselves as they move along the route you want. (You can get runtime errors if you have like 75 objects #putting at the same time. It should be okay if it's a thin tunnel, though.) I guess you can hide them near the entrance, or in the walls if you know how to use the tile info box to set the under type in KevEdit.

The rope -- are you specifying a colour when #putting down fakes, like "#put s white fake"? If you don't specify a colour, the colour of whatever was there previously on that tile will be used. The default colour of empties is white on black, even though you can't see it while playing or editing. That's why the rope would change white over a pit and blue over water.

Hope that helps.
Okay, that's helpful. But the tunnel is supposed to get flooded, like basically the person is supposed to like run from a surge of water. So the objects idea would probably work, I'd just have to set something like

#If contact then fart

:fart
You failed to outrun the surge of water.
:loser
#endgame
/i/i/i/i/i
#send water:loser
#end

or something like that.

I think I might also make invisible passages that take you into the room and stuff and have the objects just hidden behind the passages.

As far as the rope goes, it's also crossing water. Could that be my problem?

Posted: Thu Feb 08, 2007 2:11 am
by Shadow Mage
Commodore wrote:If you have a long narrow tunnel you can have some objects at one end put a whole heck of a lot of boulders in one direction. Then you could change the boulders into water real fast. Do it in a couple of directions and time the objects to do their thing sequentially as to push the player down the tube and you could have the effect you are looking for.
That could be good too. I might do that for another scene in my adventure at some point.

Posted: Thu Feb 08, 2007 2:13 am
by Shadow Mage
Mister Lad wrote:objects shooting stars! that would give him a run for his money. and mommy.
Rolf! Well it is a sewer pipe. If there was some way to color the stars so they stay yellow/brown/green.

Posted: Thu Feb 08, 2007 4:33 pm
by Zenith Nadir

Posted: Thu Feb 08, 2007 10:20 pm
by Commodore
Image

:hmmmm:

Posted: Fri Feb 09, 2007 1:08 am
by mania-[ker]
petition to make Image an emoticon

Posted: Fri Feb 09, 2007 3:05 am
by Dr. Dos
mania-[ker] wrote:petition to make Image an emoticon
rofl = ImageImageImageImage

Posted: Sun Feb 11, 2007 1:02 am
by Shadow Mage
Dr. Dos wrote:
mania-[ker] wrote:petition to make Image an emoticon
rofl = ImageImageImageImage
YES! Make that emoticon into our rolf!

I want my rolf!

Posted: Fri Mar 16, 2007 7:49 am
by thematrixeatsyou
Stick an object in which you don't see until it jumps out at you, screaming "NOBODY EXPECTS THE SPANISH INQUISITION!!!" Or something like that.

Posted: Fri Mar 16, 2007 4:12 pm
by Stak
Oh my God you're an even bigger failure than you used to be

I didn't think it was possible

Posted: Fri Mar 16, 2007 6:37 pm
by Mister Lad
Who is this dude? He's no Rolf.