Page 1 of 1

Water

Posted: Mon Mar 29, 2004 11:35 am
by Ice Cream Jonsey
Has anyone been working on a Hugo library file to model water? Does anyone know if such a thing is finished or in development by anyone?

Posted: Mon Mar 29, 2004 4:31 pm
by bruce
Shit, why don't you model a <i>rope</i> and <i>burning</i> while you're at it?

Actually, that sounds like a Superfriends thing:

"Shape of a hawk!"
"Form of a burning water rope!"

Bruce

Water ropes

Posted: Mon Mar 29, 2004 9:35 pm
by Kent
I got a little ways into coding a general quantity/liquid class but never needed it so never really developed it to the point where it was useful.

As for ropes, well, you get those for free in Hugo, of course.

Re: Water ropes

Posted: Tue Mar 30, 2004 9:50 am
by Ice Cream Jonsey
Kent wrote:I got a little ways into coding a general quantity/liquid class but never needed it so never really developed it to the point where it was useful.
My solution, which is really just a quick little thing, is as follows: there's one amount of water, and a slowly dribbling fountain for it to come from. Should the water be tossed to the floor or at someone, well, hahaha, that water is removed from the game and the fountain will dribble some more water into the game a couple turns later.

It does become a problem when the water is in a container, because the game doesn't see it affected by a "remove water" command.

But I'm sort of banking that the rest of the game won't inspire someone to say, 3/4ths the way through it, "Come on! This is HORSESHIT! This is so unrealistic!"

As for ropes, well, you get those for free in Hugo, of course.
!! You do? I didn't know that. Do you mean there's a class for ropes already in the libraries, or that other class definitions and such handle this nicely?

Posted: Tue Mar 30, 2004 9:53 am
by Roody_Yogurt
I figured he meant "free ropes to hang oneself with" or something.

Ropes again

Posted: Tue Mar 30, 2004 12:47 pm
by Kent
Yeah, the attachable class in objlib.h. I've used this several times, including in my current thing. There's a hopefully pretty clear example in the sample game, where the attachable class is used for both the rope and the dart/dartboard.

Roody, you're just no good.

Posted: Tue Mar 30, 2004 1:02 pm
by Roody_Yogurt
Er, well, that's the other thing I thought you might mean.