Discuss Scratch

BroBBoy
Scratcher
100+ posts

The end of "Double click the green flag"

Does double clicking the flag even do ANYTHING? I know it does stuff when you're editing the project, but I think that leads people to believe that it works when you're playing the project normally.
deck26
Scratcher
1000+ posts

The end of "Double click the green flag"

BroBBoy wrote:

Does double clicking the flag even do ANYTHING? I know it does stuff when you're editing the project, but I think that leads people to believe that it works when you're playing the project normally.
Only when the project hasn't been set up properly.

eg project has green flag script that only works when varX = 1 and another green flag script sets varX to 1. If the previous run of the project (or the way it was saved) means varX=0 and the scripts run in the order I describe the first green flag script won't do much but the second will reset varX. So first green flag click will fail to run properly but second will work.

This is easy to avoid and projects should be written to ensure things run properly.
fg_karl
New Scratcher
1 post

The end of "Double click the green flag"

This is the most helpful thing ive ever seen on this site. This was the answer to a problem that i spent 3 hours on
CatBloemie2005
Scratcher
26 posts

The end of "Double click the green flag"

When I click the flag once with most animations, the music is a bit off. When I click it twice, it works. Can you work around this?
deck26
Scratcher
1000+ posts

The end of "Double click the green flag"

CatBloemie2005 wrote:

When I click the flag once with most animations, the music is a bit off. When I click it twice, it works. Can you work around this?
Have you followed any of the advice in this topic. If still a problem create a new topic and share the project.
NationalNewsReporter
Scratcher
1 post

The end of "Double click the green flag"

Good point
tycable
Scratcher
100+ posts

The end of "Double click the green flag"

How do you make custom scratch forum script with a green flag?
when green flag clicked
when gf clicked
hi gf
hi green flag
hi #greenflag
hi greenflag
SansStudios
Scratcher
1000+ posts

The end of "Double click the green flag"

Very good to know, thanks!
NoelGamer06
Scratcher
23 posts

The end of "Double click the green flag"

Why not this:
when green flag clicked
wait until <key [space] pressed?>
forever
Game stuff
end

Last edited by NoelGamer06 (April 22, 2019 11:34:37)

deck26
Scratcher
1000+ posts

The end of "Double click the green flag"

NoelGamer06 wrote:

Why not this:
when green flag clicked
wait until <key [space] pressed?>
forever
Game stuff
end
Because that makes no difference to initialising variables etc. You need to know the project is ready to run and your script doesn't do anything to ensure that.
GeometryBoy919
Scratcher
1 post

The end of "Double click the green flag"

say [:):|:(:D:o;):/:P:lol::mad::rolleyes::cool:]
when green flag clicked
forever
say [:P]
end

Last edited by GeometryBoy919 (Jan. 23, 2020 01:12:38)

deck26
Scratcher
1000+ posts

The end of "Double click the green flag"

GeometryBoy919 wrote:

say [:):|:(:D:o;):/:P:lol::mad::rolleyes::cool:]
when green flag clicked
forever
say [:P]
end
Please don't spam or necropost.
stickboylegend
Scratcher
8 posts

The end of "Double click the green flag"

so there is no point
meunspeakable
Scratcher
100+ posts

The end of "Double click the green flag"

Help, I only have 1 script but this is happening
kzhangcoding1
Scratcher
29 posts

The end of "Double click the green flag"

when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
kzhangcoding1
Scratcher
29 posts

The end of "Double click the green flag"

say [Hello! :)] for (2) secs
Sorry, you have to wait 60 seconds between posts.
me!
(round (3.5))
up to 4
16-R-HW
Scratcher
5 posts

The end of "Double click the green flag"

This is really helpful!
kzhangcoding1
Scratcher
29 posts

The end of "Double click the green flag"

when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
when green flag clicked
repeat (5)
pen up
set pen color to [#ff0038]
pen down
pen stamp
glide (1) secs to x: (0) y: (50)
end


just a module
ugh
Message:
Sorry, you have to wait 60 seconds between posts.
stop my reply
kzhangcoding1
Scratcher
29 posts

The end of "Double click the green flag"

ok
https://i.cubeupload.com/7qw3IN.gif
https://i.cubeupload.com doesn't work…
My browser / operating system: Windows NT 10.0, Chrome 86.0.4240.111, No Flash version detected
No?

Powered by DjangoBB