Is it possible to create a timer display that counts down from 30 to 0 in Sprite Lab. I tried to set up a Variable and a Loop but the time stays at 30. Any suggestions?
Game lab, yes. Sprite lab, I’m not sure. Is there a reason you are using sprite lab instead of Game lab for a project like that?
Mike
I have 5th graders making simple games using Sprite Lab. Its just to introduce how each block is used. It was a question a student had as an idea. I explained this would be possible with Game Lab which we do in the last nine weeks. He created a timer but the code was repeated several times using at 1 second, change timer by -1. It works but we were looking for a simpler version. It was a challenge he chose to take on since he was ahead in his Sprite Lab basic design
That would be a good reason. ![]()
As you are aware I’m sure, the tools are more limited in Sprite Lab.
Mike
Im fairly sure this is probably the same solution your student got, but I’ll share the link anyways: Sprite Lab - Code.org (click the timer)
I dont believe there is an easier way to do this. I may be wrong, but with the limitations of Sprite Lab I couldnt find anything better.
Not sure if this is what you’re looking for (given im late) but i put together this example which uses behaviors which run roughly 30 times in a second im pretty sure and we use this to make time. Press up to run the timer