| View previous topic :: View next topic |
| Author |
Message |
spyk
Joined: 22 Mar 2006 Posts: 14
|
Posted: Thu Mar 23, 2006 4:37 pm Post subject: Image.createEmpty(480, 272) - Can we create a bigger image? |
|
|
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 |
|
 |
Kameku
Joined: 23 Mar 2006 Posts: 32 Location: Oregon, USA
|
Posted: Thu Mar 23, 2006 4:51 pm Post subject: |
|
|
| I'm pretty sure the max is 512x512. |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Thu Mar 23, 2006 7:18 pm Post subject: |
|
|
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 |
|
 |
Kameku
Joined: 23 Mar 2006 Posts: 32 Location: Oregon, USA
|
Posted: Fri Mar 24, 2006 9:03 am Post subject: |
|
|
| Yeah, but technically, that's more than one image. |
|
| Back to top |
|
 |
Giuliano
Joined: 13 Sep 2005 Posts: 78
|
Posted: Fri Mar 24, 2006 1:12 pm Post subject: |
|
|
| 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 |
|
 |
Kameku
Joined: 23 Mar 2006 Posts: 32 Location: Oregon, USA
|
Posted: Fri Mar 24, 2006 2:04 pm Post subject: |
|
|
| I'm sure the filesize would differ from one image and say, 20, as would game speed. |
|
| Back to top |
|
 |
Giuliano
Joined: 13 Sep 2005 Posts: 78
|
Posted: Sat Mar 25, 2006 11:31 am Post subject: |
|
|
| 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 |
|
 |
|