Game Development Community

Camera View

by Lennart Steinke · in Torque Game Builder · 03/10/2005 (5:30 am) · 21 replies

How do I change the camara, so that instead of (-50,-35) to (50,35) it uses (-400,-300) to (400,300)?
So that my camera would match the resolution of (800,600) I'm developing my gfx for?

I understand why a logical camera view is a good thing in 3d, but unless t2d get's support for vector gfx in one way or another, the logical "screen size" is pretty useless. If I change the resolution say in a 2d rts, I don't want scaled gfx, I want a larger view of the map.
Also, since the increased resolution doesn't increase the gfx quality I'm not sure what it's used for.
I know the camera can be used for split screen and similar effects, but for the normal 2d stuff it would be better to have a default logical size matching the physical size.
This would also stop the "where is point x,y in my sprite?" questions - while you still maintain full flexibility ;)
Page«First 1 2 Next»
#21
03/11/2005 (6:07 am)
Okay!

No hard feelings, let's go make some games. :)

- Melv.
Page«First 1 2 Next»