by Alexis Deveria

Archive for September, 2007

Where are the decent Wii games?

Monday, September 17th, 2007

I like to play games. Don’t play much, don’t own many consoles. I do own a Wii. The Wii seemed very cool and exciting at first, and certainly has some cool games for it. I do not regret buying a Wii.

However. What disappoints me is that there are so few decent Wii games, especially compared to the Xbox 360 and PS3. And yet it’s the best-selling console of this generation. Let me give you some statistics from Metacritic, a site that takes scores on games from a variety of review sites, and then mashes them together into a single number.

CSS/SVG Rounded corners for multiple browsers

Monday, September 10th, 2007

Here’s a demo of a div with a simple 10px radius 1px border that works in Opera 9.5, Firefox 2+ and Safari 3 beta. It uses -moz-border-radius for Firefox, -webkit-border-radius for Safari and an SVG background for Opera 9.5. The SVG file this time is actually a modified version of a new method Holger Will came up with.

Of course, it doesn’t work quite that easily. The CSS3 corner method uses a border, but for Opera we don’t want that border to appear because it already exists in the SVG file. Additionally, we’ll have to change the position and padding slightly so the border appears in the exact same place.

More SVG background demos

Sunday, September 9th, 2007

I just found out about someone else also working on SVG background demos with impressive results! On this forum thread, Holger Will has been demonstrating his attempts, which include rounded corners.

After a quick look at his SVG files, it seems he solved the stroke problem basically by drawing each corner as filled shapes, rather than use stroke at all. Frankly, this makes too much sense and I can’t believe I didn’t think of doing that. The one drawback is more complicated code (it would appear more difficult to modify than my method), but the effect is certainly worth it.

SVG Multiple Images and Rounded Corners

Friday, September 7th, 2007

UPDATE March 17, 2009:

For an easy way to generate rounded corner SVG files, see my border-radius for all! post.

One of the geekier things that excite me (okay, I guess there’s a lot of those) are upcoming features in web browsers. Specifically when it comes to new and improved support for things like CSS3, Javascript and SVG.

The recently released Opera 9.5 alpha is known for it’s improved CSS support, but what excited me most was the ability to use an SVG file as a background image. Why is this great? It allows for all sorts of neat things. Small file scaling gradients, multiple raster images, even animation!

Sure, no other browser supports this yet, but I’m not going to let that ruin my fun in designing for the future. Besides, one could always use javascript to fix stuff for other browsers if really necessary.

Powered by Coffee, Marmite, jQuery and WordPress