Discuss Scratch

rextee33
Scratcher
97 posts

Subway Surfers

Need help on my game, can someone help?
Zelfen
Scratcher
1000+ posts

Subway Surfers

We can only help if you send us the link
rextee33
Scratcher
97 posts

Subway Surfers

https://scratch.mit.edu/projects/413971628 I need help with the money script. thats all
Zelfen
Scratcher
1000+ posts

Subway Surfers

Okay, so what's wrong with it?
rextee33
Scratcher
97 posts

Subway Surfers

I need to figure out ow 2 do the coins! i need help on dat
Zelfen
Scratcher
1000+ posts

Subway Surfers

Duplicate the hazards and make the coins, then add this script:
when I start as a clone
show
forever
if <touching [Sprite v] ?> then
change [Coins v] by (1)
delete this clone
end
end
Try that
rextee33
Scratcher
97 posts

Subway Surfers

yes but.. ok, now ive figured the code but…. how do you make the coin script say go to
go to x: (?) y: (?)

or
go to x: () y: (0)

how do u make a script like that?
Zelfen
Scratcher
1000+ posts

Subway Surfers

rextee33 wrote:

yes but.. ok, now ive figured the code but…. how do you make the coin script say go to
go to x: (?) y: (?)

or
go to x: () y: (0)

how do u make a script like that?
I said duplicate one of the hazards and add that script, delete the old coins, also, if you want to do that, do this script:
when I start as a clone
set [position v] to (pick random (1) to (3))
if <(position) = [1]> then
go to x: (-156) y: (168)
glide (2) secs to x: (-156) y: (168)


else
if <(position) = [2]> then
go to x: (4) y: (168)
glide (2) secs to x: (4) y: (-168)


else
go to x: (161) y: (168)
glide (2) secs to x: (161) y: (-168)
end
Oh yeah, when creating the position variable, make sure to tick “For this sprite only”
rextee33
Scratcher
97 posts

Subway Surfers

Thank you! This has really helped Why does everyone write be moist though?
Zelfen
Scratcher
1000+ posts

Subway Surfers

rextee33 wrote:

Thank you! This has really helped Why does everyone write be moist though?
It's a trend.
rextee33
Scratcher
97 posts

Subway Surfers

who made it? At whats wiki wednesday?
Zelfen
Scratcher
1000+ posts

Subway Surfers

Do you want me to tell you how to add smoother jumping?
rextee33
Scratcher
97 posts

Subway Surfers

Yeah sure!

Powered by DjangoBB