Discuss Scratch

tacoman3208
Scratcher
15 posts

Other Places/Methods to Receive Scripting Help (Updated)

keshav0801 wrote:

Packwoman86 wrote:

tacoman3208 wrote:

sonumanu wrote:

frog_jibanyan wrote:

Hello, I'm having an issue with a thumbnail. I design
the thumbnail, and coded it, but it only appears when the project is started then stopped. Please help me with this. The project is here: https://scratch.mit.edu/projects/527646096/

I've remixed your project I have changed the code in the thumbnail sprite , Just edit your project with the code in the thumbnail sprite ,
but also I will give the code


when green flag clicked
change [ ghost effect v] effect by (25)
wait (0.5) secs
change [ ghost effect v] effect by (25)
wait (0.5) secs
change [ ghost effect v] effect by (25)
wait (0.5) secs
change [ ghost effect v] effect by (25)
wait (0.5) secs
change [ ghost effect v] effect by (25)
wait (0.5) secs
change [ ghost effect v] effect by (25)
wait (0.5) secs

I would actually do this:

when green flag clicked
change [ ghost effect v] effect by (20)
wait (0.5) secs
change [ ghost effect v] effect by (20)
wait (0.5) secs
change [ ghost effect v] effect by (20)
wait (0.5) secs
change [ ghost effect v] effect by (20)
wait (0.5) secs
change [ ghost effect v] effect by (20)
wait (0.5) secs
Because otherwise it will have excess code

Ooooorrrrr…….

when green flag clicked
repeat (5)
change [Ghost v] effect by (20)
wait (0.5) secs


or you can…

when green flag clicked
repeat (10)
change [Ghost v] effect by (10)
wait (0.5) secs
end



LOL

But 0.5 seconds would look a bit jerky so you could just

when green flag clicked
repeat (20)
change [ghost] effect by (5)
wait (0.05) secs
end

tacoman3208
Scratcher
15 posts

Other Places/Methods to Receive Scripting Help (Updated)

Packwoman86 wrote:

thunderflow wrote:

Hi! I'm making a stacking game, and I need some help with the stack code. Basically, something will be falling from above, and when we press space it should fall, and land on the thing if it's in the right position. Just like any other stack game. Your help will be appreciated and credit will be given

define stack cycle
forever
change y by (amount from floor or other blocks)
stamp
hide
go to [x (pick random (1) to (250)) y top of screen v]
show
end


when green flag clicked
forever
Stack Cycle

Tell me if that works.

Just saying, the top of the screen is 180 so put that in as an input
thediamondeye-girl
Scratcher
13 posts

Other Places/Methods to Receive Scripting Help (Updated)

'blm'
keshav0801
Scratcher
11 posts

Other Places/Methods to Receive Scripting Help (Updated)

thediamondeye-girl wrote:

'blm'

Well, That doesn't work in the forums remember? it only does in the scratch website.
SRIHARIDHADEESH
Scratcher
26 posts

Other Places/Methods to Receive Scripting Help (Updated)

i pray for his full fledged recovery

THINK OUT OF THE BOX
pedrolg
Scratcher
38 posts

Other Places/Methods to Receive Scripting Help (Updated)

How do you put an fps counter i knew it but i forgot it
proaso97yt
Scratcher
7 posts

Other Places/Methods to Receive Scripting Help (Updated)

hello i was making scrolling, just like this
when green flag clicked
forever
if <key [w] pressed?> then
change [scroll y] by [1]
end
but then i don´t how to make the wall-repel system, i´ve tried "when (changing the scrolling variable) if touching walls then change the variable by that number but negative

pls helppp
MrBullock2010
New to Scratch
2 posts

Other Places/Methods to Receive Scripting Help (Updated)

Guys I made a new game and everything else is working perfectly, but the only problem is that when I shoot the lasers at the enemy, it won’t destroy.
Can anybody help me? My project: https://scratch.mit.edu/projects/556167901
keshav0801
Scratcher
11 posts

Other Places/Methods to Receive Scripting Help (Updated)

pedrolg wrote:

How do you put an fps counter i knew it but i forgot it

