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 19-Jul-2012 12:07:03

azis bahari
Member
Registered: 3-May-2012
Posts: 28

random instantiate

I make a game with openspace3d
such as flash as its menu the play button
da I make the play there are many instantiate ....
what if I can hit the play button when selecting randomly instantiate

and how to make a score on openspace ....
for example when in the game there are 5 buttons ..
when I have played a key 1, then the 1 key can not be played again

Offline

#2 19-Jul-2012 17:14:26

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

Re: random instantiate

hi

you can use the random plugIT to randomly start instantiate plugIT.
for the score use a flash interface or a var plugIT to increment the score.
to disable an link you can use the switch plugIT

Offline

#3 19-Jul-2012 20:40:08

azis bahari
Member
Registered: 3-May-2012
Posts: 28

Re: random instantiate

I still do not know how to disable link instantiate
1.main instantiate ........................... A. instantiate
                                                         2. instantiate
                                                         3. instantiate
please explain to scoring using a var ...

Offline

#4 23-Jul-2012 08:20:22

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

Re: random instantiate

random.out1 -> switch.input
switch.left -> instantiate.add instance

when you want to disable the link switch the switch plugIT on right

Offline

Board footer

Powered by FluxBB