TGE side scrolling camera
by Xibz · in Torque Game Engine · 05/16/2008 (1:22 pm) · 3 replies
I was wondering if I could use torque script to do this feature? Or would I have to modify the camera.cc to achieve this?
About the author
#2
Yes you can do this in script (I'm sorry I don't know how.) I think if you set the camera location on the side of your character you can use setLocation or setTransform or similar to match your character's position.
Is there a 'camera.cs' file?
Tony
sorry, I'm using my phone to post this...
05/16/2008 (5:42 pm)
I think a 3D side scroller would be awesome.Yes you can do this in script (I'm sorry I don't know how.) I think if you set the camera location on the side of your character you can use setLocation or setTransform or similar to match your character's position.
Is there a 'camera.cs' file?
Tony
sorry, I'm using my phone to post this...
#3
This should help you out. You'll want to merge only the lines of code needed for the camera tho, as it was written for tge 1.3. I do know people have got it working in tge 1.5, so it's possible.
05/16/2008 (6:45 pm)
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471This should help you out. You'll want to merge only the lines of code needed for the camera tho, as it was written for tge 1.3. I do know people have got it working in tge 1.5, so it's possible.
Torque Owner Tyler Slabinski