Wednesday, February 27, 2013

Keldian: The Outbound Campaign

   There's a band I'm a big fan of that I'd like to give a shoutout to here. Keldian is a fantastic melodic sci-fi metal group from Norway. They love to make music (and it shows), but with the high quality they consistently put out, albums are expensive to make. They've been working on a new studio for recording, but that cost money, postponing the newest album to make future albums easier and less expensive to produce. So now they're turning to their fans for help. They're doing a crowdfunding project to help get the drums and mastering for the new tracks done as soon as possible, while also making limited edition copies of the CD for backers. I was able to donate, but I'd like to help even more (so I'm spreading the word). If you have the time, please go check them out.

indiegogo - Keldian: OUTBOUND

The Keldian Blogspot - The Outbound Campaign

Saturday, February 16, 2013

OpenTK Tutorial 1 - Opening Windows and Drawing a Triangle

I'm writing this tutorial because the actual OpenTK documentation is sorely lacking. They have a good explanation for how to install it (which I recommend following before this, since it doesn't need to be rewritten), but that's it. There's a "Learn OpenTK in 15'" tutorial, but it's not great. You do make something simple, and it does take under 15 minutes, but they just hand you the code instead of having you create any of it. You don't learn much about what the code does, or why things are done a certain way. I'm going to try to write a better one (using mostly their code).

(As another note, this is technically using a deprecated way to do it, but I'm basing this on their example)


Friday, February 15, 2013

Boxes in OpenTK

I'm just messing around in OpenTK for a while I wait for things to pick up. Random colored boxes was something that was a fad in WAYWO a while back, so I thought it'd be a decent post-hello world thing.

Then I took it further, loading textures into it:

Then I did one last thing, making a basic light that follows the mouse:


Thursday, February 7, 2013

Game of the Week, er, Month Club - Freeport

The One Game A Month challenge is going on now. The idea is to make a different game each month. However, I'm a procrastinator, so it quickly turns into me rushing the game in the last week, despite how much I was trying not to.

The game I made in January was Freeport.

A week into the month, I made a prototype:


It wasn't anywhere near what the actual game was going to be, but it let me work out some ideas early on. Unfortunately, it turned out that transferring code from C# to AS3 isn't that easy. AS3 is very similar to JavaScript, and C# is more like Java. It's not quite copy and paste, especially when I wanted to get rid of a few hack-ish things I had done.


Everything eventually made it across, except for one feature: advertising. Originally I had an "advertise" button, where between rounds players could advertise one of the items to increase demand (but for an ever-increasing cost). I dropped it since it would have to either make the interface more cluttered or take the player out of the game between rounds to give them the option. It also wouldn't be easy to use anymore now that you're not all-knowing in the market like you were in the prototype.

Getting it online ended up being the most annoying part. I love the services Mochi provides, but it took them most of a week to get it hosted, although the ads were approved overnight. Fortunately, the One Game a Month people are pretty cool about things (and realize the whole thing is for fun), so they let you upload a month's game a while after the fact.

Sunday, January 6, 2013

Dwarfpunch Mapper: 0.6 is out!

Download available on Bitbucket (it's only 0.6, so it's still not perfect, but working way better)

  It's a small update, but it brings about three important changes:


  • The most obvious change is that the progress bar has been removed from the main window. Now it has a separate window that both makes it so the user interface doesn't "freeze up" anymore. It also gives users feedback about where the program is in the process, which will help with bug hunting in the future when crashes occur outside the developer environment.

  • There's a new forest background layer. It now tiles a lot less obviously. It's really swollen up in size, but that should be fixed soon. We're going to replace it with a smaller tile, with some changes so it's repeating more, but also less obvious about it. Future versions will also let users change the textures without have to replace the files completely and control how the tiling works.

  • Rainfall is now working a bit better. It's still not exactly perfect, but changing it made it not add weird bright spots that weren't attractive.

Friday, January 4, 2013

Dwarfpunch Mapper is now at 0.5.5!

Download available on Bitbucket (it's only 0.5.5, so it's not exactly perfect, just working)

   Dwarfpunch Mapper has been progressing nicely. Thanks to the documentation on his process kabookie was able to give me, I had a functional version up and running within a few days. However, it was actually quite lacking in the interface department. It was purely functional for a very basic version of the program. Now we're looking at this:



   Now users can toggle various layers on and off as we add more to the program. Some people on /r/dwarffortress were asking about glacier/tundra areas being visible as ice. 



   Since Dwarf Fortress has this "biome" output option, it's actually really easy to do something like this in a future version. Of course, it's going to be completely optional so you don't need to have ice and deserts if you don't want to.

  This version also started filling in the settings dialog, with some options for color added to the previously lonely image scale setting. This was originally meant to help testing, but it actually can make some kind of interesting fantasy landscapes possible:


   The top priorities now are getting the output more refined (matching the original Photoshop script more), replacing more of the hard-coded values with settings, and finding out what other layers can be added to the map, in that order.