forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Quick question about yeldarbs tuts

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
UsefulIdiot



Joined: 17 Jan 2006
Posts: 13

PostPosted: Sat Mar 18, 2006 10:39 am    Post subject: Quick question about yeldarbs tuts Reply with quote

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
Back to top
View user's profile Send private message
UsefulIdiot



Joined: 17 Jan 2006
Posts: 13

PostPosted: Sun Mar 19, 2006 3:27 am    Post subject: Reply with quote

OK I solved this problem on my own, it ended up being that somehow my blitAlphaImageToScreen() function got changed somehow.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group