|
Isometric camera controll
#244391
01/04/09 13:51
01/04/09 13:51
|
Joined: Dec 2008
Posts: 14 Nashville, Tennessee
Kfoster825
OP
Newbie
|
OP
Newbie
Joined: Dec 2008
Posts: 14
Nashville, Tennessee
|
Im very new to Gamestudio, and programming in general, so please forgive my ignorance.....but I'm having such fun with Gamestudio I can't help myself but ask.
I have an idea for an isometric game, and I can place the camera where I want by:
camera.x = -256 camera.y = -256 camera.z = 400 camera.tilt = 60
I need to play with the values, so I can get the right view of my terain, but that's the way I did it. However, when the game starts I get a "press o to move the camera" or some such message.
Is there a way to lock the camera in place, and then attach it to my player and move to a new location and lock it in place again? Also, when the camera is locked in place, I still want to move my player around.
Is there a standard way to program an isometric view camera?
Thanks for reading my post!
|
|
|
Re: Isometric camera controll
[Re: Kfoster825]
#244459
01/04/09 20:27
01/04/09 20:27
|
Joined: Oct 2008
Posts: 218 Nashua NH
heinekenbottle
Member
|
Member
Joined: Oct 2008
Posts: 218
Nashua NH
|
I need to play with the values, so I can get the right view of my terain, but that's the way I did it. However, when the game starts I get a "press o to move the camera" or some such message.
If you started an A7 project, the default code has
printf("Press [0] to move the camera!"); in its main() function. Simply remove that.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|