Skip to content


Spore: the evolution of the gamer

Spore: Snakas Evolution

The startling reality of Spore is that, while it sells itself as a laboratory in a box, the actual subjects of the experiment aren’t the virtual creatures, but the real players.” – Seed Magazine.

While Spore presents a muddled view of evolution, somehow managing to irritate scientists and intelligent design advocates alike, it does perhaps fare better in representing the evolution of gamers. Far from being appreciative, the gamer is likely to be irritated as well.

The main game sees players take a single cell organism originating from space and evolve it to a space-faring species. This evolution sees the player experience gameplay in five distinct stages, each derived from classic game genres. The player will go from a simple arcade game to action adventure to RTS to 4x strategy to MMO with these transitions increasing complexity and scope.

The criticism here is, much like Spore’s science, Spore’s gameplay has the trappings but not the essence. The Cell and Civ stages may be evocative of classic games like Pac-Man and Civilization but frustratingly, Spore waters down the gameplay to such a degree it does a poor job in conveying the appeal of the originals. Spore may draw upon Web 2.0, but it is not, as gamers hoped it would be, Game 2.0.

It is not in science and gameplay that evolution is best represented in Spore; it is the gamer who undergoes the greatest evolution while playing the game.
Continued…

Posted in Games, Spore.


Elsewhere

The Fuyoh! motto.

Posted in Web.


Elsewhere

Max Factory Figma Aigis. [via] A fully-posable figure of the Persona 3 character is coming October ’09.

Posted in Web.


WordPress: tags from one category

I found myself with an interesting problem at another WordPress site I manage. It’s a link blog with a few thousand hyperlinks, and though the links are tagged, I wanted to manipulate those tags in a particular manner.

Here’s the situation: I wanted readers to be able retrieve posts with a similar tag filed only in a specific category. I’m sure there are sophisticated methods to achieve this but being a simple-is-best kind of guy, I took a kludgey route.

I previously mentioned how WordPress’s category templates make it easy to handle specific categories in a specific manner. You can do the same thing with tag templates.

Since I wanted WordPress to handle all tags in the same manner, I added a tag.php file to my theme folder and modified that to suit my needs. Here’s The Loop in the original tag.php:
< ?php if (have_posts()) : while (have_posts()) : the_post(); ?>

< ?php the_content();?>

< ?php endwhile; else: ?>

< ?php _e('Sorry, no posts matched your criteria.'); ?>

< ?php endif; ?>

That tells WordPress to retrieve the content of every post with the selected tag from every category. I modified my tag.php file to this:

< ?php if (have_posts()) : ?>
< ?php query_posts($query_string . "&cat=258&showposts=10"); ?>
< ?php while (have_posts()) : the_post(); ?>

< ?php the_content();?>

< ?php endwhile; else: ?>

< ?php _e('Sorry, no posts matched your criteria.'); ?>
< ?php endif; ?>

(Note: due to formatting issues, you can’t simply copy-and-paste the above code. The syntax works, however.)

The key is to use the query_posts call to append additional conditions to the main query (which was “retrieve posts with the selected tag”). In my case, I got WordPress to retrieve posts with the selected tag and in a specified category. In the example above, the category has the ID of 258. You can modify that query_posts call to add or exclude categories as needed.

Update 21 July

There’s a minor issue with the above tag.php code. It doesn’t have a provision for posts that have the selected tag but aren’t in the specified category. For example, if I wanted tag.php to display all posts tagged “Transformers” and in the “Good Movies” category, I’d simply see an unhelpful blank space instead of the error message “Sorry, no posts matched your criteria.”

Because ob-viously there would be no posts tagged “Transformers” in the “Good Movies” category.

The solution is to add another check. The final code for The Loop in tag.php:
< ?php if (have_posts()) : ?>
< ?php query_posts($query_string . "&cat=258&showposts=10"); ?>
< ?php if (have_posts()) : ?>
< ?php while (have_posts()) : the_post(); ?>

< ?php the_content();?>

< ?php endwhile; else: ?>

< ?php _e('Sorry, no posts matched your criteria.'); ?>
< ?php endif; ?>
< ?php endif; ?>

Update 2 Aug.

Sigh. It occurs to me the second if…else loop is completely unnecessary if the additional condition is appended before going into The Loop.

The modified tag.php (take 3!):

< ?php query_posts($query_string . "&cat=258&showposts=10"); ?>

< ?php if (have_posts()) : while (have_posts()) : the_post(); ?>

< ?php the_content();?>

< ?php endwhile; else: ?>

< ?php _e('Sorry, no posts matched your criteria.'); ?>
< ?php endif; ?>

Posted in WordPress.


Elsewhere

Adding Bing Search to Opera, Firefox, Chrome and IE8.

Posted in Web.