Sign in to follow this  
  • entries
    223
  • comments
    165
  • views
    79331

Day 13 - Sweet Victory

Sign in to follow this  
Stephen R

103 views

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.
Sign in to follow this  


3 Comments


Recommended Comments

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

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now