Orange Box Countdown

[Dragoon]

Vortigaunt
Joined
Feb 27, 2004
Messages
840
Reaction score
6
Since the image thread was locked, and subsequently pushed down, I figured I'd repost this.

obcount.png
 
neat , i was actually searching for that.
off-topic: which host did you finally settle on ?
 
Well now how does that work...

Very neat :D
 
4 days???

I thought it wasn't released for another two months.
 
wouldn't it be better to write a little javascript bit so it would be updating in real time rather than having to refresh? I did that for the HL2 release, but I'm too lazy to do it now.
 
Crysis doesn't come out till Nov 16th, maybe that's what he's thinking about.
 
Orange Box was planned for Christmas when they delayed it, I think that's what he's on about
 
Not until the 19th here in the uk i think? Such bollocks, Steam ftw then.
 
yay, i finaly gets to see whuts gordon freemans has been doin! Alyx is such a cool carickter and dog is SO cool!!!111

I cant wate to play epesode 2 and own peoples online!!!lol ROFL!!!!!


i came
 
yay, i finaly gets to see whuts gordon freemans has been doin! Alyx is such a cool carickter and dog is SO cool!!!111

I cant wate to play epesode 2 and own peoples online!!!lol ROFL!!!!!


i came

You...

Wha...

I...

...


SHUT THE F*CK UP
 
wouldn't it be better to write a little javascript bit so it would be updating in real time rather than having to refresh? I did that for the HL2 release, but I'm too lazy to do it now.

Yeah, but I did this mainly to learn more about PHP image manipulation.
 
wouldn't it be better to write a little javascript bit so it would be updating in real time rather than having to refresh? I did that for the HL2 release, but I'm too lazy to do it now.

wouldnt that put a lot of load on the server?. i need to learn a bit about optimizing refresh calls , my ajax chat becomes almost unusable after a few messages.
 
wouldnt that put a lot of load on the server?. i need to learn a bit about optimizing refresh calls , my ajax chat becomes almost unusable after a few messages.

Not sure what you mean, but with javascript the countdown code would be run client-side, not server-side. The only bandwidth used would be the initial page download.
 
What's the rent like under that rock of yours? ;)
It's expensive as hell, and the view ain't worth nothing either. Maybe you could recommend another rock?

Crysis doesn't come out till Nov 16th, maybe that's what he's thinking about.
Nah, it's just that I haven't really follows the process of Orange Box's release, so I had no date in mind. I had a sensation in the back of my head that it was gonna be relased in December. Suprise indeed.
 
zomg, monkey my god..i thought you were joking..

i guess you really live under a rock don't you..
 
In case anyone's interested in the code (I think someone mentioned it in the image dump):

PHP:
header("Content-type: image/png");

include("include.php");
$time3 = countdown(5, 2007, 10, 10);

$base = imagecreatefrompng("original.png");
$color = imagecolorallocate($base, 0, 0, 0);
Imagettftext($base, 20,0,20,510,$color,'treb.ttf',$time3);
imagepng($base);
imagedestroy($base);

The file that's included is a countdown script I found online, so I won't bother posting it. The function used in the next line, countdown(), is in that file.
 
Nice pic, I'll be visiting it every now and then until the release. I like how I don't have to take time zones into account like the SWF one somebody posted.
 
One question: how come browsers don't cache pictures like this? When you reload, the new countdown is displayed while you would think a browser would store the picture and just load the old one when you refresh it.
 
One question: how come browsers don't cache pictures like this? When you reload, the new countdown is displayed while you would think a browser would store the picture and just load the old one when you refresh it.

Not sure. I don't know much about browser caching, I usually keep it turned off if the browser allows me to.
 
Not sure what you mean, but with javascript the countdown code would be run client-side, not server-side. The only bandwidth used would be the initial page download.

i thought he meant code that would update the image not a javascript clock..
 
wouldnt that put a lot of load on the server?. i need to learn a bit about optimizing refresh calls , my ajax chat becomes almost unusable after a few messages.

Not sure what you mean, but with javascript the countdown code would be run client-side, not server-side. The only bandwidth used would be the initial page download.

i thought he meant code that would update the image not a javascript clock..

Yeah I meant you'd use CSS to superimpose an HTML clock over the image, and then use javascript to update it. I suppose if you wanted it to look nicer, you could even have images for the numbers (like one png for 0-9) and have the javascript change THOSE images - which would still be really fast once each of them were loaded once.
 
Yeah I meant you'd use CSS to superimpose an HTML clock over the image, and then use javascript to update it. I suppose if you wanted it to look nicer, you could even have images for the numbers (like one png for 0-9) and have the javascript change THOSE images - which would still be really fast once each of them were loaded once.

That would be possible, but not as a stand-alone image (like this one) that could be added to forum posts, blogs, whatever. There's no way to make the image reload itself, as far as I know, without extra code (which wouldn't be possible on a forum, at least).

The only way to update the countdown is to reload the image.
 
Updated it. Text is now more accurately centered, and bold.
 
Back
Top