I need help with something. I posted this in al about scratch, but no one saw it. So... I'm making a game called Moon Thief, and I used a custom score layout. How can I make it accurate with the score variable. I have ones place sprite, tens place sprite, and hundreds place srpite.
Last edited by Bluestribute (2008-05-04 16:03:02)
Offline
Please help. I'm not smart enough
Offline
I don't have a clue. Try asking for help from someone good (like paddle2see or archmage) outside of the forums by leaving a comment on thier project. Also you could find a project that has this in it and download it to see the scripts
Offline
geckofreak wrote:
I don't have a clue. Try asking for help from someone good (like paddle2see or archmage) outside of the forums by leaving a comment on thier project. Also you could find a project that has this in it and download it to see the scripts
Thanks, but I found it! When score is freater than 9, switch to costume score divided by ten -.5!!!
Offline
Hey, couldn't find one right away, so I just posted you one.
http://scratch.mit.edu/projects/Paddle2SeeFixIt/156911
Offline
Offline
I took a look at it and my first thought was "no way that can work!" since you aren't extracting the digits really. But then I realized that the way the costumes wrap around if the index exceeds the number of costumes, it would work. And it does, very nicely to! I learn something new every day.
I would like to point out that my technique, although more complex, works even on systems that don't allow the index to wrap around....keep it in mind, it might come in handy some day!
Offline
Paddle2See wrote:
I took a look at it and my first thought was "no way that can work!" since you aren't extracting the digits really. But then I realized that the way the costumes wrap around if the index exceeds the number of costumes, it would work. And it does, very nicely to! I learn something new every day.
I would like to point out that my technique, although more complex, works even on systems that don't allow the index to wrap around....keep it in mind, it might come in handy some day!
Ya. I'm keeping it on my desktop incase I need it.
Offline