Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
two camera
Topic Started: Jul 22 2006, 09:47 AM (262 Views)
Maurogames
Unregistered

How can I use two "camera"?
for example:

if var=1
{
/ / use camera1
else
{
/ / use camera2
}


sorry for bad english! <_<
Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
You don't have to have 2 cameras. You can just change the distance and rotation and stuff like that and maybe even perspective on the camera if var=1. There are maybe better solutions.
Offline Profile Quote Post Goto Top
 
Maurogames
Unregistered

No. I want to create 2 "camera" and I would like to use if var=1, the first one otherwise the second, for example:
if var=1
{
instance_create(x,y,camera1)
}
else
{
create camera 2
}
Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Maurogames
Jul 23 2006, 10:11 AM
No. I want to create 2 "camera" and I would like to use if var=1, the first one otherwise the second, for example:
if var=1
{
instance_create(x,y,camera1)
}
else
{
create camera 2
}

Why do you need 2 camera objects? :huh: 1 camera can do all the work for you.
Offline Profile Quote Post Goto Top
 
Guest
Unregistered

-_- emmmm... :whistle:
I don't know the precise motive, but I would like to create:
a multyplayer or a game to 2 players...
Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Guest
Jul 23 2006, 06:09 PM
-_- emmmm... :whistle:
I don't know the precise motive, but I would like to create: 
a multyplayer or a game to 2 players...

I don't think you will be needing 2 cameras even if it's a multiplayer game. Then I would have to place tons of cameras in my mmorpg I am making. However, you can set out 2 diffrent starting positions for the camera and make it so that you will randomly spawn at one of these locations when you connect to the game.
Offline Profile Quote Post Goto Top
 
The3DGameMaker
Member Avatar
Advanced Member
[ *  *  * ]
why do you need 2 cameras?
For example, when one person get a thing (for example, a key) the camera goes to another position, to another person (of the game) continue the game?
With a bad english like that, no one can help you.
My Newgrounds account
Posted Image

Member #69. LMAO.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply