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 

animation

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



Joined: 20 Jun 2005
Posts: 82

PostPosted: Fri Sep 02, 2005 11:43 am    Post subject: animation Reply with quote

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
View user's profile Send private message
statikeffeck



Joined: 15 May 2005
Posts: 11

PostPosted: Fri Sep 02, 2005 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
orphan frequently



Joined: 11 Aug 2005
Posts: 9

PostPosted: Mon Sep 05, 2005 8:16 am    Post subject: Reply with quote

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
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