Quick question about yeldarbs tuts

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
UsefulIdiot
Posts: 13
Joined: Tue Jan 17, 2006 4:44 pm

Quick question about yeldarbs tuts

Post by UsefulIdiot »

When using yeldarbs tuts to draw a png to the screen, I have a problem with the size of the pngs being drawn. Ive tried changing many values inside his initGraphics() function(graphics.cpp) , but the output of the png(with the size of 480x272), only 1/4 of the image is displayed but scaled to fit. I tried changing the PIXEL_SIZE definition and the others related to it, but to no avail.

For example, with his tutorial, make a png that is 480x272, use thick lines to divide it into quarters, display it with the same code, and it only displays the top left portion of the image.

Thanks
UsefulIdiot
Posts: 13
Joined: Tue Jan 17, 2006 4:44 pm

Post by UsefulIdiot »

OK I solved this problem on my own, it ended up being that somehow my blitAlphaImageToScreen() function got changed somehow.
Post Reply