So I've been working for a day on the website for my upcoming game, HAVOC. All the graphics, the layout, the design, etc are by yours truly.
Head on over, see what you think! Thanks!!http://www.havocfps.net/So I've been working for a day on the website for my upcoming game, HAVOC. All the graphics, the layout, the design, etc are by yours truly.
Head on over, see what you think! Thanks!!http://www.havocfps.net/
What's that, skippy? Micro-optimisations fell down a well?
Just make sure the images are cached and of a reasonable filesize and, for the low-traffic usage the page will get, it'll be fine for the job. Adding additional complexity for the sake of a couple of ms when the page load itself is already subject to a lot of fluctuation just due to going over the internet is way overboard.customize*
Hmmm. Good ideas, everyone, though I agree with PY. If I have a system that works, then why change it? Unless it takes a few seconds to load, then there is a problem. But is it really that slow?
The files are just a few kilobytes.And avl: in my opinion, this design looks fairly decent. I'm not sure what comparison you're making with facebook?And twisterghost: that depends where you're from :PEDIT: LOL someone tried to access http://www.havocfps.net/robots.txt :PBad experience with a dishonest spider?
I don't see how PHP would be useful in a basic design like your site - that's what I'm saying. Whereas the dynamic content on Facebook I can understand - meaning I don't see any dynamic content - or at least anything that can use it.
And sure, it works. But that attitude gave us bloatware on computers. A lot of people that has helped me end up talking about efficient code. I'm learning, and it's just something that comes to mind.I would still use sprites for the icons :S You can even just make a separate image for each icon with the top icon being the normal one and the bottom icon being the rollover one. It's really easy to set up. Sample:
#icon1 {background-image:url('icon1.png');background-position:0px 0px;height:32px;width:32px;}#icon1:hover {background-position:0px -32px;}That way, there's no delay between the normal image and the hover image. You don't have to add it, but you should try it out if you ever make another site. It's a lot cleaner/easier/faster/better. :pAs the page is now its ok. But a bit boring at a first glance. Later on with some screenshots, graphics, logos, or anything, it would be more inviting.
PHP makes it much quicker to put the site together. At the moment, there is a single .php page that displays different content depending on 'p' and 'd' variables. That said, I appreciate your help. Especially to provide that code, CoolGamr. It does look like it'd be a bit faster.
Thanks, Alert!Perhaps when i dive into PHP and javascript I'll develop in the same fashion, heh.