| View previous topic :: View next topic |
| Author |
Message |
kundarmah
Joined: 18 May 2009 Posts: 12
|
Posted: Sun Sep 13, 2009 3:37 am Post subject: [HELP!] INTERFACE FOR A PLAYER |
|
|
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 |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Sun Sep 13, 2009 4:08 am Post subject: |
|
|
Basic 2D GU for drawing. Maybe intrafont for psp style text fonts. _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Sep 13, 2009 3:06 pm Post subject: |
|
|
| 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 |
|
 |
kundarmah
Joined: 18 May 2009 Posts: 12
|
Posted: Sun Sep 13, 2009 4:56 pm Post subject: |
|
|
| 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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Sep 13, 2009 8:51 pm Post subject: |
|
|
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 |
|
 |
kundarmah
Joined: 18 May 2009 Posts: 12
|
Posted: Mon Sep 14, 2009 12:43 am Post subject: |
|
|
| 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 |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Mon Sep 14, 2009 2:27 am Post subject: |
|
|
Draw the text after you draw the pictures _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
|