Game Development Community

Camera questions (in-game item not system)

by Nathaniel Edwards · in Torque Game Engine · 04/21/2008 (9:26 pm) · 2 replies

Hello all! if there is already a thread about this im sorry. searching for "camera" yields a lot of what im not looking for :P

im making a game that uses a camera to take pictures and i was wondering how i should capture/record the images? should i just turn off the gui and snap a screen shot and pop the gui back on? if so can i view the pictures ingame once ive saved them as jpg screen shots?

question number 2: i want the game to "know" what your taking a picture of. how would i go about "marking" special photographic objects? can i create invisible markers with information like the angle at which you can see the item and max distance. i would also need to check if anything is in between you and the object.

thanks :)

Nate

#1
04/24/2008 (11:16 pm)
Question number 3: does anyone know of a resource that will allow the player to ride a roller coaster? ive seen a resource that adds rideable objects buy for my game the player doesnt need to move on the ride. (or rather shouldnt be able to :P )

Thanks :)
Nate
#2
04/25/2008 (4:51 am)
A1: I think you should look in to the screen shot stuff, and then you can just draw the image back in a GUI.

A2: To be able to tell if someone has taken a photo of the object in question, you should be able to tell if you check what is in the area, and if its your object then they took the photo. Or even easier you could make it fire a projectile that only lasts a short distance, that will hit the object.

A3: if you want them to not be able to move then you could put them as a passenger in a vehicle, which is controlled by AI. But I think the moveable platforms would be nicer/easier, just make them unable to move. E.g increase their carried mass to unmoveable extremes - so they can still look around easily.