Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 16-Dec-2013 00:11:07

cel
Member
Registered: 12-Dec-2013
Posts: 51

changing scenes?

let's say I have to scenes, and I want to change from one to another (like levels in a game), how can I achieve that? I mean, loading one scene and all its elements and plugits and then pressing a key load another scene? I just can't figure this out?

Offline

#2 16-Dec-2013 00:33:55

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: changing scenes?

Hi !

You can do this with the Instantiate plugIT.

Your main XOS contains the main project plugITs and resources, like the main game menu.
and you load / unload other XOS files with the instantiate plugIT

Offline

#3 16-Dec-2013 00:37:30

cel
Member
Registered: 12-Dec-2013
Posts: 51

Re: changing scenes?

ok, thanks for the quick reply, i thought instantiate was only for objects... getting confused with other engine i use....

Offline

#4 16-Dec-2013 00:41:19

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: changing scenes?

Instantiate allows to load / unload OS3D project.
this can be an object like a lamp with the light on/off functionnality for example.
Or a complete level witch load instantiate at it's turn.

Offline

Board footer

Powered by FluxBB