Hi all...I am new to scratch, but would like to create a game with blocks. It will have two levels and the aim is to get all the blocks lit in the least amount of time and showing the highest score on the stage.
If there is a higher scre for that level it overrides the old score and display the new score.
I have managed to do the bulk of t, but struggling to have the scores ranked or changed.
Any help would be appreciated. Thanks.
Offline
Well, are you talking about if you get a score - let's say it's 1032 - and then you get a higher score, and it overrides 1032 with a better score - like 2013?
If you ARE, I've got a perfect script for that.
(Yes, I know there is the new Scratch Blocks thing. I just for some reason handily had it in my pictures. )
Hope this helps, and happy Scratchin'!
Offline
Thanks for the welcome guys.
Can anyone tell me how to get a score log on my stage, this is for a game I am currently working on. Basically, my game is in levels and I need to record the scores at each level then log the hihest score of each particular level.
Any ideas?
Offline
renaye wrote:
Thanks for the welcome guys.
Can anyone tell me how to get a score log on my stage, this is for a game I am currently working on. Basically, my game is in levels and I need to record the scores at each level then log the hihest score of each particular level.
Any ideas?
Oh, then you might need to have a Score Variable for every level..
e.g. ScoreLvl1, ScoreLvl2, etc
Offline
Hello! View my Scratch Introduction project for some tips about Scratch! Thanks!
Offline
Haiming wrote:
Hello! View my Scratch Introduction project for some tips about Scratch! Thanks!
Hi Haiming,
Perused your projects and I'm very impressed. I looked at your "largest number detector" game and was trying to apply some of the scripts into my game...but to no avail.
The game I'm trying to make, is a square made up of pre-lit squares and the aim is to un-light all the squares in the least amount of gos. I.E. for level 1, the the five middle squares are lit, if you select the middle one all lights out, so you win. If however you select a sqaure at say the upper right corner the two adjacent lights will come on, meaning you'll have to have more gos to unlight them all...and so on and so fort. It has levels 1 - 5
What I've done on so far:
I've sorted all the lights out
All the levels
A reset and number of gos button
A score list
I've even managed to get the scores within the score list
What I need to do now is input an IF statemment, that will allow the best score at each level to override whatever existing score there is and when that is determined to allow the player to input there name.
I think I've got an idea of how the inputting name thing works, but do not know how to have the programme recognise the best score at each level.
Sorry for the lengthy essay, but I'm new to scratch and finding this difficult.
Any help, would be greatly appreciated.
Thanks.
Offline
Hello renaye, please drop me a line [removed] I think we can help each other out with this project?
You may also find this useful:
http://tolkienites.com/PDF/FINAL_TU100_11J_session_5_TMA04_Sense_Support_v1.pdf
[Moderator Edit: Please don't share e-mail or other personal contact info on the Scratch Website. See the Community Guidelines for more details. Thanks. - Scratch Team]
Last edited by cheddargirl (2012-05-30 13:14:34)
Offline
renaye wrote:
Haiming wrote:
Hello! View my Scratch Introduction project for some tips about Scratch! Thanks!
Hi Haiming,
Perused your projects and I'm very impressed. I looked at your "largest number detector" game and was trying to apply some of the scripts into my game...but to no avail.
The game I'm trying to make, is a square made up of pre-lit squares and the aim is to un-light all the squares in the least amount of gos. I.E. for level 1, the the five middle squares are lit, if you select the middle one all lights out, so you win. If however you select a sqaure at say the upper right corner the two adjacent lights will come on, meaning you'll have to have more gos to unlight them all...and so on and so fort. It has levels 1 - 5
What I've done on so far:
I've sorted all the lights out
All the levels
A reset and number of gos button
A score list
I've even managed to get the scores within the score list
What I need to do now is input an IF statemment, that will allow the best score at each level to override whatever existing score there is and when that is determined to allow the player to input there name.
I think I've got an idea of how the inputting name thing works, but do not know how to have the programme recognise the best score at each level.
Sorry for the lengthy essay, but I'm new to scratch and finding this difficult.
Any help, would be greatly appreciated.
Thanks.
Offline