This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2010-04-18 14:49:10

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Wii Remote

johnnydean1 wrote:

If you hold it on its side (Like a X-box / PS3)

------------------------------------------------------------------------------------------
     Up                                  +                                            |
Left  Right                                                  1           2          |
    Down                               -                                             |
------------------------------------------------------------------------------------------

Ah...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#27 2010-05-31 10:12:15

tamagotchi65
Scratcher
Registered: 2009-07-15
Posts: 5

Re: Wii Remote

All right so you program a game hooked up to the wiimote with the picoboard. right?

Offline

 

#28 2010-05-31 10:49:49

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Wii Remote

No, we never got that far. You run glovepie and it turns the Wii Mote's output in to a key. This is called emulation.

So, the you could emulate the a key on the Wii Mote to press the a key on your keyboard.


You can now reach me on Twitter @johnnydean1_

Offline

 

#29 2010-05-31 19:15:06

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Wii Remote

I was thinking maybe use wiinremote to connect the wiimote via bluetooth, then write a python script that communicates with scratch


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#30 2010-06-01 03:15:57

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Wii Remote

This has been done with Java I will post a link


You can now reach me on Twitter @johnnydean1_

Offline

 

#31 2010-06-01 03:22:45

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Wii Remote

Ok, look at this: http://code.google.com/p/wii2scratch/downloads/list

Next step, no extra program  smile


You can now reach me on Twitter @johnnydean1_

Offline

 

#32 2011-03-24 17:52:07

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Wii Remote

I'm trying to make special blocks that use ascii values 128-156 for various wii sensing things. I think have the part of the code that is in Squeak working, but I can't get the part in Glove Pie working. Here are the things that it detects and there asciis: (this isn't in GlovePie)


Code:

Command=ascii
A button = 128 
B Button = 129
1= 130 
2= 131 
+= 132 
-= 133 
Home= 134 
D up= 135 
D right= 136 
D down= 137 
D left= 138 
C= 139 
Z= 140 
Joy up= 141 
Joy right=142 
Joy down=143 
Joy left= 144 
Shake=145 
Swing vertical= 146
Swing Horizontal= 147
Swing up= 148
swing right= 149
Swing down= 150
Swing left= 151
Poke= 152
Cross arms= 153
Up down arms= 154
Clockwise circle= 155
Cclockwise circle= 156

Can anyone help with the GlovePie?

Offline

 

#33 2011-03-26 13:13:04

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Wii Remote

Billybob-Mario wrote:

I'm trying to make special blocks that use ascii values 128-156 for various wii sensing things. I think have the part of the code that is in Squeak working, but I can't get the part in Glove Pie working. Here are the things that it detects and there asciis: (this isn't in GlovePie)


Code:

Command=ascii
A button = 128 
B Button = 129
1= 130 
2= 131 
+= 132 
-= 133 
Home= 134 
D up= 135 
D right= 136 
D down= 137 
D left= 138 
C= 139 
Z= 140 
Joy up= 141 
Joy right=142 
Joy down=143 
Joy left= 144 
Shake=145 
Swing vertical= 146
Swing Horizontal= 147
Swing up= 148
swing right= 149
Swing down= 150
Swing left= 151
Poke= 152
Cross arms= 153
Up down arms= 154
Clockwise circle= 155
Cclockwise circle= 156

Can anyone help with the GlovePie?

Anyone?

Offline

 

Board footer