Game Development Community

Camera issues

by Danny Reid · in Torque Game Engine · 01/17/2009 (2:31 pm) · 3 replies

Hello,
I am quite new to Torque and having a bit of trouble with the camera. I am using TGEA 1.7.1 and using the default project. I was wondering if there is a way to have a camera that does not move and just have the player object move around, independently. I looked at the official book, the forums and looked through the code myself but I am unable to find a solution. This kind of setup is needed as I wish to create a bomberman style of game.

Thanks,
Sunny.

About the author

Recent Threads

  • PlayerList crashes game

  • #1
    01/17/2009 (2:41 pm)
    Hey Danny,

    Try the Advanced Camera Resource, I bet it is a good starting point (Static camera mode).
    www.garagegames.com/community/resources/view/5471
    #2
    01/17/2009 (3:10 pm)
    Thanks, this looks like a great way to get started. I have two more questions before I can confidently get this started. Since I am making a bomberman type of game, I was wondering if multiple players can be controlled (p1: keyboard, p2: gamepad) on one instance of the game? Or do they have to connect to the host on a different machine? Secondly, if this were possible could I not simply create a player object in the sky looking in 3rd person over the game map and use that as the main camera. Then all the remaining players would just look at their players through this camera.
    #3
    01/18/2009 (1:56 am)
    If your control scheme is simple enough, it should be possible to control multiple Players over one connection. You'd need to tinker with functions like setControllingClient though. At the moment, the engine seems to be geared towards one player/client.