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 6-Jun-2011 06:13:51

sprout
Member
Registered: 6-Jun-2011
Posts: 1

openspace 3D kinect simple game question

hi , i'm try to use kinect plugin to do some simple game.
my idea is to be able to hit droppings ball, and you will get score when you hit a ball.
but i don't know how to show the ball dropping and how to use my hand to hit it.
if i want to let the ball drop continually, what kind of plugin i need ?
when i right click kinect user inst, what should choose for hand hit?

i'm very new for openspace 3D, could anyone tell me how to do it ?

Offline

#2 6-Jun-2011 13:23:50

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

Re: openspace 3D kinect simple game question

Hi sprout and welcome !

I think you will have all what you need in the KandyNect demo, you can open the demo from c:\program files\scol voyager\partition_lockedApp\demos\kinectdemo\kinectdemo.xos

Offline

#3 7-Jun-2011 03:26:20

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: openspace 3D kinect simple game question

hi, i try to change the colorful jewel in kinect andy, i use blender to build another mesh file and replace the item_01 in" kinect_element50.xos" .
but it can not move in the game, it just stay on the spot.
could you please tell me how to let it move?

Offline

#4 8-Jun-2011 00:18:02

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

Re: openspace 3D kinect simple game question

did you set a physic body on it with mass ?

Offline

#5 8-Jun-2011 04:38:43

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: openspace 3D kinect simple game question

ya, i didn't set it. thank you very much.

now it can work already.

Offline

#6 10-Jun-2011 07:01:46

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: openspace 3D kinect simple game question

hi,arkeon
i study from the kandy game, want to do anther simple game.
but when i copy some work from kandy, i found that my  colorful jewel didn't come out continually. just come out 10+ maybe, then stop. did i miss any setting?
where can i change the direction of the jewel, i mean let them come from Y direction, i change "set gravity speed" delete Z value and add 0.5 to Y . but it didn't change the direction.

could you please tell how to solve it?
thank you so much !!!

Offline

#7 10-Jun-2011 08:45:53

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

Re: openspace 3D kinect simple game question

the jewel directions should change with the gravity vector ^^
if your jewel do not restart look in the jewel xos and look if you don't miss to change the object in all plugITs instances

Offline

#8 10-Jun-2011 09:06:36

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: openspace 3D kinect simple game question

hi,arkeon.
the jewel direction should change with the gravity vector, means "game start" out1 ----->"set gravity speed" Set Y?

Offline

#9 10-Jun-2011 09:22:54

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

Re: openspace 3D kinect simple game question

I don't remember how I made this ^^, but yes it should, I think that an another plugIT set the gravity vector to make the jewel faster at each level

look at all the links incoming on this plugIt

Offline

#10 10-Jun-2011 11:26:19

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: openspace 3D kinect simple game question

ya, i found it, just change the link value from Z to Y.
but it still come out once then stop, can you tell me where is the jewel run loop?
because i didn't change the thing inside the jewel xos, and Kandy game and my project call the same jewels ,but one can run continually, one can not.

Offline

#11 11-Jun-2011 08:01:02

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: openspace 3D kinect simple game question

can anyone help me for the jewel run continually?
pls~~~~

Offline

#12 11-Jun-2011 13:21:19

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

Re: openspace 3D kinect simple game question

you must reset the jewel position when it leaves the world or when it collides something

you have to setup all the jewel.xos plugITs with the new mesh instead of the previous one
try to understand what call "object position inst" in jewel.xos

Offline

Board footer

Powered by FluxBB