Engine: I have most of this finished. I just might want to add scroll bars to some of the
elements so that you don't have to click the arrows so much.
GUI: I have almost every function in the save file sans the map functions (still trying to figure
out what every other line in that section means), the few that I don't understand, and the ones
I have deemed to be no value (game pad functions, lines 144-153).
File Format: As said, I have figured out most of this. If I was YMM, I would have stored the
ones and zeros in bits. That would make the file size many times smaller, and it would be
harder to figure out without a program to convert it. It is line 1554 that is giving me trouble. The
dreaded checksum.
Checksum: YEAAAARG! I don't know why I have the patience to do this. I've spent something
like two hours with notepad, An Untitled Story, a hex editor, and a calculator and I only have
figured out just a few percent of it. My methodology is to set everything I can to zero with a
hex editor. Once the checksum reads out as zero I am golden. Problem here is that the only
way to make everything zero glitches up the entire game so I need to constantly restart it
when it crashes.
From what I know YMM instantiates a variable to zero. He then performs operations using
every bit of data from that file. Because he checks everything, this will take a long time for me
to figure out what he did. He uses a lot of modulo and integer division. It's as if he is trying to bug me.
Then he simply does a few operations at the end (thank god not at the middle- that would mean a few more weeks) and then we end up with the final number. I'm still actively working on this.
Wednesday, March 18, 2009
Saturday, March 14, 2009
Happy (late) Pi Day!
3.1415926535. The wonders of pi. Since pi is infinite, a binary representation of pi actually contains the complete source code for every version of Microsoft Windows including those that haven't been made yet!
Just something to think about.
Just something to think about.
Friday, March 6, 2009
Humans vs Robots
I got some work done. I have finally added robots. It took a while but they now blow up when they touch a wall or each other. Now I need to add a load level function and a way of winning and losing the game. Also, I will expand the GUI to display the number of moves you have made. I don't feel like writing a lot tonight.
Thursday, March 5, 2009
Humans vs Robots (Java game, in early development)
Well, this is the result of four hours of work. It ain't seem like much, but it is about 200 lines of code, not counting white space.
I'm making it in Java.
The collision engine is 100% custom. It isn't very long (40 lines spread out between two classes), but it is efficient.
It is going to be a puzzle game where you have to destroy the robots (which are not in this video, they are not finished yet) while keeping the human alive. The robots follow you around, and you can kill them by crashing them into walls or each other.
It is pretty much a remake of a game that comes on Ubuntu Linux by default.
Subscribe to:
Posts (Atom)