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 

Image.createEmpty(480, 272) - Can we create a bigger image?

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



Joined: 22 Mar 2006
Posts: 14

PostPosted: Thu Mar 23, 2006 4:37 pm    Post subject: Image.createEmpty(480, 272) - Can we create a bigger image? Reply with quote

Hi all
In my script, I use this fonction
Image.createEmpty(480, 272)
But I want make a bigger picture.... And when I type
Image.createEmpty(1000, 500) It say "Invalid picture size..."
Hmm. How can we create a picture bigger than 480, 272?

Thank!!
Back to top
View user's profile Send private message
Kameku



Joined: 23 Mar 2006
Posts: 32
Location: Oregon, USA

PostPosted: Thu Mar 23, 2006 4:51 pm    Post subject: Reply with quote

I'm pretty sure the max is 512x512.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Thu Mar 23, 2006 7:18 pm    Post subject: Reply with quote

correct 512x512 is max, but you can create larger images using tiles (sidescroller etc)

greets
lumo
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
Kameku



Joined: 23 Mar 2006
Posts: 32
Location: Oregon, USA

PostPosted: Fri Mar 24, 2006 9:03 am    Post subject: Reply with quote

Yeah, but technically, that's more than one image.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Giuliano



Joined: 13 Sep 2005
Posts: 78

PostPosted: Fri Mar 24, 2006 1:12 pm    Post subject: Reply with quote

Kameku wrote:
Yeah, but technically, that's more than one image.


But if it gets the goal accomplished, then what's the difference ? :)
Back to top
View user's profile Send private message
Kameku



Joined: 23 Mar 2006
Posts: 32
Location: Oregon, USA

PostPosted: Fri Mar 24, 2006 2:04 pm    Post subject: Reply with quote

I'm sure the filesize would differ from one image and say, 20, as would game speed.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Giuliano



Joined: 13 Sep 2005
Posts: 78

PostPosted: Sat Mar 25, 2006 11:31 am    Post subject: Reply with quote

Kameku wrote:
I'm sure the filesize would differ from one image and say, 20, as would game speed.


Blitting is the slow part so it is better to blit one big image rathe than 4 small ones but the max being 512x512 allows images to be large enough so that you do not have to blit too many images at once
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 Lua Player 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