Discuss Scratch

UltraMinecraftMan
Scratcher
45 posts

I'm trying to make a game with falling objects

I'm trying to make a game where you have to avoid falling objects. The objects are supposed to fall faster and more as you progress in the game and I want high scores via cloud data. I cannot understand how to script any of the things I have just mentioned.
1234abcdcba4321
Scratcher
1000+ posts

I'm trying to make a game with falling objects

This goes into the block sprite.
whenIreceivegame overifhighscore<scorethensethigh scoretoscore high score is a cloud vardeletethisclonewhenIreceiveplaysetplaying?to1setspeedto12 change values as neededsetwaitto4 this one also needs to be changedsetscoreto0repeatuntilplaying?=0waitwaitsecscreatecloneofmyselfsetspeedtospeed*0.98 adjust this one, toosetwaittowait*0.975 as well as this onewhenIstartasaclonegotox:pickrandom-239to239y:180glidespeedsecstox:xpositiony:-180changescoreby1deletethisclonewhenIstartasaclonewaituntiltouchingplayer?broadcastgame oversetplaying?to0
This goes into the player sprite.
whenIreceiveplaygotox:0y:-165 example value!foreverifkeyleft arrowpressed?thenchangexby-6 you may want to adjust these a bitifkeyright arrowpressed?thenchangexby6 and this one too

Last edited by 1234abcdcba4321 (Feb. 17, 2014 16:55:56)

UltraMinecraftMan
Scratcher
45 posts

I'm trying to make a game with falling objects

Thanks! I really need help with making the game work first though. You see, you have to avoid boxes falling from the sky. I need them to clone themselves, Fall, If they hit the player you lose, they gradually get faster throughout the game, if the player avoids one it increases his score.
1234abcdcba4321
Scratcher
1000+ posts

I'm trying to make a game with falling objects

I edited the post. It should have about everything you need.
UltraMinecraftMan
Scratcher
45 posts

I'm trying to make a game with falling objects

I couldn't make the box fall
UltraMinecraftMan
Scratcher
45 posts

I'm trying to make a game with falling objects

This is so hard!

1234abcdcba4321
Scratcher
1000+ posts

I'm trying to make a game with falling objects

The scripts in my post make it work. (The glide block below the “when i start as a clone”)
UltraMinecraftMan
Scratcher
45 posts

I'm trying to make a game with falling objects

MH02146
Scratcher
1 post

I'm trying to make a game with falling objects

i have tried it but i just can't do it. i was trying to make stars fall from the top of the backdrop but instead of what i wanted to happen something else happend all the stars started to come out of nowhere and glide across the page.
amateurradiogeek15
Scratcher
1000+ posts

I'm trying to make a game with falling objects

MH02146 wrote:

i have tried it but i just can't do it. i was trying to make stars fall from the top of the backdrop but instead of what i wanted to happen something else happend all the stars started to come out of nowhere and glide across the page.
Please don't necropost!!!
laithrocks
Scratcher
100+ posts

I'm trying to make a game with falling objects

Woah, woah, whoa…
laithrocks
Scratcher
100+ posts

I'm trying to make a game with falling objects

What if I want a game where in which “they're JUST falling down.
(and of course, ”GAME OVER")

Forget the score, and everything, I might have a simple insert process, I just want to know what's what.

I mean, I'm just trying to depict this code right now…

I really don't know…
laithrocks
Scratcher
100+ posts

I'm trying to make a game with falling objects

It ain't falling!!
Warriorcat11202
Scratcher
22 posts

I'm trying to make a game with falling objects

The easiest way to do this: When clicked button, attack the forever button to it, and inside the forever button put in change y by -10. Hope that helps!!!!!!!!!!!!
Warriorcat11202
Scratcher
22 posts

I'm trying to make a game with falling objects

oops I meant attack not attack, Sorry.
Warriorcat11202
Scratcher
22 posts

I'm trying to make a game with falling objects

ugh attach
273Explorer
Scratcher
1 post

I'm trying to make a game with falling objects

Did the game atchully work
Scratchy_the_Caty
Scratcher
36 posts

I'm trying to make a game with falling objects

There seems to be a little bit of necroposting going on here. This topic was resolved over a year ago, and therefore is considered “dead”.

If you have the same problem, you can use the solution, or if it doesn't work, try making a new topic.

But, if a topic in this forum hasn't gotten a new post in over a month, then it is safe to assume that you shouldn't make any new posts because the thread creator doesn't need any more help.
francislw
Scratcher
10 posts

I'm trying to make a game with falling objects

i hate clone limit
Penguin07850
Scratcher
17 posts

I'm trying to make a game with falling objects

whenclickedsethigh soreto0
iftouchingsprite1then

Powered by DjangoBB