Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Joseph on Mon 26/10/2009 19:41:23

Title: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: Joseph on Mon 26/10/2009 19:41:23
Hi Poochies,

I was wondering the other day how did they get a fake 3d effect in Full Throttle during the motorcycles driving sequences...

Im thinking they pre-rendered the 3d, (camera moving through the road + mountains, viewed with perspective), and then displayed them as images one after the other...the full throttle guy's sprite can then be moved just left or right (strathe)...

Im guessing this is really doable in AGS (of course)...I was wondering if anyone already fiddled around with this kind of thing.

http://www.youtube.com/watch?v=gZO-b3lT3zE&feature=related (http://www.youtube.com/watch?v=gZO-b3lT3zE&feature=related)
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: on Mon 26/10/2009 21:05:59
No idea who Poochies is (or are?) but yes, you can create the effect of a straight moving landscape with a couple of cycling frames, and have sprites for the players on top of that landscape. Has been done in countless games that do fake 3D with a 2D engine, and as far as I can tell, it's perfectly possible to rereate that effect in AGS.

Did you just want to know that it can be done, or are you looking for tips HOW it can be done?

And who, really, is Poochies?
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: Joseph on Mon 26/10/2009 21:27:08
Poochies: nickname refering to a group of people in the lines of "dude" or "amigo" or "KrapSmackers" or "SmurfMunchers"... 8)

Well, I guess I already guessed it can be done, I suppose it would be cool if someone could point me to an AGS game that uses that feature...Ill be glad to look at it and try out a few things myself.

Basically my character is riding a turtle, and using the same viewpoint as FullThrottle (from behind the motorcycle), I'd have the turtle being ridden through a cactus patch and you need to make sure you dont hit the cactuses...

Also there will be other turtles walking around on the same road so you cant hit them either...and you can also align yourself behind another turtle and "attemps to mate" with it "if that turtle is female + and in heat"....

Heh....
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: RickJ on Mon 26/10/2009 21:55:14
You may want to take a look at DemoCycle (http://demo.agspace.ws/project/archive/DemoCycle-A0100.zip).
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: ThreeOhFour on Tue 27/10/2009 01:44:14
Quote from: Joseph on Mon 26/10/2009 21:27:08
Also there will be other turtles walking around on the same road so you cant hit them either...and you can also align yourself behind another turtle and "attemps to mate" with it "if that turtle is female + and in heat"....

Heh....

Suddenly, your signature seems to take on a completely different meaning.
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: TerranRich on Tue 27/10/2009 03:59:17
That looks like actual 3D to me. Maybe it's just because I can't tell how else they could have done it.
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: Ryan Timothy B on Tue 27/10/2009 04:29:30
QuoteThat looks like actual 3D to me. Maybe it's just because I can't tell how else they could have done it.
I've never actually played this game, but I checked out the other YouTube videos.  Yes, it appears to be 3d.


Now IF you knew what you were doing behind the scripts, you could (with a few headaches to keep you busy) program a 'mini-game' that looks very similar to the 3d look that game had.  But it would take a while to tweak it to perfection.


QuoteYou may want to take a look at DemoCycle.
lol I had to download AGS 2.72 for this, and I must say...
...that I'm completely thankful that AGS 3.0+ came out a few months or so after I started tinkering with AGS.  I forgot how annoying the layout was for everything.
I'm surprised some people still play around with that fussy old relic. :P
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: monkey0506 on Tue 27/10/2009 05:29:29
Quote from: Ryan Timothy on Tue 27/10/2009 04:29:30I must say...
...that I'm completely thankful that AGS 3.0+ came out a few months or so after I started tinkering with AGS.  I forgot how annoying the layout was for everything.
I'm surprised some people still play around with that fussy old relic. :P

When I got started it was like 2.6 or something and even if you got into the scripting you had to use silly old things like InterfaceOn and InterfaceOff (later GUIOn and GUIOff, then finally GUI.Visible). AGS has evolved incredibly over the last 5 1/2 years that I've been using it.

Going back to the 2.72 and earlier versions are sure to remind us of that if we've been using 3.0+ for a while. One script open at a time? The script module manager...yeck...I'll take 3.0+ any day. :)
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: Charity on Tue 27/10/2009 18:31:53
Hmm.  That might be real 3D or it might be a 2D animation like you said.  I can't really tell from the video.  If we are talking the fake 3d, I'm pretty sure KQ2+ used the 4 or so frame version in the seahorse chase scene.  If you want to do something fancy like Full Throttle, I don't think there is a good way to do an animation of any real length, in engine, but isn't there a plug-in that lets you imbed Ogg Theora video files into the background?  So you might be able to display a 2D turtle riding sprite on top of an actual video, though syncing everything so you die when you hit the cacti or whatever might be a bit of a hassle, depending on how you do it.

I'm reminded of the chase scene from Triplets of Belleville.
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: GarageGothic on Tue 27/10/2009 18:50:35
Full Throttle used fake 3D - the road is a prerendered video similar to Rebel Assault from around the same time.
Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: Ali on Tue 27/10/2009 22:01:45
I agree that it's definitely pre-rendered, and as Lyaer says I believe the effect could be created using Scotch's ags_theora Video Player (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=34910.0) which allows you to use a  video as a background and animate objects in the foreground.

Title: Re: Full Throttle "Fake 3D" during the motorcycle sequences
Post by: Khris on Wed 28/10/2009 02:46:48
Yes, definitely pre-rendered.
They've probably used a huge table containing road tilt, curvature, exits, etc. to sync the 2D sprite's behaviour with the vid.