[HELP!] INTERFACE FOR A PLAYER

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
kundarmah
Posts: 12
Joined: Mon May 18, 2009 1:29 am

[HELP!] INTERFACE FOR A PLAYER

Post by kundarmah »

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?
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Basic 2D GU for drawing. Maybe intrafont for psp style text fonts.

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Since you don't need high performance graphics for a player interface you can get by with the graphics.c from LuaPlayer.
kundarmah
Posts: 12
Joined: Mon May 18, 2009 1:29 am

Post by kundarmah »

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?
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

It's the c graphics library used in LUAplayer,
you don't need to actually use LUA.
If not actually, then potentially.
kundarmah
Posts: 12
Joined: Mon May 18, 2009 1:29 am

Post by kundarmah »

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
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Draw the text after you draw the pictures

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Post Reply