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.

#51 17-Feb-2012 16:04:33

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

Re: move a selected object with the keyboard

look at the car interface examples
there is also several posts on this subject on the forum

Offline

#52 17-Feb-2012 17:48:03

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

The car interface receives an argument of call. I know that. How callback can not find anywhere else.

Last edited by slavavs (17-Feb-2012 17:50:31)

Offline

#53 17-Feb-2012 17:59:05

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

Re: move a selected object with the keyboard

here a sample, it's a timer with calls by the two sides
timer

Offline

#54 17-Feb-2012 19:39:18

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

how to access the edit var xos another file?

Offline

#55 17-Feb-2012 20:07:01

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

Re: move a selected object with the keyboard

not sure of what you mean, but try the misc tunnel plugIT it permit to throw event with param to an another instance

Offline

#56 17-Feb-2012 20:13:09

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

elem.xos - edit var, instantiate.xos - Flash Interface. how to pass a parameter from the edit var in a Flash Interface (which is in another file - instantiate.xos)

Offline

#57 17-Feb-2012 20:18:09

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

Re: move a selected object with the keyboard

from the flash plugIT event -> tunnel.input
then you can get the value in the elem.xos, add a tunnel with the same name

Offline

#58 17-Feb-2012 20:46:20

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

THANK YOU!! How to make sure that when you add a new object is the number of summed. I added elem.xos with parameter 200, the other elem.xos with parameter 300. In instantiate.xos - Flash Interface - we should see the number 500 smile

Offline

#59 18-Feb-2012 08:45:17

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

I know how to summarize the number and subtract the number. But can you do in OS3D logic (200+300+300 = 800. And if I delete the object (800-200 = 600). But when I add the object of the program adds to 800, rather than 600. Need somewhere to store the last number. var increment and var decrement be logically combined. (200+200+200-200+200-100 = should be 500)

Last edited by slavavs (18-Feb-2012 08:53:30)

Offline

#60 18-Feb-2012 09:54:09

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

I understood everything! Your program is the best!

Offline

#61 18-Feb-2012 13:15:12

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

Re: move a selected object with the keyboard

great smile well done

Offline

#62 18-Feb-2012 17:49:35

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

Can you think of something like print screen button? For example, man created the model. This model should be saved in the format jpg.

Last edited by slavavs (18-Feb-2012 17:50:22)

Offline

#63 18-Feb-2012 17:51:11

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

Re: move a selected object with the keyboard

why not smile

add an issue on the redmine.scolring.org to propose this functionality

Offline

#64 18-Feb-2012 17:54:17

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

you implement this feature in next release?

Offline

#65 18-Feb-2012 17:55:18

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

Re: move a selected object with the keyboard

I don't know I have already a lot of things to do smile
but maybe if I have time

Offline

#66 18-Feb-2012 18:15:41

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: move a selected object with the keyboard

Make a screen shot ?
If yes, i may add this in my contribution version of os3d (no date planned). But add this issue in the redmine if you want this to be added.

Offline

#67 18-Feb-2012 18:29:47

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

Re: move a selected object with the keyboard

I think that we'll need a new function in SO3Engine to just get the 3D state

Offline

#68 18-Feb-2012 20:50:33

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

I added this issue in the redmine (382). I would like a solution to save the scene as an image smile

Offline

#69 18-Feb-2012 21:10:14

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

advise me how best to do it. I'll have a scene where I'm going to add objects. I do not know where to adjust the light. In a file with an object or a scene where I'm going to add. Can customize the scene, put walls, set light everywhere, and already on the scene do make objects. Would it be right? Or, in each file with the object you want to configure the light and have these settings to add the object? And is it possible to change the color of objects from another file?

Last edited by slavavs (18-Feb-2012 21:15:30)

Offline

#70 18-Feb-2012 23:43:52

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: move a selected object with the keyboard

slavavs wrote:

I added this issue in the redmine (382). I would like a solution to save the scene as an image smile

No, I thought of a simple screen shot

Offline

#71 18-Feb-2012 23:44:45

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: move a selected object with the keyboard

slavavs wrote:

advise me how best to do it. I'll have a scene where I'm going to add objects. I do not know where to adjust the light. In a file with an object or a scene where I'm going to add. Can customize the scene, put walls, set light everywhere, and already on the scene do make objects. Would it be right? Or, in each file with the object you want to configure the light and have these settings to add the object? And is it possible to change the color of objects from another file?

Open a new thread for each new question … Here, it is " move a selected object with the keyboard "
Thanks

Offline

Board footer

Powered by FluxBB