Adventure Game Studio

Creative Production => Critics' Lounge => Topic started by: Das Plans on Tue 07/02/2006 22:08:55

Title: Scaling Problem
Post by: Das Plans on Tue 07/02/2006 22:08:55
Hey there!

I've been trying to draw my own backgrounds for quite a while now, and I guess I got the hang of the basics by now. But there is still one particular problem that is bending my mind into a pretzel: The mystery of scaling. Here's what I mean:

(http://www.2dadventure.com/ags/vpointincident.gif)

X marks the spot … erm, the vanishing point. Now, the room and the object themselves should be OK. The character seems fine, too â€" unless he walks a few steps down. Then the object “outscales” him by far. My problem is: I don't want to scale up my character-sprite. I don't recall Indy being scaled to that extend … or any other adventure-celebrity.

What am I doing wrong? Or I am I missing a certain issue regarding vanishing points and dimensions? Do I have too fool the player's vision by not scaling the objects in the foreground correctly? Or is it just a matter of limited walkable areas?

Help me! Help me, please! I'm desperate. This is the last obstacle in my way. When this problem is solved, I'll be able to finally make my first game. Bah, who am I kidding? I'll find another obstacle.Ã,  ;) Whatever, advice is very, very welcome!

And I hope, to be in the right forum. If not, sorry, and feel free to move it whereever.Ã,  :)

Thanks!
Title: Re: Scaling Problem
Post by: MarVelo on Tue 07/02/2006 22:17:23
Its because he should scale down not up. He should be tall enough at the nearest point and shrink as he goes back
Title: Re: Scaling Problem
Post by: Das Plans on Tue 07/02/2006 22:23:31
Reverse psychology, eh? That should work. I feel dumb.  :-\
Title: Re: Scaling Problem
Post by: Evil on Tue 07/02/2006 22:40:24
Usually it's best to design rooms so you don't have to scale much, ie draw the counter from the front. But yes, draw from the forground back.
Title: Re: Scaling Problem
Post by: DanClarke on Tue 07/02/2006 22:49:22
I draw my rooms using my character as a reference for sizes of objects etc.

It's best to scale things so that the foreground objects are in proportion to the character at it's orignial size, because the scaling always goes down not up.
Title: Re: Scaling Problem
Post by: Das Plans on Tue 07/02/2006 22:50:30
Dammit. I really am dumb ... Show things from the front. Draw from the foreground back. It seems so obvious ... now. D'oh ... Ã,  :)

Well, whatever. It's all your guys' fault, when I have no excuse left, to not work on my game now.  ;)

Thanks!
Title: Re: Scaling Problem
Post by: Shane 'ProgZmax' Stevens on Wed 08/02/2006 02:43:29
You can also draw your backgrounds so scaling isn't necessary.  In other words, avoid objects that stretch from the foreground to the background.