Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Get the stopwatch to do what I want?
Old
dgonzalez1
Junior Member
 
Status: Offline
Posts: 5
Join Date: Apr 2016
Default Get the stopwatch to do what I want? - 04-28-2016, 10:53 AM

Hello, I am doing a project for school and I need help with getting my stopwatch to do exactly what I want it to do. I want to get the stopwatch to start at a certain time and reset itself after a minute has passed. After that minute has passed, I need to get my scorekeeper to go up a few points. I hope this problem made sense to anyone who reads this and I hope you all have a wonderful day!
Thank you
   
Reply With Quote
Old
RavenOfCode
Senior Member
 
RavenOfCode's Avatar
 
Status: Offline
Posts: 409
Join Date: Oct 2013
Location: Northern Virginia
Default 04-28-2016, 01:51 PM

Use a loop statement and inside it use a variable increment statement. Once the timer variable is over 60 (or whatever) then reset it and increment score.


Stuff + Other Stuff + Different Other Stuff = Things :)

My best Alice game:

Clash of the Cubes (an arena fighting game):
http://www.alice.org/community/showthread.php?t=10738&highlight=game
   
Reply With Quote
Reply

Tags
project

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.