Well, I got the same question. but when you search for it, IT JUST SAYS YOU NEED TO THROW IN RANDOM NUMBERS (that's not fair!)
tacoman3208
Scratcher
15 posts

Other Places/Methods to Receive Scripting Help (Updated)

proaso97yt wrote:

hello i was making scrolling, just like this
when green flag clicked
forever
if <key [w] pressed?> then
change [scroll y] by [1]
end
but then i don´t how to make the wall-repel system, i´ve tried "when (changing the scrolling variable) if touching walls then change the variable by that number but negative

pls helppp

try this:

when green flag clicked
forever
if <key [w] pressed?> then
change [scroll y] by [1]
if <touching [walls]?> then
change [scroll y] by [-1]
end
burger-pro
Scratcher
65 posts

Other Places/Methods to Receive Scripting Help (Updated)

Hey can someone help me, I'm confused on how does the independant variable for clone work and I need it for a project. Thank's
tacoman3208
Scratcher
15 posts

Other Places/Methods to Receive Scripting Help (Updated)

burger-pro wrote:

Hey can someone help me, I'm confused on how does the independant variable for clone work and I need it for a project. Thank's
you need to make it for this sprite only, then each clone can have a different value with it
RollRanger
New to Scratch
1 post

Other Places/Methods to Receive Scripting Help (Updated)

nice..
burger-pro
Scratcher
65 posts

Other Places/Methods to Receive Scripting Help (Updated)

tacoman3208 wrote:

burger-pro wrote:

Hey can someone help me, I'm confused on how does the independant variable for clone work and I need it for a project. Thank's
you need to make it for this sprite only, then each clone can have a different value with it

Yes thank you for the answer ! I already found the solution
Among_us_games
Scratcher
30 posts

Other Places/Methods to Receive Scripting Help (Updated)

when green flag clicked
play sound [ FNF vs hex - Glitcher]

Last edited by Among_us_games (Sept. 9, 2021 07:03:50)

The_Double_G
Scratcher
1 post

Other Places/Methods to Receive Scripting Help (Updated)

Hey guys, its @The_Double_G here, how do I make this scrolling car game multiplayer? If you have a answer please reply on my profile. https://scratch.mit.edu/projects/567299440/
Xolay
Scratcher
1000+ posts

Other Places/Methods to Receive Scripting Help (Updated)

The_Double_G wrote:

Hey guys, its @The_Double_G here, how do I make this scrolling car game multiplayer? If you have a answer please reply on my profile. https://scratch.mit.edu/projects/567299440/
Please do your own topic.

I'm a 8 year old boy
[0.0](ᵔ ᵕ ᵔ::stack)('_'::stack variables)(o,o::stack control)(d_b::stack operators)(²-²::stack motion)(1_1::stack looks)(°-°::stack sound)::stack #000000//these are my kumquat protectors

if <(username) = [add signature] > then
set [big brain v]to [True]
end
WHAT??? HOW ARE YOU SEEING THIS?
<<true(::grey) ::#00FF00>::operators>
<<(::grey) false::#ff0000>::operators>
I love courtney from total dramarama
My goal:
5000 posts (::control) (::control) (::#000000) (::#000000) (::#000000) ::#00008B

Credits: Google

move (1) step::motion

hello, light mode user
hello, dark mode user

this hat is looking at u
() () ::custom hat

POV: you are a ST member about to report
See the POV of being a Scratch Team member.

atchscray isyay ayay igh-levelhay ock-basedblay isualvay ogrammingpray anguagelay andyay ebsiteway argetedtay imarilypray atyay ildrenchay 8–16 asyay anyay educationalyay ooltay orfay ogrammingpray.

PLZ buy me a Wedo 2.0

hellohellohellohello

I BELIEVE IN VS TOTAL DRAMARAMA SUPREMACY

you are not being valid offtopic there

hahaha superhero block go brrrr::#FFFFFF cap

made with uploads.scratch.mit.edu
SCRATCHNICO9000
Scratcher
9 posts

Other Places/Methods to Receive Scripting Help (Updated)

I Have a question.

How do you make it so when a variable is a number,for example 2, you have to press a key, but you have to because if you don't press it you lose?

Last edited by SCRATCHNICO9000 (Nov. 10, 2021 19:40:01)

SCRATCHNICO9000
Scratcher
9 posts

Other Places/Methods to Receive Scripting Help (Updated)

im trying out the scratch comment blocks

when green flag clicked
say [Scratch is awesome! :D]
SCRATCHNICO9000
Scratcher
9 posts

Other Places/Methods to Receive Scripting Help (Updated)

MrBullock2010 wrote:

Guys I made a new game and everything else is working perfectly, but the only problem is that when I shoot the lasers at the enemy, it won’t destroy.
Can anybody help me? My project: https://scratch.mit.edu/projects/556167901
Try if this works:
when green flag clicked
forever
if <touching [Lazer] ?> then
hide
else
show
end
end

Last edited by SCRATCHNICO9000 (Nov. 10, 2021 19:49:43)

Powered by DjangoBB

Standard | Mobile