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 

[HELP!] INTERFACE FOR A PLAYER

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



Joined: 18 May 2009
Posts: 12

PostPosted: Sun Sep 13, 2009 3:37 am    Post subject: [HELP!] INTERFACE FOR A PLAYER Reply with quote

I am planning to create an interface for my player. By using image slices. What things should I know to create an interface for my player.

I already tried to compile some of the examples and it looks like a console. What libraries should I need to learn? Or can you give me an example?
Back to top
View user's profile Send private message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Sun Sep 13, 2009 4:08 am    Post subject: Reply with quote

Basic 2D GU for drawing. Maybe intrafont for psp style text fonts.
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Sep 13, 2009 3:06 pm    Post subject: Reply with quote

Since you don't need high performance graphics for a player interface you can get by with the graphics.c from LuaPlayer.
Back to top
View user's profile Send private message
kundarmah



Joined: 18 May 2009
Posts: 12

PostPosted: Sun Sep 13, 2009 4:56 pm    Post subject: Reply with quote

Torch wrote:
Since you don't need high performance graphics for a player interface you can get by with the graphics.c from LuaPlayer.


Thanks! Can I combine lua with C? How can I compile it then?
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Sun Sep 13, 2009 8:51 pm    Post subject: Reply with quote

It's the c graphics library used in LUAplayer,
you don't need to actually use LUA.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
kundarmah



Joined: 18 May 2009
Posts: 12

PostPosted: Mon Sep 14, 2009 12:43 am    Post subject: Reply with quote

Art wrote:
It's the c graphics library used in LUAplayer,
you don't need to actually use LUA.


Thanks! IM already tring to put pics on it using graphics.h and libpng. My problem now is how can I put the text/song names infront of the first pics
Back to top
View user's profile Send private message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Mon Sep 14, 2009 2:27 am    Post subject: Reply with quote

Draw the text after you draw the pictures
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
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