About a year and half ago I worked on a game called Duality with a friend of mine, Neil Quinn. At the time I'd only just entered school and had little programming experience, so Neil did the vast majority of the coding. I came up with the original game idea, created the artwork and animations, and wrote the manual and music. (Although we ended up deciding not to bother with sound, the music is still in the game files. The artist is listed as "Ric Denis"- this is because the software I used is licensed to my dad, not me.)
The game was written in C# using Visual Studio and TorqueX.
The application file should install the game and run it, but I've found it runs a lot slower through that method than simply running the code in Visual Studio. I don't know for sure why this is, but I suspect it's a problem with Torque. Although it seemed very helpful at first, in the end Neil and I were not impressed with Torque's performance.
The game files are available here.
And the design document is here.
Progression
Monday, January 17, 2011
Saturday, January 15, 2011
C++ - Battlestar
This code is recent.
This is the first of a series of C++ assignments that will be building on each other. It's very simple, but future version will increase the complexity. It's eventually going to be a Battlestar Galactica themed game of Battleship. Surprisingly, the theme is the prof's idea. I'm not even a fan of Battlestar Galactica.
I'm still getting used to C++. A lot of it is familiar, given that I know C#, Java, and C already, but there are definitely some new things.
This assignment was intended to avoid dealing with dynamic memory management issues (thus no 'new' or 'delete' calls). I've dealt with dynamic memory management in C, but I don't yet have a lot of experience with it in C++. I'll be working on improving that this term.
I wrote this in Visual Studio 2008.
2404 BattleStar Part 1
This is the first of a series of C++ assignments that will be building on each other. It's very simple, but future version will increase the complexity. It's eventually going to be a Battlestar Galactica themed game of Battleship. Surprisingly, the theme is the prof's idea. I'm not even a fan of Battlestar Galactica.
I'm still getting used to C++. A lot of it is familiar, given that I know C#, Java, and C already, but there are definitely some new things.
This assignment was intended to avoid dealing with dynamic memory management issues (thus no 'new' or 'delete' calls). I've dealt with dynamic memory management in C, but I don't yet have a lot of experience with it in C++. I'll be working on improving that this term.
I wrote this in Visual Studio 2008.
2404 BattleStar Part 1
Old Code - C Book Club
I did not enjoy this assignment at all. After learning to code with Java, my first course in C was a bit of a shock. I'm still not really a fan of C, but I can admit that it's an important thing to know. I think the most important thing I got out of this course was commenting practice, though. The prof was strict about commenting your code, and that broke some bad habits I had developed. Thanks to him, when I look back at this C code, I can easily understand why I wrote what I did - as opposed to my earlier Java assignments, which I can barely follow now.
I wrote this assignment in the C/C++ version of Eclipse 3.5. I think that was a mistake. Eclipse is by far my favourite IDE (I used it for all my Java assignments), but it's designed for Java, not C. It was buggy and sometimes confusing.
1402 Book Assignment
I wrote this assignment in the C/C++ version of Eclipse 3.5. I think that was a mistake. Eclipse is by far my favourite IDE (I used it for all my Java assignments), but it's designed for Java, not C. It was buggy and sometimes confusing.
1402 Book Assignment
Old Code - Java Asteroids
Another old 1406 assignment. This one was a lot more fun than the Stadium Model. My code is still lacking in documentation and organization here, but at least the functionality is there. After all, who doesn't love asteroids?
1406 Asteroid Assignment
1406 Asteroid Assignment
Old Code - Java Stadium Model
This is an old assignment I did for COMP 1406. I'd been programming about six months at this point.
I completed all the requirements of the assignment, but the code was not organized or documented well. I think I've improved a lot in the last year on that front.
Incidentally, the administrator username and password the program asks for if you click the 'administrator' dialog box in the bottom right are "COMP1406" and "SECRET" - that was one of the requirements of the assignment, strangely enough.
The text files need to be in the same folder as the .jar for it to run.
1406 Stadium Assignment
I completed all the requirements of the assignment, but the code was not organized or documented well. I think I've improved a lot in the last year on that front.
Incidentally, the administrator username and password the program asks for if you click the 'administrator' dialog box in the bottom right are "COMP1406" and "SECRET" - that was one of the requirements of the assignment, strangely enough.
The text files need to be in the same folder as the .jar for it to run.
1406 Stadium Assignment
Subscribe to:
Comments (Atom)