Discuss Scratch

bonded700
New Scratcher
6 posts

Need help with my car game!

Hey guys, my first post here. Had a school assignment to make a game in scratch, so I decided to do a racing game.


But there are few problems.

When ever i turn the car, it will always stay like this: http://puu.sh/g6YH9/490aa84028.png

I want to make it like its driving the right way(i hope you understand what i mean). RIght now, the car is always horisontally, but i want to make it go vertically when the road goes up or down…

and one more thing:

Whenever the car crashes, i want to make it so that a guy tells me to start over. I tried something but that didn't work out.


Hope you guys can help me out here! This needs to be done for monday :S
Arthurtilly
Scratcher
1000+ posts

Need help with my car game!

Can you give a link to the project?
ShadowScizor
Scratcher
100+ posts

Need help with my car game!

Tried using this?
turndegrees
bonded700
New Scratcher
6 posts

Need help with my car game!

Arthurtilly wrote:

Can you give a link to the project?
http://scratch.mit.edu/projects/49022054/

ShadowScizor wrote:

Tried using this?
turndegrees


how :S

Last edited by bonded700 (Feb. 22, 2015 09:49:47)

Laotic
Scratcher
23 posts

Need help with my car game!

Have a look inside this game http://scratch.mit.edu/projects/23935225/ it might give you some ideas. (Not my game, but a very simple car racing game. Not many scripts, so easy to see what he did.)
bonded700
New Scratcher
6 posts

Need help with my car game!

Laotic wrote:

Have a look inside this game http://scratch.mit.edu/projects/23935225/ it might give you some ideas. (Not my game, but a very simple car racing game. Not many scripts, so easy to see what he did.)


thats nice game but when the stuff is set to forever move 1 step then even when u hit the grass it will keep moving…

any idea how to fix this?
Laotic
Scratcher
23 posts

Need help with my car game!

bonded700 wrote:

thats nice game but when the stuff is set to forever move 1 step then even when u hit the grass it will keep moving…

any idea how to fix this?

Nope, never tried a racing game myself….
bonded700
New Scratcher
6 posts

Need help with my car game!

Laotic wrote:

bonded700 wrote:

thats nice game but when the stuff is set to forever move 1 step then even when u hit the grass it will keep moving…

any idea how to fix this?

Nope, never tried a racing game myself….


ah okey, maybe you could help me ?
thoriq12654
Scratcher
93 posts

Need help with my car game!

You V

bonded700 wrote:

Laotic wrote:

Have a look inside this game http://scratch.mit.edu/projects/23935225/ it might give you some ideas. (Not my game, but a very simple car racing game. Not many scripts, so easy to see what he did.)


thats nice game but when the stuff is set to forever move 1 step then even when u hit the grass it will keep moving…

any idea how to fix this?
You Can use Arrow Keys
bonded700
New Scratcher
6 posts

Need help with my car game!

thoriq12654 wrote:

You V

bonded700 wrote:

Laotic wrote:

Have a look inside this game http://scratch.mit.edu/projects/23935225/ it might give you some ideas. (Not my game, but a very simple car racing game. Not many scripts, so easy to see what he did.)


thats nice game but when the stuff is set to forever move 1 step then even when u hit the grass it will keep moving…

any idea how to fix this?
You Can use Arrow Keys


yes but when the car hits the grass it keep moving, because of the forever tag. If it hits the grass it should go back to start.
deck26
Scratcher
1000+ posts

Need help with my car game!

So in your forever loop you detect it touching the grass at which point it broadcasts a restart and stops that script (thus ending the forever loop until you rerun that script).

iftouchingcolor?thenbroadcastresetstopthis script
Tobygamertv
New Scratcher
1 post

Need help with my car game!

Powered by DjangoBB