Adam's Lair Forum

game development and casual madness
It is currently 2020/02/23, 23:20

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2015/02/04, 08:43 
Novice Member
Novice Member

Joined: 2015/01/12, 03:26
Posts: 22
Role: Hobbyist
Hi everyone. I'd like to ask why objects on my second scene doesn't display when I switch to game view? Are there some kind of layer or sequence that i need to follow when adding game objects on my second scene? Thanks!


Top
 Profile  
 
PostPosted: 2015/02/04, 09:25 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2073
Location: Germany
Role: Professional
You probably don't have a Camera in your second Scene. No Camera == Nothing to see :D

Edit: Don't forget to add a SoundListener to your Camera object as well, in case you want to hear something.

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
PostPosted: 2015/02/04, 10:26 
Novice Member
Novice Member

Joined: 2015/01/12, 03:26
Posts: 22
Role: Hobbyist
Hi Adam, thanks for the reply :). I have a default camera (camview camera 0) set up then I added an additional camera as my main camera. Here's are some of my problems:

1. When I switch to camview camera 0, everything works fine in the scene view, but not on the game view.

2. When I switch to my newly added camera, it doesn't work on both view(scene and game view)

I tried experimenting with the settings but no luck so far. may I ask for a little guidance? Thanks! :D


Top
 Profile  
 
PostPosted: 2015/02/04, 17:34 
Forum Adept
Forum Adept

Joined: 2014/12/13, 00:11
Posts: 398
Location: Brazil
Role: Gamer
DarkMotoMark wrote:
Hi Adam, thanks for the reply :). I have a default camera (camview camera 0) set up then I added an additional camera as my main camera. Here's are some of my problems:

1. When I switch to camview camera 0, everything works fine in the scene view, but not on the game view.

2. When I switch to my newly added camera, it doesn't work on both view(scene and game view)

I tried experimenting with the settings but no luck so far. may I ask for a little guidance? Thanks! :D


1. You need to adjust your camera to view the scene. Select it on the Scene View and just zoom out the camera until you see your objects. Then you adjust it the way you want to.

_________________
I only know the basics of C#. I have no advanced knowledge.


Top
 Profile  
 
PostPosted: 2015/02/04, 20:52 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2073
Location: Germany
Role: Professional
RockyTV wrote:
1. You need to adjust your camera to view the scene. Select it on the Scene View and just zoom out the camera until you see your objects. Then you adjust it the way you want to.


Probably this. If the Camera sits at (0, 0, 0) and your objects sit at z-0 as well, it simply won't see them. :mrgreen: Also, the "Camview Camera" is not an actual Camera. It is an editor object that is used for the Scene View - which is why you're able to see something in there :)

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
PostPosted: 2015/02/05, 06:02 
Novice Member
Novice Member

Joined: 2015/01/12, 03:26
Posts: 22
Role: Hobbyist
Ok got it. It's working now! Thank Adam and Skoggy :mrgreen:


Top
 Profile  
 
PostPosted: 2015/02/05, 09:45 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2073
Location: Germany
Role: Professional
DarkMotoMark wrote:
Ok got it. It's working now! Thank Adam and Skoggy :mrgreen:


It was actually RockyTV, btw. :mrgreen:

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group