Discuss Scratch

awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

DominoDragon1 wrote:

Great idea! This is a feature that many other languages and text editors use. You should also be able to replace groups of blocks, such as:
Replace
<key [up arrow v] pressed?>
With
<<key [up arrow v] pressed?> or <key [w v] pressed?>>

Useful for things like adding wasd to a project.

Ooo yeah. Multiple blocks are a good idea. Probably it could work vice versa as well?

Replace
<<key [up arrow v] pressed?> or <key [w v] pressed?>>
With
<key [up arrow v] pressed?> 

Last edited by awsome_guy_360 (May 20, 2017 01:58:42)



I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
redgreenandblue
Scratcher
100+ posts

Find and Replace System

yes yes yes. Beyond needed, would make programming so much easier!
ColinMedia6
Scratcher
43 posts

Find and Replace System

Supported! Imagine if there's replace with:
Replace the
<<key [d v] pressed?> or <key [right arrow v] pressed?>>
to
<key [right arrow v] pressed?>
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

-BUMP-


I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

awsome_guy_360 wrote:

-BUMP-

Last edited by awsome_guy_360 (May 26, 2017 00:56:26)



I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
Blaze349
Scratcher
1000+ posts

Find and Replace System

But you can easily do this in Tosh.
duckboycool
Scratcher
1000+ posts

Find and Replace System

Blaze349 wrote:

But you can easily do this in Tosh.
Scratch isn't Tosh though. Some people prefer to code in Scratch itself rather than just use Tosh and share it as a project on Scratch.

I personally no support since I think it would have to either be a complicated system, or would only be able to do single blocks at a time, which isn't much more effective.

I used to be active on the forums, but I have mostly moved past Scratch. I still do check my Scratch messages, so if you'd like to talk to me, just leave a comment on my profile. My main project on Scratch was Cookie Clicker, but my newest project is Snake Snake, a game based off of Snake, but with two snakes, and you can play either singleplayer or multiplayer.

Penguin9090_new
Scratcher
500+ posts

Find and Replace System

Support!

CLICK PLZ: Games Art Particles Animations Others

There could be invisible text but probably not –>am i wasting your time? Don't click this link. Really. Don't. Click. It.
Click here to dislike my posts!
braxbroscratcher
Scratcher
1000+ posts

Find and Replace System

duckboycool wrote:

Blaze349 wrote:

But you can easily do this in Tosh.
Scratch isn't Tosh though. Some people prefer to code in Scratch itself rather than just use Tosh and share it as a project on Scratch.

I personally no support since I think it would have to either be a complicated system, or would only be able to do single blocks at a time, which isn't much more effective.
It wouldn't HAVE to be complicated, as Scratch is textual when saved anyway. It's just a simple replace function - every text editor has one.


My signature is kumquat proof.
But not tangerine pro-
nomnomnomnomnom










Current Project:
n/a
Quotes: “In our last hour, we burn the most brightly, trying to deny that we are burning out.” -Me
“Well, no. 1024 Killerbytes make a Murderbyte.” -MegaByteCorporations
“I hate out of context quotes.” -Me
“I hate it when Cubeupload breaks.” -Also me
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

--BUMP--


I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

--BUMP--


I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
walkcycle
Scratcher
500+ posts

Find and Replace System

Support.

Blaze349 wrote:

But you can easily do this in Tosh.

Does it work to open a Scratch project in Tosh, find/replace, and then come back to Scratch? Is the project otherwise the same?
Blaze349
Scratcher
1000+ posts

Find and Replace System

Yes. It remains the same.
CSRGaming
Scratcher
19 posts

Find and Replace System

Support, if you can also do the replace in only one sprite, or all sprites.
Voltjas
Scratcher
59 posts

Find and Replace System

Wait, it's either I didn't read it right, or it wasn't there, but would it replace all of that type in that sprite? Or just 1 block, and if so, what would it look like?

I do things like things, I have games like this, this, and this. You can also follow me with this, and you can go to Google with this
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

Voltjas wrote:

Wait, it's either I didn't read it right, or it wasn't there, but would it replace all of that type in that sprite? Or just 1 block, and if so, what would it look like?
It would replace all the blocks of that type in the sprite. I was imagining a screen similar to a pop up.

Ex: If you want to change all instances of this:
if <key [up arrow v] pressed?> then
...
end


Replace:
<key [up arrow v] pressed?>
with
<key [w v] pressed?>


I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
MathlyCat
Scratcher
1000+ posts

Find and Replace System

awsome_guy_360 wrote:

Voltjas wrote:

Wait, it's either I didn't read it right, or it wasn't there, but would it replace all of that type in that sprite? Or just 1 block, and if so, what would it look like?
It would replace all the blocks of that type in the sprite. I was imagining a screen similar to a pop up.

Ex: If you want to change all instances of this:
if <key [up arrow v] pressed?> then
...
end


Replace:
<key [up arrow v] pressed?>
with
<key [w v] pressed?>
Ah I think I got it, so if it replaces all instances in the Sprite!
I didn't catch on for some reason.

Support, generally handy and I've had that situation.

Think before you act.
Actions speek louder than words.

hi there fella
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

MathlyCat wrote:

Ah I think I got it, so if it replaces all instances in the Sprite!
I didn't catch on for some reason.

Support, generally handy and I've had that situation.
Yep, that's the idea. XD

I believe I should make the OP more clearer. Any suggestions?


I'm running a small experiment, mind taking this?
(╭☞¬ω¬)╭☞ Hello, I'm mostly dead
Oop, and apparently so is that link-
Voltjas
Scratcher
59 posts

Find and Replace System

awsome_guy_360 wrote:

Voltjas wrote:

Wait, it's either I didn't read it right, or it wasn't there, but would it replace all of that type in that sprite? Or just 1 block, and if so, what would it look like?
It would replace all the blocks of that type in the sprite. I was imagining a screen similar to a pop up.

Ex: If you want to change all instances of this:
if <key [up arrow v] pressed?> then
...
end


Replace:
<key [up arrow v] pressed?>
with
<key [w v] pressed?>
I get it now, so in that case, I support this

I do things like things, I have games like this, this, and this. You can also follow me with this, and you can go to Google with this

Powered by DjangoBB