I have made a racing game for school. I need the car to go up a lap when it tocuhes a line. It doesnt work, ive tried when touches sprite change up one lap and when touching colour, it just doesnt respond. Any suggestions?
Offline
cathaoir99 wrote:
I have made a racing game for school. I need the car to go up a lap when it tocuhes a line. It doesnt work, ive tried when touches sprite change up one lap and when touching colour, it just doesnt respond. Any suggestions?
Could you post the scripts you're using? It may be simple problem like forgetting a forever block.
Offline
pi3 wrote:
cathaoir99 wrote:
I have made a racing game for school. I need the car to go up a lap when it tocuhes a line. It doesnt work, ive tried when touches sprite change up one lap and when touching colour, it just doesnt respond. Any suggestions?
Could you post the scripts you're using? It may be simple problem like forgetting a forever block.
Hey, I uploaded the game, its on my profile. Any help is deeply appreciated!
Offline
cathaoir99 wrote:
pi3 wrote:
cathaoir99 wrote:
I have made a racing game for school. I need the car to go up a lap when it tocuhes a line. It doesnt work, ive tried when touches sprite change up one lap and when touching colour, it just doesnt respond. Any suggestions?
Could you post the scripts you're using? It may be simple problem like forgetting a forever block.
Hey, I uploaded the game, its on my profile. Any help is deeply appreciated!
Okay, I downloaded and will look at it after my music lesson.
Last edited by pi3 (2012-03-28 16:19:01)
Offline
pi3 wrote:
cathaoir99 wrote:
pi3 wrote:
Could you post the scripts you're using? It may be simple problem like forgetting a forever block.Hey, I uploaded the game, its on my profile. Any help is deeply appreciated!
Okay, I downloaded and will look at it after my music lesson.
![]()
Hey, thanks. Have you looked at it (:?
Offline
I am not sure but I downloaded your game and had a look the only way I could find was to make a small black line ( a new sprite ) and place it on the finish line so that you cant tell its there. then SORRY ABOUT THE RUBBISH SCRATCH BLOCKS I HAVE NEVER DONE IT BEFORE?
when i receive (level 1) forever if < (touching) (theblackline) > change (laps) by (1) wait 1 secssorry if this doesnt work but it did for me.
Offline
Thanks alot for the reply. I will certainly give it a go tonight. Btw, if it definetly works for you, could you just upload yours and I could download it?
Offline
quick question? when you hit the side bariers is the LAPS variable supposed to reset?
Offline
It doesnt really matter. Probably reset tbh.
Offline
ok i uploaded it i hope it is what you where looking for.
Offline
Thanks alot. Works perfect. Can you delete the game now? Its just its for school and exam boards check the website. Thanks again!
Offline
sure i will delete it i'm glad i helped.
Offline
Can you repost it? Ive lost it!!!
Offline
Oh, looks like I was too late. Here's what I have:
when I recieve [level 1]
forever
wait until < (y position) > [-100] >
wait until < touching color white >
if < (lap position) = 1 >
change [laps] by [1]
set [lap position] to [0]
end
end
And then a set [lap positon] to [0]at the begining of your big script and when you hit a wall.
Offline
sorry i didint go on forums for ages so didint notice your post
i didnt save it so cant repost it now DX i gtg now though but if u havent sorted the problem by sometime tommorow i will make it again for you as sometime tommorow is when i will be back......lo sorry
Offline
sorry i was a bit late posting this again but the games up i hope it helps.
Offline
Hi - did you work it out ? I'm happy to help. I've got a few racing games - let me know if yoyu havent fixed it, and what you're looking for. You could look at my scripts and I can eplain them.
Offline