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

#1 2011-01-26 18:11:08

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

How? %s to $String$

How did the panther mods do that? I would like to know. I would like to do that with my mod.

Offline

 

#2 2011-01-26 20:55:30

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: How? %s to $String$

Same here! My mod has so many new custom menus, I'm running out of characters to use.


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#3 2011-01-27 03:57:09

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

Re: How? %s to $String$

That's the reason we switched  tongue  I'm afraid you have to manually run through the entire code and replace each one by hand. Find and replace does help a bit but that's what you have to do  hmm


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

Offline

 

#4 2011-01-27 07:54:58

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: How? %s to $String$

sparks wrote:

That's the reason we switched  tongue  I'm afraid you have to manually run through the entire code and replace each one by hand. Find and replace does help a bit but that's what you have to do  hmm

See, I want to know how you did it. I want to do that for my mod (not $String$ but somthing different).

Offline

 

#5 2011-01-27 08:11:53

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: How? %s to $String$

I tried just using $String$ but it didn't work. Scratch is currently wired to only use single characters to represent argMorphs, so there's some code altering that needs to be done. How do you do it?


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#6 2011-01-27 08:43:13

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: How? %s to $String$

Try Scratch-Blocks -> CommandBlockMorph -- class-- isArgSpec:

Offline

 

#7 2011-01-27 08:56:50

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: How? %s to $String$

That should work!


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#8 2011-01-27 09:35:57

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

Re: How? %s to $String$

... I don't hear a clicking noise but how did you get a JS link in the Scratch fora?


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

Offline

 

#9 2011-01-27 10:26:44

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: How? %s to $String$

sparks wrote:

... I don't hear a clicking noise but how did you get a JS link in the Scratch fora?

You mean this? It's easy to get a js link into the forums, but it won't work!


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#10 2011-01-27 11:15:17

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: How? %s to $String$

rubiks_cube_guy238 wrote:

sparks wrote:

... I don't hear a clicking noise but how did you get a JS link in the Scratch fora?

You mean this? It's easy to get a js link into the forums, but it won't work!

Oh, like this

Offline

 

#11 2011-01-28 18:46:51

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: How? %s to $String$

rubiks_cube_guy238 wrote:

sparks wrote:

... I don't hear a clicking noise but how did you get a JS link in the Scratch fora?

You mean this? It's easy to get a js link into the forums, but it won't work!

Because (guess what) Scratch sticks http:// in front of the URL if it doesn't find a supported protocol (i.e. not JS because it could be used for malicious activity). Look at the source for the link. Other forums just won't parse it and print the URL BBCode.


Yawn.

Offline

 

#12 2011-01-29 02:28:04

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

Re: How? %s to $String$

can you post a code example for this idea?  smile


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

Offline

 

Board footer