| View previous topic :: View next topic |
| Author |
Message |
JJPeerless
Joined: 20 Jun 2005 Posts: 82
|
Posted: Fri Sep 02, 2005 11:43 am Post subject: animation |
|
|
ok..i have 65 png pictures - each a frame in an animation. Im using shine's loadImage() routine to load the images into ram. (the total size is about 4mb) However, I cant load all of them at once..psp crashes.. so one solution I found was to play animation like this:
load image, display image, free image...repeat 65 times.. this worked...however.. the time it took to loadimage from memorystick.. is greater then the time between each frame..so it plays..almost like in slow motion.. too much time between frames..
how can i either a. load all the images before hand.. or b..load images in the background while it displays with the correct wait between each frame.. |
|
| Back to top |
|
 |
statikeffeck
Joined: 15 May 2005 Posts: 11
|
Posted: Fri Sep 02, 2005 1:50 pm Post subject: |
|
|
How big is each PNG file, in pixels?
Have you tried storing all frames in 1 PNG file, vertically, and then for each frame just draw a different part of the picture. |
|
| Back to top |
|
 |
orphan frequently
Joined: 11 Aug 2005 Posts: 9
|
Posted: Mon Sep 05, 2005 8:16 am Post subject: |
|
|
maybe load slowly before use, or load 3 or 4 at a time, preferably with a head start on the loading _________________ Mike3285: wtf is a palindrome
MaroonSand: no its not dude |
|
| Back to top |
|
 |
|