Hi, this is Trekkie2000. I was originally going to make this post for Remington04, because he asked me a scripting question, but I think a lot of new scratcher's might benifit from this. Just send me a question, and I'll do my best to answer it. Im not an EXPERT on programming, but I do know a bit about stuff like making guns, using Mesh, and stuff. So just send in your questions!
Offline
gb10 wrote:
Hey I was wondering if you knew how to make a countdown timer from 99999 to 00000?
Help would be much appreciated!
This should help: 
The variable 'counter' will count down from 9999 to 0.
If you want the counter to start from something different like 6789 you can just change the [set (counter) to (9999)] to [set (counter) to (6789)]
Hope it helps!
Last edited by Daffy22 (2010-09-05 06:21:08)
Offline
gb10 wrote:
hey that helped a lot! thanks! would you also happen to know how to do the same thing if each digit were a sprite, each with 10 costumes representing a digit each? thanks!!
Add a next costume below the change timer by -1 block,
Last edited by bbbeb (2010-09-06 00:17:17)
Offline
gb10 wrote:
but wouldn't that only work if all of the costumes were for 1 sprite? there are 5 sprites, one for each digit's place
I can't help you on that one.
? I've been trying to figure that one out for a while. Also, you realize it was bbbeb who helped u out before, not me.
Offline
Do you know how to make an NPC?
E.G an enemy tank??
Offline
One way do do an Npc is the easy way, which is just random movements. A "Smart" way to do it is to program it so that the tank moves based on your movemnts (VERY HARD but possible) However many know more about AI then myself.
Offline
Thanks! Heres what i used it for http://scratch.mit.edu/projects/Lord_fawful13/1321456
Offline