Day 13 - Sweet Victory

posted in Perpetual Alpha
Published December 01, 2004
Advertisement
Today was just one of those days where everything went right. I arrived at school and found out that I had a half-day, needless to say that went down well. I had an english exam which I say I did pretty well on and then I was home at twelve.

Got down to working on the engine. I got all the graphics code done. There are almost definitely bugs that will have to be worked out but all the code is in there and compiling. Part of the graphics code was loading an animation from a single file so I decided to write the app to rig up those animation files today as well. Loaded up C# and got to work. I just finished it. Because I'm using D3D I made the program place the sprites in as close to a square as possible, hopefully this will reduce wasted space. I use the top row of pixels to store the dimensions and number of frames. Here's a screeny:



Again, C# just makes this sort of work rediculously simple. I had a wierd bug though when I went to blit from the source image to dest image - it was scaling the image on the Y axis for some odd reason. I got around it quickly by using a different form of the blitting function that took a destination rectangle as a paramater but I shouldn't have had to do that. I used Leroy's walking animation from Maul Ball for the screeny

Tomorrow I'm going to get to work on the timer subsystem. It isn't a very big system so I might start one of the other editors I'm going to be needing as well.
0 likes 4 comments

Comments

Ainokea
Ok because of you I am going to start seriously learning c#. Writing tools in pure win32 is annoying.
December 01, 2004 10:01 PM
Stephen R
Welcome to the dark side.
December 02, 2004 10:19 AM
Gaiiden
Yea, I keep hearing ppl talk about making apps in C# and it being rediculously easy. I think I might finally dust off the C# For Dummies book I bought ages ago.

*checks to make sure it's still there*

Ok good :P
December 02, 2004 09:55 PM
CharlieGlynn

I took a nap and then did some more work on the bike, I was by myself to this was great because I could just get up and get what I wanted without having to ask anyone. When my dad came home we test-drove it and brought it back for a few tweaks, also we need to find 3 best thesis writing services to hire at a sensible cost. My dad is really pleased with my work so far and in a few days, hopefully less than a week, as long as nothing untoward happens it will be on the road.

February 21, 2022 04:42 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement