This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-31 11:35:34

Brad1222
New Scratcher
Registered: 2013-01-31
Posts: 1

Endless Running & Shop?

Is it possible to make a game where the character endlessly runs until he has been hit by like a boulder and is it possible to make a shop where you can spend points you earn, if so can someone give me a little help.

Offline

 

#2 2013-01-31 17:18:13

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Endless Running & Shop?

well, i'm pretty sure the shop is possible, and i am also going to try to make an endless running game, so I think the key is to:

Find out how to scroll. I don't yet know how.

Use randomness to determine the next screen that you're scrolling towards.

Use The instructions given here to determine the player's velocity and have it gradually increase.

For the shop, you just need a button that when clicked broadcasts, "shopOpen".
Which the stage receives and displays your shop back ground.

Those are the points i think it will take, good luck.

Hope that helps,

CAA14

P.S. I think i may make a never ending runner one next instead of the current project i am working on, so if i do and get it to work, i will post it here.  smile

Offline

 

#3 2013-02-01 12:16:15

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Endless Running & Shop?

Hi,

I am currently working on learning how to scroll.... Once achieved, i will finish the never ending running project and post a link here.

Regards,

CAA14

Offline

 

#4 2013-02-01 12:38:19

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Endless Running & Shop?

There's a project here that has both of the features you require. Have a look at the scripts, and see if you can figure it out!  smile


Why are the secret organizations getting all the attention?  mad

Offline

 

#5 2013-02-02 21:48:29

mrn0body
Scratcher
Registered: 2012-12-11
Posts: 37

Re: Endless Running & Shop?

Brad1222 wrote:

Is it possible to make a game where the character endlessly runs until he has been hit by like a boulder and is it possible to make a shop where you can spend points you earn, if so can someone give me a little help.

With the shop just make a variable called cash or money a then put a script on how to collect it. Then when you buy something set the variable o the amount on it minus how much it costs. I hope this helps.


Why Fit In When You Were Born To Stand Out

Offline

 

#6 2013-02-08 14:29:36

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Endless Running & Shop?

Hi,

Here is a link to my endless running project.

It's under construction, but it mostly works.

Regards,

CAA14

Offline

 

Board footer