QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

cant this timer to work

This is a discussion on cant this timer to work within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; i cant post my code cause im on my wipeout browser but i need little help gettin the timer to ...

Reply
 
LinkBack Thread Tools
Old 10-22-2005, 08:37 AM   #1

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Arrow cant this timer to work

i cant post my code cause im on my wipeout browser but i need little help gettin the timer to show its there but wont show in lua so can some1 post there working timer? or atleast tell me how to get mine to show
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 12:41 PM   #2

Developer
 
Join Date: Jun 2005
Location: At my house...
Posts: 885
Trader Feedback: 0
Default

It would be a lot easier if you showed it your broken timer :icon_wink
__________________
F.A.L.O?
Twenty 2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 01:00 PM   #3
 

 
Join Date: Jun 2005
Location: Behind you!
Posts: 451
Trader Feedback: 0
Default

yeah we cant help without the code...
__________________
NOTICE: By the time you have noticed this notice, you will have noticed that this notice is not worth noticing.

FW History: 1.5>3.03OE-C>3.52 m33
seventoes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 01:03 PM   #4

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

The codes for timers in lua are:
well, an example, I guess...

timer1 = Timer.new(0) --this means make the object 'timer1' a timer and start at 0 milliseconds

timer1:start() --start counting

timer1:time() -- the time of the timer in milliseconds

timer1:stop() --stops the timer

timer1:reset(0) --reset the timer, and start at 0 milliseconds

I think thats about it.
Hope this helps!
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 01:08 PM   #5

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

i cant cause it cant fit on the type thing but it didnt give me a error it started i could move my mouse around and everything worked great but no timer
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 01:10 PM   #6

Developer
 
Join Date: Jun 2005
Location: At my house...
Posts: 885
Trader Feedback: 0
Default

You dont have to post all of your code just your timer and maybe ur vars
__________________
F.A.L.O?
Twenty 2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 01:11 PM   #7

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

to display the time from the timer, you would use something like:
screen:print(0,0,timer1:t ime())

or, an if statement:

if timer1:time() == 60 then
timer1:reset(0)
end

I dunno if that will help, but if you could be a little more specific on what you are trying to do, that would be great.
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
timer , work

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 11:47 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us