Game Development Community

Logical sprite sizes (again) and documentation format question

by Lennart Steinke · in Torque Game Builder · 03/10/2005 (4:16 am) · 6 replies

Hi!

I have a question regarding this topic that's not in the FAQ ;)
I understand why it's important to have a logical screensize and all... but let's assume that I'd really like to have a logical size of 800x600. That would allow me as a coder to read all logical sprite sizes directly from the gfx program and it would make my life a lot easier as well will trying to figure out how much space I actually have :)

So, if I just want to maintain a logical size of 800x600 no matter what the physical resolution is: what do I do? Also, how would I set up windows that have "weird" sizes like 300x600 with a logical resolution of 300x600?

And finally: what is the logical screen size? I'm pretty sure it's somewhere in the docs but it's not that easy to find all the time. I know PDF is portable but for us window users a CHM would be a really nice thing to have. And the pure HTML would be readable by others as well. One could also use tabbed browsing in this case as well to cross check things.
While I really love PDF for ebooks, it's not that great for help systems / references.

#1
03/10/2005 (4:21 am)
I linked to a couple of things that go over relative sizes and stuff and can be found in this thread

www.garagegames.com/mg/forums/result.thread.php?qt=27134

I hope it helps

From what I gather, it wouldn't be too hard to set it up by sprite size but the way it is now, you are sizing your sprites relative to the in game coords which adjust automatically with different res
#2
03/10/2005 (4:47 am)
I want to know how I can change the "game coords" to match the physical coords for my development resolution, i.e. the resolution the sprites and other graphics were designed for.
#3
03/10/2005 (4:58 am)
Hi,

Please ask support questions on the private forums, thanks.

This is answered in No.11 in the FAQ where it discusses how to setup the camera view to be equal to the window resolution.

I'll be glad to help further on the private forums though. :)

- Melv.
#4
03/10/2005 (5:22 am)
Could you move this thread to the private forum then?
#5
03/10/2005 (5:27 am)
My Fu is not that strong unfortunately. The FAQ, Item 11 does give you the code on how to achieve this though, it's pretty easy to do.

- Melv.
#6
03/10/2005 (6:18 am)
Here's the link that contains the explanation of how to do it.

Look for my post dated "Mar 02, 2005 23:11 GMT".

- melv.