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

#3826 2010-10-06 18:19:35

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Panther development thread

Heliosa wrote:

How exactly do you find the data you receive from a mesh? Also, is there a way to test a mesh project locally?

Host and receive on your computer. That's how I test mesh things.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#3827 2010-10-06 18:34:05

Heliosa
Scratcher
Registered: 2007-07-24
Posts: 86

Re: Panther development thread

Okay, thanks, but how do I use the data I get from the mesh? Where does it show up?


What are you looking at?

Offline

 

#3828 2010-10-07 05:55:24

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

near the bottom of the sensing tab there's a ([sensor A] value) block or something similar. Once you connect to mesh, the variables in the other project will appear in that dropdown.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3829 2010-10-07 06:35:28

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

Re: Panther development thread

sparks wrote:

near the bottom of the sensing tab there's a ([sensor A] value) block or something similar. Once you connect to mesh, the variables in the other project will appear in that dropdown.

Yes, that does work, though it gets pretty annoyed when you reload the project after saving, personaly I prefer to use that (Get [variable v] from mesh) reporter of Jd1's.


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

 

#3830 2010-10-07 07:36:30

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Panther development thread

markyparky56 wrote:

sparks wrote:

near the bottom of the sensing tab there's a ([sensor A] value) block or something similar. Once you connect to mesh, the variables in the other project will appear in that dropdown.

Yes, that does work, though it gets pretty annoyed when you reload the project after saving, personaly I prefer to use that (Get [variable v] from mesh) reporter of Jd1's.

Can I have a link to that block's code maybe?

Offline

 

#3831 2010-10-07 09:55:27

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

I always wondered how jd's block was different to the one supplied with scratch, but I do have the block code somewhere. I'm at school right now, I'll post the CYOB code ASAP when I get home.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3832 2010-10-07 09:58:29

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

oh! nXIII, the download counter has stayed at 866 for a few weeks now, is it broken or is noone downloading Panther anymore? I think it's broken because I downloaded it on a school computer the other day and nothing happened.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3833 2010-10-07 11:14:23

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

Re: Panther development thread

Ill see if Ive got a copy of my sensing block. In future if you want a block made/want me to get the code for a block post a comment on one of my projects.

EDIT:
Input1:
get $String$ from mesh

Input2:
-r

