Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: PsychicHeart on Wed 17/05/2006 03:50:14

Title: Falling off the edge?
Post by: PsychicHeart on Wed 17/05/2006 03:50:14
If anyone has played Sega's Marble Madness,
you'll know that pressing too hard in direction could cause your
avatar(the ingeniously titled "Marble") over the edge into a bottomless chasm.
I was wondering if AGS uses a possible system like this?
Obviously the game couldn't be point-n-click.
Anyhoo, i'm not planning to make a game like this or anything,
i was just wondering if AGS has a hidden coding function somewhere
that is relevant to this.
Cheers,
-Fluke.
Title: Re: Falling off the edge?
Post by: R4L on Wed 17/05/2006 11:59:41
Well one function won't do what marble madness does, and trust me, there aren't any hidden functions. Its possible though, in fact, I think I might go try to do this. I suppose you could use regions for the falling part ( I think KQ VGA did this ) but as for the rest:

Keyboard Control: Could be mapped to the arrow keys using bernie's 8-Direction Movement module. Or you could use strazer's keyboard module. Either way the controls need to let the marble or whatever the object is move 360 degrees.

Level: Marble madness has isometric levels, if I remember correctly.

I say its highly possible in AGS.
Title: Re: Falling off the edge?
Post by: Hammerite on Wed 17/05/2006 15:55:59
personally i think that (if you could do it) you could move the mouse to maneuver the marble round, but unless there's a module for that, it'll be kinda difficult to code i guess.
Title: Re: Falling off the edge?
Post by: R4L on Wed 17/05/2006 21:03:36
Not necessarily Hammerite. It's not too hard to code continous movement with the mouse, but as for stopping or something, thats another story.