I’m a dreamer, a distant dreamer :)

Yes, some of you might recognize the title words as lyrics by Duffy. It’s true, I like the album, a lot. Her official site, however, not so much (I’ll be thinking of Vulcans for the rest of my life everytime someone says ‘however’, no doubt about that).

But I will not steal from my own evening TV time to talk about that. Nuh-uh.

So, believe it or not, I’ve been officialy employed for a month and a half now. Netipični d.o.o. is where I now do what I used to do from home. Code websites, that is :)

In short: I’m satisfied, and (thank god!) the people who work there are quite (haha) normal and easy to get along with.

My backache is killing me, and I haven’t been able to sleep enough lately, but I’ll blame that on the godawful summer in the city too, not just on my impossible way of life and inability to adjust myself to the 9-5 routine. I’ll survive, don’t worry ;)

What else…

You know how WordPress adds ‘category’ in urls when the page is an category archive? I’ve created a plugin that gets
rid of it. But you’ll also need another plugin to make it work. I’ve
been testing it for the past few weeks and haven’t noticed any hickups.
Read on.

I’ve also switched from TinyMCE to WYMeditor and I’m liking it so far. You can download it as a WordPress plugin from here: http://wordpress.org/extend/plugins/simple-wymeditor/. I’ve tweaked its CSS files to suit the WordPress 2.5 color scheme better:WYMeditor

If you like it, you can download the tweaked files from here:

wymeditor-wp25-css.zip

Just paste the two directories over in the ‘wymeditor’ folder (the one residing inside the ‘simple-wymeditor’ folder, if you’re using it as a WordPress plugin) and overwrite the files.


I installed Habari and I like it – it’s fast and feels stable, but it’s also very young and needs more work. I’ll dig in when I find some time.

I’m working with Silverstripe, too, but I can’t say that I’m becoming fond of it. Dunno… Although it seems to be a great piece of software, it just doesn’t feel right for me.

I know I had more stuff in my head that I wanted to write about, but I can’t really remember anything else right now, I’m feeling a bit sleepish :)

I’ll be taking two weeks off starting next Tuesday, gotta start working on my final paper and get that diploma out of my way. Fingers crossed ;)

Music? Something new? Hmm. We’ll see.

Laters :D

Russian rabbits

Here’s another one :D

It started as a simple harpsichord theme because I was going for something baroque-ish. I’m trying to compose a character theme for one game (the title of which I will not mention because I might not have anything to do with it in the end) and I constantly end up with something completely…off.

Maybe I need to read more about the character, dive into their persona. Or…something. Gaaaaa-argh! It’s frustrating :=

Cross your fingers and help me find the appropriate melody :)

Until then, enjoy the eastern winds.

Rescue: The Beagles

Today, with great pleasure, I present to you yet another game that began as an electric spark in the brain of 16×16.org’s own, Mr. Nenad, and ended as a notable part of the future’s gaming history :)

"Rescue: The Beagles" is a side scrolling platformer that relies on procedurally generated content to deliver some great gameplay.

You can see a screenshot of the game in my site’s header. Yes, that’s you parachuting down, ready to kick some pharmaceutical ass and save the poor doggies. Have I already mentioned that you use owls to attack the enemies? Excellent.

It was made for TIG Source procedural generation game competition and, so far, people seem to like it.

For example, LaughingCrow reviews the game on Lithium Leaf and mentions that one of the more enjoyable moments of the game was the first appearance of the enemy known as Vivisector, because when he enters the screen, he says "Doggieeeess…" in a creepy voice. I’m particularly proud of that, for that is my voice. Ha.

I’ve also created the sound effects and half the soundtrack. The credit for the other half goes to Rich Vreeland who composes awesome, very enjoyable (sometimes even addictive) C64- and ZX Spectrum-inspired music. Check for more on RichVreeland.com.

All the sound effects (except the enemy voices, naturally) and music were created using the incredible "Unknown 64" C64 synth by Odo Synths – do check it out, please – it’s pure fun :D

I’ve tried to do my best with limited time and I hope it sounds decent, at least :)

Now go download the game and enjoy ;)

Actual work: DAS and Studena

I’ve been working on some interesting projects for the past few weeks.

The first one is the website for the Society of architects of Split (Društvo arhitekata Splita – DAS). My job was to code the layout and choose a CMS. I decided to go with WordPress because the site’s structure isn’t too complex and, except for two categories, it’s mostly just static pages.

I did encounter a few difficulties along the way, but nothing that wasn’t fixable. Most of the pain was caused by the ever popular “/category/” feature of WordPress, which inserts /category/ in the URL if the the page is a category index. While you can access those pages without the /category/ in URL if you’re using a custom permalink structure (such as “/%category%/%post_id%/%postname%/”, for example), the problem starts when your post count per page exceeds 10 (or whatever custom number of posts per page you choose) and you need to go to page 2 of that category – it returns a 404 error. I fixed this problem with a handy plugin called “Redirection“, which made it possible to rewrite “/category/category_name/page/number/” to “/category_name/page/number/”. I tried placing the rewrite rules directly in the .htaccess file, but, for some reason, that didn’t work.

Second problem was adding custom metadata to posts in a way that would make sense to a site editor. For that purpose, I used the rc:custom_field_gui plugin which was a breeze to use :)

Third one, that gave me two days worth of headaches, was how to display only posts with certain metadata on a category index page. First I used the officially recommended way, which consisted of using PHP’s continue statement to filter out the unwanted posts. That produced a empty page 1, and a populated page 2, because WordPress post count occurs before the continue statement. There’s also no way to do it with WP_Query, so I ended up writing a custom query. Again, problem with pages. I used the WP-PageNavi plugin, so I looked at its code and figured out what variables it needs to work properly and I gave them the values they needed.

I can only say that I’ve learned a lot about how WordPress works :) And while it does have its quirks, if you know some PHP, anything is doable.

Second website is for a well known Croatian bottled water, Studena. Again, Blackduke was the one who produced the website and I was asked to compose some background music and a few sound effects. The first version of the music was initially accepted, but then it was agreed that something that currently plays on the site would work better. You can hear and download the first version from below :)

  1. No flash Studena music – 01:42
    Download: MP3 (1,602 KB)

In other news: wish me luck because I’ve got three exams next week. And that’s it. If I pass all three, I get to start working on my master’s thesis.

Future awaits :)