I remade this with a much less complex script: set costume # to: ((score/10)-((score/10)mod1)) for the tens digit, just change the tens to the digit you want to edit it; change 10 to 100, 100s digit, change 10 to 1000, 1000s digit. Get what I mean?
I thought I simplified the script as much as possible, but it sounds like you put some work into it. do you have a link to a project with it? I'd like to see it in action.
download the score widget, select which score you want to use, and export the sprite. All the scripts should export with it. then in the block that say "set tmpScore to..." put the variable you want to display there. And voila you have a score/timer/health indicator. You can customize it by modifying the costumes. jsut make sure to keep them in the same order.
I am currently making an free form art program for the video arcades called "Sketch". The timer has exactly the same script as your Block Slider score counter, but has different variables. When I tried it at first, it... (continued on next comment)
...worked properly like it should. But when I tried it while running the scripts, instead of working perfectly, it didn't. The script showed the evil red outline of doom. I removed the part of the script which removes the leading zeros, but it still didn't work. Can you please help me?
I originally made one of these in my Smiley Scroller (link to project) --but I changed it to one that was accurate but used more code, but it is kind of inaccurate because it uses division to find which digits to put down. (The number
Right now I'm spending my time finishing Guardian 3D.
But you should be able to see how it's made. each score is just one sprite and one script. If I'm not scratched out after Guardian 3D I might make a tutorial.
Great game! I'm getting a super score...and I'm NOT EVEN TOUCHING THE KEYBOARD!!!
Download this project!
Download the 6 sprites and 4 scripts of "Score Widget" and open it in Scratch
Project Notes
This Widget uses a single sprite to stamp a score onto your game stage. I would love to see more home made scores, and less orange boxes for scores on Scratch.
Comments
You need to be logged in to post comments
Add a Comment
Nice method...
It bugs once you get over 100,000
i think the numbers are showing back too
i'm having a problem with this.. the numbers are showing up backwards!
I remade this with a much less complex script: set costume # to: ((score/10)-((score/10)mod1)) for the tens digit, just change the tens to the digit you want to edit it; change 10 to 100, 100s digit, change 10 to 1000, 1000s digit. Get what I mean?
I thought I simplified the script as much as possible, but it sounds like you put some work into it. do you have a link to a project with it? I'd like to see it in action.
(view all replies)WTF r they 4
I made some, there pretty cool
WOW Like I said... I LOVE THOSE SCORING WIDGETS!
can i use 1
That's why I made this project. Just export whichever one you want. Give me a link to your project when it's done.
(view all replies)I do mine a little bit differently, but nice method!
Cool! Can I use them in my games with your permission?
Have fun with them. BTW, check out how i used them in my newest game. I hope you'll love it... (link to project)
(view all replies)I made these with hopes that people would use them. I am tired of the orange scratch variables being used now.
(view all replies)coudly you explain how this works?
download the score widget, select which score you want to use, and export the sprite. All the scripts should export with it. then in the block that say "set tmpScore to..." put the variable you want to display there. And voila you have a score/timer/health indicator. You can customize it by modifying the costumes. jsut make sure to keep them in the same order.
(view all replies)i tried to make one of these but it didn't work, i'll keep trying.
I am currently making an free form art program for the video arcades called "Sketch". The timer has exactly the same script as your Block Slider score counter, but has different variables. When I tried it at first, it... (continued on next comment)
...worked properly like it should. But when I tried it while running the scripts, instead of working perfectly, it didn't. The script showed the evil red outline of doom. I removed the part of the script which removes the leading zeros, but it still didn't work. Can you please help me?
(view all replies)I originally made one of these in my Smiley Scroller (link to project) --but I changed it to one that was accurate but used more code, but it is kind of inaccurate because it uses division to find which digits to put down. (The number
This is completely accurate. It will "Stamp" whatever number is passed to it as long as it is a whole number
i imagine that'd take A LOT of costumes but it's worth it.:)
just 10 costumes (one for each digit)
very nice. thanks for sharing this
wow, thanks for showing me this! this is exactly what i need for gyruss!
PLEASE make a project showing how to make these!
Right now I'm spending my time finishing Guardian 3D. But you should be able to see how it's made. each score is just one sprite and one script. If I'm not scratched out after Guardian 3D I might make a tutorial.
(view all replies)AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
We can use these?
Please do. Just export the sprite you like, and import it into your game. it will import with the scripts to make it work.
(view all replies)Very nice. The script is short/simple/elegant. Used your score stamper in my SubHunt project in a couple of places. THANX for sharing.
That is a very nice looking game (not just because you used my score stamper). It looks like it took a long time to create (link to project)
Just yanking your chain..This should be very helpful!
Great game! I'm getting a super score...and I'm NOT EVEN TOUCHING THE KEYBOARD!!!