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

#26 2012-03-20 12:02:07

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

make a variable named dragging
then if something is being dragged set it to 1
and you get the idea


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#27 2012-03-20 12:04:18

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ScratchJava

muppetds wrote:

make a variable named dragging
then if something is being dragged set it to 1
and you get the idea

Or a boolean...?

Offline

 

#28 2012-03-20 12:04:42

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

ProgrammingFreak wrote:

muppetds wrote:

make a variable named dragging
then if something is being dragged set it to 1
and you get the idea

Or a boolean...?

or that


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#29 2012-03-20 12:05:33

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ScratchJava

muppetds wrote:

ProgrammingFreak wrote:

muppetds wrote:

make a variable named dragging
then if something is being dragged set it to 1
and you get the idea

Or a boolean...?

or that

tongue

Offline

 

#30 2012-03-20 12:07:47

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

It's not nearly that simple.
You need to identify who is being dragged too.


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#31 2012-03-20 12:10:22

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

poopo wrote:

It's not nearly that simple.
You need to identify who is being dragged too.

use a char then

Set a name of the block being dragged to the char

Last edited by muppetds (2012-03-20 12:11:09)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#32 2012-03-20 12:12:26

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

poopo wrote:

It's not nearly that simple.
You need to identify who is being dragged too.

use a char then

Set a name of the block being dragged to the char

I don't that will work either.

@ZeroLuck Do you guys have snapping yet?

Last edited by poopo (2012-03-20 12:12:57)


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#33 2012-03-20 12:16:19

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

try it though


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#34 2012-03-20 12:19:22

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

try it though

ok


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#35 2012-03-20 12:20:23

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

I added hatblocks!  smile


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#36 2012-03-20 12:22:12

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

great
does the dragging work?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#37 2012-03-20 13:30:05

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

any changes to the code please post when you get the new dragging system working


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#38 2012-03-20 14:55:34

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

scratch that: give me all the code changes now please


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#39 2012-03-20 14:58:31

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

scratch that: give me all the code changes now please

Ok the char didn't work. how do I upload?

Last edited by poopo (2012-03-20 14:59:33)


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#40 2012-03-20 15:09:19

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

the code?

i don't know actually


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#41 2012-03-20 15:15:14

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

the code?

i don't know actually

Then how am I supposed to get it to you?


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#42 2012-03-20 15:20:32

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

poopo wrote:

muppetds wrote:

the code?

i don't know actually

Then how am I supposed to get it to you?

ZIP The netbeans project folder
login to SF
then click files
then add files r
then upload the zip

smile


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#43 2012-03-20 15:21:36

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

poopo wrote:

muppetds wrote:

the code?

i don't know actually

Then how am I supposed to get it to you?

ZIP The netbeans project folder
login to SF
then click files
then add files r
then upload the zip

smile

Ok thanks! Can I just finish snapping?


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#44 2012-03-20 15:23:13

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

yep
snapping?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#45 2012-03-20 15:25:21

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

yep
snapping?

Putting the blocks together and having them drag together.


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#46 2012-03-20 15:26:08

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

ok


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#47 2012-03-20 15:27:16

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

so you fixed the dragging bug?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#48 2012-03-20 15:33:58

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

so you fixed the dragging bug?

No.  tongue


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#49 2012-03-20 15:34:29

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: ScratchJava

ill try and fix it


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#50 2012-03-20 15:45:06

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: ScratchJava

muppetds wrote:

ill try and fix it

ok


http://i45.tinypic.com/28rnqki.jpg

Offline

 

Board footer