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 

[SOLVED] Few Simple Questions

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



Joined: 25 May 2008
Posts: 10

PostPosted: Sun May 25, 2008 1:55 pm    Post subject: [SOLVED] Few Simple Questions Reply with quote

First off it will be completely obvious I am new to developing on the PSP. With that said here are a couple questions I expect will come easy from the forums wisdom.

- Is there a place where all PSP functions and how they are used available?

- I know it is simple to play a sound on the PSP, is it possible to lower the volume (as you can in Lua) or pause a song?

- If an image is displayed past the screens width (or height) does it simply cut it off, or will it throw an error?

- How can you change the opacity of an image?

- If I am using a custom font (by making an image copy of each letter) do you recommend I make it one file or make many files for each letter?

I know these all seem "silly" and unrelated, but the information would be of great help to me. Sorry if these have been asked before, but I guess I'm not using the right Google terms to find the answers. Thank-you for any help you can supply me with.


Last edited by Crux on Mon May 26, 2008 12:59 am; edited 1 time in total
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun May 25, 2008 3:16 pm    Post subject: Reply with quote

The closest there is for docs is http://alek.dark-alex.org/pspsdkdocs/
You'll have to look at source code and old threads here for any other info.

For volume, look at sayka's LightMP3 source. To pause, just don't fill the sound buffers or decode anymore data until you unpause. Look at source for players in old threads, and programs like LightMP3.

Yes and no. If the primitive rendered goes outside the visible display, it simply cuts off, but if it goes outside the render plane, it's not drawn entirely, even if part should. Read threads on clipping and look at the Quake source.

Look at example source.

Depends on how you store and use the glyphs. It's probably easier to do it as just one file.
Back to top
View user's profile Send private message AIM Address
Crux



Joined: 25 May 2008
Posts: 10

PostPosted: Mon May 26, 2008 12:57 am    Post subject: Reply with quote

Thanks a lot for your reply J.F. that helped out a lot. Hope these random questions help somebody in the future. Again, thanks!
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