Discuss Scratch

ChenBeiBei
Scratcher
67 posts

Can someone please help me with my platformer game? (Again)

Hello! Could anyone please help me with my platformer game? My problem: @sky-rose made me this outro. I wanted to make the stars and heart rain down at the end, so I asked for some help in this ‘help with script’ forum. I had the same problem with my other game on this too, so I decided to just check into my other project. However, the stars and heart wouldn't rain down at the end. I followed practically the exact same code as I did on my other project that was having a problem.

1st Project I needed help with: (you can look at the code inside P.S. This is the one I solved the code) https://scratch.mit.edu/projects/410233467
My project that needs help(It's in editor mode, I know you won't be able to see it but someone used this thing which allowed them to see) https://scratch.mit.edu/projects/410224884/editor/
The outro @sky-rose made for me: https://scratch.mit.edu/projects/410138118/

Could someone please help me? (Sorry for posting so many threads in the help with scripts forum, I'm not an expert coder)

Thanks!

Hello! I'm a 10yr old girl, and I love to read and write! I especially love looking at Harry Potter. I've been using scratch since 2018 and ever since I've loved using it! I also love Pusheen The Cat, Kaguya-Sama and quizzes. Bye!

-@ChenBeiBei
Cutie_Pooge
Scratcher
500+ posts

Can someone please help me with my platformer game? (Again)

Hi it's me again, I see you tried to mix my suggestion with someone else's and although that may have worked, it's a bad idea and here's how to fix everything (atleast what I think you tried to do):
First delete everything from the following sprites:
cooltext-357212431230967
cooltext-357213750317248
Pusheen saying love and fave
heart
star

Now add the following code to the sprites:
cooltext-357212431230967:
when green flag clicked
hide
wait until <(Level) = (15)>
show
go to [front v] layer :: looks
forever
wait (0.09) secs
next costume
end

cooltext-357213750317248:
when green flag clicked
hide
wait until <(Level) = (15)>
show
go to [front v] layer :: looks
forever
next costume
end

Pusheen saying love and fave:
when green flag clicked
hide
wait until <(Level) = (15)>
go to [back v] layer :: looks
show
switch costume to ((1) + (0))
forever
repeat (91)
wait (0.1) secs
next costume
end
end
heart and star (same script):
when green flag clicked
hide
wait until <(Level) = (15)>
forever
wait (pick random (0.01) to (0.4)) secs
repeat (pick random (1) to (3))
create clone of [myself v]
end
end
when I start as a clone
set x to (pick random (-200) to (200))
set y to (150)
switch costume to [costume1 v]
go to [front v] layer :: looks
show
repeat until <(y position) < (-150)>
change y by (-11)
change x by ((x position) / (100))
end
delete this clone

Last edited by Cutie_Pooge (July 9, 2020 12:12:29)


I will not help much around the forums anymore, if you still want my help go to my main account. Still occasionally help.
Age 18
Bit of experience in coding in Scratch, Python, C++ and Rust.
2D Slideshow framework v0.2.0.
Terrible in art and sound.
ChenBeiBei
Scratcher
67 posts

Can someone please help me with my platformer game? (Again)

Thank you! I'll try it out!

Hello! I'm a 10yr old girl, and I love to read and write! I especially love looking at Harry Potter. I've been using scratch since 2018 and ever since I've loved using it! I also love Pusheen The Cat, Kaguya-Sama and quizzes. Bye!

-@ChenBeiBei
ChenBeiBei
Scratcher
67 posts

Can someone please help me with my platformer game? (Again)

Thank you so much! Your advice is always so helpful and always works! Thank you!

Hello! I'm a 10yr old girl, and I love to read and write! I especially love looking at Harry Potter. I've been using scratch since 2018 and ever since I've loved using it! I also love Pusheen The Cat, Kaguya-Sama and quizzes. Bye!

-@ChenBeiBei

Powered by DjangoBB