Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
Timer
Old
DeathxKiller
Senior Member
 
DeathxKiller's Avatar
 
Status: Offline
Posts: 53
Join Date: May 2011
Location: Midlothian
Default Timer - 05-22-2011, 07:34 PM

can someone tell me how to make a timer? i do not know how and where to start for the timer. please help if you know how to. here's my game im working on that needs the timer.
Attached Files
File Type: a2w bartonFinalGame.a2w (5.23 MB, 10 views)
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 05-22-2011, 07:50 PM

That depends what you mean by timer. Do you want it to count up from 0, like how long you've been playing? Or do you want it to count down from a certain number until it reaches 0?


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
DeathxKiller
Senior Member
 
DeathxKiller's Avatar
 
Status: Offline
Posts: 53
Join Date: May 2011
Location: Midlothian
Default 05-22-2011, 08:39 PM

Quote:
Originally Posted by Dameria View Post
That depends what you mean by timer. Do you want it to count up from 0, like how long you've been playing? Or do you want it to count down from a certain number until it reaches 0?
i want it to count up and stop when you kill the boss.
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 05-22-2011, 10:07 PM

here you go, if you don't understand anything of it, just ask about it
Attached Files
File Type: a2w timer.a2w (177.6 KB, 62 views)


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Old
DeathxKiller
Senior Member
 
DeathxKiller's Avatar
 
Status: Offline
Posts: 53
Join Date: May 2011
Location: Midlothian
Default 05-23-2011, 02:34 PM

Quote:
Originally Posted by sfunk View Post
here you go, if you don't understand anything of it, just ask about it
i cant download the file.
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 05-23-2011, 02:47 PM

Remember that you have to open the file by opening it -from- Alice.


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Old
DeathxKiller
Senior Member
 
DeathxKiller's Avatar
 
Status: Offline
Posts: 53
Join Date: May 2011
Location: Midlothian
Default 05-23-2011, 03:44 PM

yes i know that. but when i do it says its unable to load the world.
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 05-23-2011, 07:12 PM

Do you have Alice 2.0 or 2.2 or something else?


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Old
DeathxKiller
Senior Member
 
DeathxKiller's Avatar
 
Status: Offline
Posts: 53
Join Date: May 2011
Location: Midlothian
Default 05-23-2011, 07:37 PM

Quote:
Originally Posted by reuben2011 View Post
Do you have Alice 2.0 or 2.2 or something else?
i have Alice 2.2 but i can download other files but not this one for sopme reason
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 05-23-2011, 08:35 PM

I don't know what to tell you, I just downloaded it to check it and works fine. sorry. just use a number variable, and a boolean variable, have an action turn the boolean variable true to make the number variable increment by 1 every second, and then have an action turn the boolean variable to turn falso to stop the number variable from increasing, use if/else statements


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Reply

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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.