digital clock script
|
Sebastyan Kidd
Registered User
Join date: 25 Apr 2007
Posts: 1
|
04-25-2007 01:16
hey peeps
i've created a cool digital clock but the digital clock script i have doesn't have seconds. does anyone know where i can find a digital clock script that includes seconds?
i'm also trying to get the colon to flash between a blank texture and a colon texture.
any help would be greatly appreciated.
xox sebastyan
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-25-2007 01:39
From: Sebastyan Kidd hey peeps
i've created a cool digital clock but the digital clock script i have doesn't have seconds. does anyone know where i can find a digital clock script that includes seconds?
i'm also trying to get the colon to flash between a blank texture and a colon texture.
any help would be greatly appreciated.
xox sebastyan The reason the clock doesnt have seconds is probably to reduce the impact on the simulator. Assuming you have the source code to the script then you will already have access to the seconds since SL clock time is returned in seconds and has to be decoded into hours and minutes. Flashing the colon would be better accomplished by just switching the alpha between 0 and 1 rather than changing a texture.
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
04-25-2007 15:50
From: Newgate Ludd Flashing the colon would be better accomplished by just switching the alpha between 0 and 1 rather than changing a texture. Better yet, a two-frame llSetTextureAnim() for the flashing colon! For the seconds, if the sim gets a bit laggy, the seconds will lag as well. For instance, it may stick on 10 for a second or two, then quickly count up to 13 before catching up. llSetTextureAnim() could be used for the seconds as well. Make a 60-cel texture with all the seconds represented. At the top of each minute, call llSetTextureAnim() to run through the sequence once, at 1 frame per second. This would be less impactful than trying to change two textures every second for a pattern that repeats itself every minute.
|
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
|
04-25-2007 16:57
From: DoteDote Edison Make a 60-cel texture with all the seconds represented. Or, use a texture with cels for 0-9. Animate one face at 1 fps (ones), and an adjoining face at 0.1 fps (tens). For that matter, the colon could be included in the same texture as cels 10 and 11. ("On" and "Off", or vice-versa)
|
chendhil Highfield
Registered User
Join date: 21 Jul 2009
Posts: 11
|
Need digital world clock script
09-17-2009 04:27
Hi Sebastyan, I need some input for digital world clock. Could you send me the script? Thanks in advance.. From: Sebastyan Kidd hey peeps
i've created a cool digital clock but the digital clock script i have doesn't have seconds. does anyone know where i can find a digital clock script that includes seconds?
i'm also trying to get the colon to flash between a blank texture and a colon texture.
any help would be greatly appreciated.
xox sebastyan
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
09-17-2009 06:47
Um......This is a big time necropost. Sebastyan posted this thing two and a half years ago. If you really want his script (if he's even still in SL), send him an IM. Don't bother resurrecting a dead thread.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
chendhil Highfield
Registered User
Join date: 21 Jul 2009
Posts: 11
|
digital world clock
09-17-2009 19:44
Hi Rolig, Thanks...You remember me...I have asked you about "bidding process" in second life some time before. Please give me the sample script of digital world clock or anolog clock for different regions if you can, else give me some inputs on the same. Thanks in advance. From: Rolig Loon Um......This is a big time necropost. Sebastyan posted this thing two and a half years ago. If you really want his script (if he's even still in SL), send him an IM. Don't bother resurrecting a dead thread.
|
Eli Schlegal
Registered User
Join date: 20 Nov 2007
Posts: 2,387
|
09-17-2009 19:55
Only thing I hate more than necro posting is when people flash their colon.
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
09-17-2009 21:07
From: Eli Schlegal Only thing I hate more than necro posting is when people flash their colon. Maybe asking for a colonoscopy?
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
09-17-2009 21:10
From: chendhil Highfield Hi Rolig,
Thanks...You remember me...I have asked you about "bidding process" in second life some time before. Please give me the sample script of digital world clock or anolog clock for different regions if you can, else give me some inputs on the same. Chendhil, your best strategy is to dig through the forum archives and the library. That's what I'd have to do.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|