Everything but!

Published October 30, 2004
Advertisement
It seems that i've been doing everything but coding rules for Reversi tonight. I decided that I wanted to try writing a plugin for Winamp to update my AIM profile with the current playing song just to say i've done it. I got about 70% done and realized (though I might be wrong) that AIM must only load the profile .htm file when it loads or is edited directly through AIM, so it kind of defeats the purpose that I was going after if it doesn't do it all in realtime. Oh well.

Since I have a good feeling about eventually finishing this thing up, hopefully within the next week or so, I decided to look around for an installer application and think that I found a pretty good one. Actually, I found this on my hard drive and completely forgot that I had downloaded it long ago. Inno Setup has a very similar look and feel to InstallShield, and has a very simple interface to get your program all packaged up, creates directories and subdirectories if you'd like, option to make a quick launch icon, dekstop, start menu, everything. It looked good to me at least.

After my hunt for an installer, I began thinking about a GUI, at least for the main menu. I really don't want to write my own right now. First reason being, I have no idea where i'd begin. Anyway, I did a quick Google and GameDev site search and came up with ParaGUI which looks promising. I think i'll download it in a couple of minutes and poke around and see if it looks any good.

Though I haven't implemented anything yet as far as game rules, I did write down a little list of criteria that must be met for a piece to be placed, so now I at least have it down on paper.

To do:
-Write function to test validity of move for player (and computer).
-Get some sort of menu system working (hopefully without having to write a whole GUI system myself.)
-Figure out why I can't load images from subdirectories!
-this is kind of an annoying bug, so i'll expand on it.

In my code I can load sounds from subdirectories, like so:
    effect1.loadSound("sound/effect.wav");         That's fine, but, if I try the same with loading images (using SDL_image), it won't load them.       IMG_Load("image/graphic.png"); //doesn't work


Is this a bug in SDL_image, or am I just klutzing up somewhere and haven't realized it yet? Is there a workaround that anyone that may be reading knows about? If so, i'd greatly appreciate your input [smile].

Anyway, continuing on with my todo list:

-AI (maybe 3 levels)
-And, later on, maybe i'll dive into the world of multiplayer programming. Never touched network programming before, so that should be fun.

I'm sure there are some loose ends i've neglected here, but they'll make themselves obvious later on (I hope).
Previous Entry More progress from me.
Next Entry Break out the Raid.
0 likes 3 comments

Comments

Gaiiden
No, you should be able to load n image file using IMG_Load like that. Are you sure you have PNG support?
October 30, 2004 05:25 AM
caffeineaddict
Well, loading a PNG like this:

IMG_Load("piece1.png");

That works, and is what i'm using right now, but if I try to get it to read from a subdirectory, it doesn't. Hope i've understood your question correctly, I just woke up and i'm still a bit foggy [lol].
October 30, 2004 09:38 AM
Gaiiden
That's weird. I read in all my art from subdirectories
October 31, 2004 04:19 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

Update++

1205 views

Untitled

921 views

Hooray!

999 views

Untitled

998 views

Updates

1014 views

Cheapness!

948 views

Oh dear.

945 views

My first Perl!

1062 views

Oh the Oxycodone!

1021 views
Advertisement