Wednesday, June 9, 2010

OpenGL hates text

It's almost as if it was designed for something else!

Anyway, rendering a standard room, I can get about 3-6 fps. It has to work pretty hard to do it too. I'll probably try and do some profiling and figure out where the performance is being lost.

This is actually crazy cool. Usually your tools to do a specific task are really rock solid.

How many times have you ever had to optimize something: pretty much never.

So basically OpenGL sucks at text, and this means I can break out things like loop unrolling, macros and whatever else to try and get it working faster.

Should be fun!

Friday, June 4, 2010

Thunder: Heroism on Steroids



So, on the TI-83 graphing calculator I once made an rpg that was all text. You played as U and you went on a fairly short adventure to save your lost love V from the evil wizard Z. On the way you encountered your arch nemesis F and had comical moments with E and C.

You fought deadly enemies like pi and even a snake at one point I think it looked like this: ==( 0_). Basically it was the best you could squeeze out of 26 letters, a bunch of math symbols, 26 variables and the BASIC programing language.

The game was called Thunder: Heroism on Steroids, and now I'm gonna try and make it again: For computers everywhere.

I couple days ago I threw together this picture:


It's a black triangle (thanks James!) - everything is running in the games "engine" and it spits out this image.

I'm doing everything in C++ with OpenGL - because I like overkill. It won't be a very long game, but hopefully it'll be fun and give people a chuckle. It should run on damn near anything which means hopefully everyone'll be able to play it.

I'm mostly just working on it so I can try out some stuff. I want to get experience making a battle system, an overworld, an inventory and a way to switch nicely between them.

Right now, you can move around. It'll only get better.

Once it's done - or I'm tired of working on it - I'll probably release all the code. Everything is probably going to be hard coded, so people with a good grasp of C, should be able to change just about everything about the game.

Anyway, wish me luck. Should be fun.

Friday, February 26, 2010

Progess!

I figured out how texture objects and this has led me to get the cool character portrait things found in all star-fox clones.

I just cranked this out as an example: The character is Harle from Chrono Cross. It's just a placeholder for now, I just grabbed a random picture of a random character and threw it up.
I most certainty don't claim any ownership. The colorings a little off. The blues may be green and the greens may be blue, but the red is correct!

I had to make a .bmp loader. Twas cool and exciting actually and not that hard. bmp's are pretty simple. It sounds pretty cool though. You know when you save a picture as a bmp, I know how those work! Wild sauce.

If I can say one thing about working with such things:

Hex editors are your friends

Wednesday, February 17, 2010

Gravity Simulator!

Building a Gravity Simulator. Full details can be found here: http://www.engr.uvic.ca/~liamk

Technically it's a study of Parallel Programming Techniques with a Focus of the Cell Processor, but the sample problem I'm cranking away at is a gravity simulator.

A sweet youtube video of it in action can be found here! Unfortunately recording it slowed it down by about half, so I suggest jumping to about 3 minutes in, or maybe just having it run in the corner of your screen while you do something else.

Tuesday, January 26, 2010

Dell Shipped to Wrong Adress

Can you believe it. When I ordered my new laptop, I mentioned that it must be shipped to my current address no less than 3 times. They've shipped to the wrong one, in an entirely different city. In fact no less than a thousand miles separate where my laptop is going and where I currently reside.

I called them up and I asked if they could redirect the order. I mean why not? I'm certainly much closer then where I am now.

Nope. They don't do that, but I can wait a week for it to arrive, in the wrong location, cancel the order and then reorder my laptop. Unfortunately it took them a solid month to build the first one. Interesting to note I took a stock model. I didn't customize anything and it still took them a month. I need this laptop for school, and I'm already one month into my semester and I should be starting my honours project in computer science, you know for my degree.

This really sucks Dell. Thanks a lot.

If I were you, and I needed a laptop soon or in the next two months. I would go someplace else.

I'm not the only one to have this problem.

Thursday, January 21, 2010

Galaxy of Spherus

My friends at uvic appear to have made a pretty complete science fiction roleplaying system. I haven't tried it, but I'm linking to it so it gets higher search results. That way when I type "Spherus" into google I'll get what I want.

Try it out and get back to them

http://galaxy-of-spherus.tripod.com/

Monday, January 18, 2010

Lappy Died

And as such, haven't made a whole lotta progress. Stay tuned, or maybe take a breather for a month or two.

Sunday, December 27, 2009

Command Line DM Tools - The Shill

This just in. Command line DM tools, for you.
Play D&D? Think the command line is the best interface known to man? GUI's for Sissies?
Click here for download page

Need to roll dice? Need to roll lots of dice and then add them up.
Well you'll enjoy the handy dice rolling apps:
Dice Roller d6!
Literally faster than actually rolling 10d6 and much much faster than mentally combining them. Works for d4 to percentile. Can do anything less than 4 billion d6! Wow that's some fireball! With the dice rolling apps, 12d12 isn't such a problem any more.

-77 kobolds all fire crossbows at Grou? just type "./d20 77" and see how many go above 15! Then type "./d6 " and see how much damage he took! Previously that would have taken me 4 days to figure out, now it's easy to fling tons of ...stuff... at PC's and see if they live!

Need to keep track of any number of monsters hit points? Need this to unlimited and versatile?
Well today we bring you the HP tracker++ also known as "c".
Hp tracker!
Have as many enemies as your computer has hard drive space! This should be in the several trillion range.

Wow Soric got hit pretty hard, but it's not like you have to subtract 40 from 14 just cause Penny got a crit! Now you just gotta type "./c soric - 40". Now having Sam at the table isn't such a big problem anymore, cause with friends like him, who needs enemies!

Need to keep track of initiative? Need to keep track of lots of initiatives and know who's next?

Check the initiative tracker out!
Initiatives!
How many times have you ever been at a game, or have been running a game where there is like a 5 minute pause between turns whilst the DM ponders who's next in the order. Ever started also keeping track of initiative because you're concerned the DM might just lose it.

NO MORE!

With this handy took all you have to type is something like this:
./init jer 12 liam 20 torg 13 kobold 10 and eleph 7
and it figures out who goes in what order. Then you press enter and it shows you who's next. Wowzers. Need to quite just enter in 'q'. Then you can press up, alter the initiatives and then go again! Uses Malloc! Memory Allocation Technology to ensure that the order is maintained regardless of battle size. I've actually been using this for some time and it's the only reason I drag my laptop to every single game I run.

Command Line DM Tools for D&D

Wow your a dork if you even found these - and also my kind of people.
I made a few of these. One tracks initiative, a few roll dice and the last tracks hit points. They're called init, d4, d6, d8, d10, d12, d20, d100 and c respectively. They'll work for any system that uses dice, initiatives or hit points.

You can download them all:

Source Code - cdmt.zip

They're all command line and I made them in Ubuntu, so they should be good to go for all Debian based Linux, Mac os X and damn near everything else.

You may have issues with the hp tracker if you're using windows. All you'll have to do is change some / to \ and \ to / if you're having problems. You probably shouldn't have any issues though with anything. It's all pretty basic stuff.

It's released under the Beer License.

Wednesday, December 2, 2009