Input3:
|inmesh t2 t3|

    (t3 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [t3 _ (self ownerThatIsA: OffscreenWorldMorph) frame].
    (t2 _ t3 workPane scratchServer) ifNil: [t2_ false.].
    t2 = false
ifTrue: [
inmesh_ false.
]
ifFalse:
[
inmesh_ true.
].


inmesh = true
ifTrue: [
^ self sensor: (t1).
]
ifFalse: [
^ 0.
].


EDIT No.2

Try this:

|inmesh t2 t3 sensors part2 |
part2_ true. "Set to false for old one"

    (t3 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [t3 _ (self ownerThatIsA: OffscreenWorldMorph) frame].
    (t2 _ t3 workPane scratchServer) ifNil: [t2_ false.].
    t2 = false
ifTrue: [
inmesh_ false.
]
ifFalse:
[
inmesh_ true.
].


inmesh = true
ifTrue: [
part2 = true
ifTrue: [
sensors_ self hookupSensorNames.
sensors_ sensors asString.
sensors_ self indexOf: (t1) startingAt: (0) in: (sensors).
sensors = 0
ifTrue: [
inmesh_ false.
].

].
inmesh = true
ifTrue: [
^ self sensor: (t1).
].
]
ifFalse: [
^ 0.
].

Last edited by johnnydean1 (2010-10-07 11:20:22)


You can now reach me on Twitter @johnnydean1_

Offline

 

#3834 2010-10-07 13:16:27

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

thanks for the helpful post, jd  smile 

I checked our archive, and we have this block submitted by you which I think is the one you're on about:

Code:

get $String$ from mesh               -

Code:

|inmesh t2 t3| (t3 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [t3 _ (self ownerThatIsA: OffscreenWorldMorph) frame]. (t2 _ t3 workPane scratchServer) ifNil: [t2_ false.]. t2 = false ifTrue: [ inmesh_ false. ] ifFalse: [ inmesh_ true. ]. inmesh = true ifTrue: [ ^ self sensor: (t1). ] ifFalse: [ ^ 0. ].

http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3835 2010-10-09 11:22:19

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

Re: Panther development thread

sparks wrote:

thanks for the helpful post, jd  smile 

I checked our archive, and we have this block submitted by you which I think is the one you're on about:

Code:

get $String$ from mesh               -

Code:

|inmesh t2 t3| (t3 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [t3 _ (self ownerThatIsA: OffscreenWorldMorph) frame]. (t2 _ t3 workPane scratchServer) ifNil: [t2_ false.]. t2 = false ifTrue: [ inmesh_ false. ] ifFalse: [ inmesh_ true. ]. inmesh = true ifTrue: [ ^ self sensor: (t1). ] ifFalse: [ ^ 0. ].

Its different because you don't have to be in a mesh to get the block, thats why I like it.  big_smile


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

 

#3836 2010-10-09 16:35:55

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

Re: Panther development thread

Yes, my new one that I posted before should never report a error!

I keep making it better!


You can now reach me on Twitter @johnnydean1_

Offline

 

#3837 2010-10-10 19:17:50

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Panther development thread

nXIII wrote:

Sorry to intervene, but this is the Panther development thread and none of the recent conversations have anything to do with Panther for a while.

Wow.

That was the 3000th post.


Marzipan11 must learn to not spoil

Offline

 

#3838 2010-10-15 10:06:33

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

gah! sorry to say that I have no internet until the 23rd october.  sad  It's annoying me as much as anyone  hmm


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3839 2010-10-15 10:09:52

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

Re: Panther development thread

ok again  smile


You can now reach me on Twitter @johnnydean1_

Offline

 

#3840 2010-10-25 08:51:13

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

Re: Panther development thread

Does anyone look at the contests page? Just wondering...


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

 

#3841 2010-10-25 09:00:28

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

Re: Panther development thread

Im waiting for 1.1 to make anything


You can now reach me on Twitter @johnnydean1_

Offline

 

#3842 2010-10-25 20:26:29

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Panther development thread

sparks wrote:

gah! sorry to say that I have no internet until the 23rd october.  sad  It's annoying me as much as anyone  hmm

You may want to update thes site. The forums are outta-wack and it still says I'm a dev  big_smile

The contest has been going for a few months x_x


http://i46.tinypic.com/dw7zft.png

Offline

 

#3843 2010-10-27 19:03:58

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Panther development thread

On a percentage scale, how close is Panther 1.1 to completion?


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#3844 2010-10-27 19:07:56

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Panther development thread

henley wrote:

On a percentage scale, how close is Panther 1.1 to completion?

Ack. Uh....10%?


nXIII

Offline

 

#3845 2010-10-28 00:26:16

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: Panther development thread

hey guys, i've created a sequel to m zombie game and made it exclusively for panther, you can view it here; http://scratch.mit.edu/projects/PlayWithFire/1377449

just wanted to say that me making my zombie game, red dawn awakening 2, exclusively for panther is me showing my support for you guys, keep up the great work!

oh and i've linked any people who don't own panther to your website so that they can download it.


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#3846 2010-10-28 08:23:53

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

Thanks, PlayWithFire, that's really cool! you know, if you email the project to the panther team, we can put it on our projects page on the Panther site  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3847 2010-10-28 10:49:21

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: Panther development thread

sounds cool!

could i get panther's email?  or whoever's email i should email it too  tongue


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#3848 2010-10-28 11:55:01

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

the panther email (which I assume I am allowed to share here as it's not a personal email or contact and is on our site anyway) is pantherteam@ymail.com

there's even an email tag in the bb code! anyhoo, if I wasn't supposed to post that, sorry, you can see it here at our site - be sure to register your email to your scratch username as explained on that page  smile  http://pantherprogramming.weebly.com/re … -form.html


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3849 2010-11-02 05:28:27

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

Re: Panther development thread

Hows 1.1 going


You can now reach me on Twitter @johnnydean1_

Offline

 

#3850 2010-11-06 16:00:31

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Panther development thread

Roughly 11.3% of all posts in Advanced Topics are in here.


/* No comment */

Offline

 

Board footer