Display text with PRX

Martos

Member
Hi, i'm develop a sprx plugin with ps3sdk. There is any method to draw some text on the screen with SPRX ?
 
Hi, i'm develop a sprx plugin with ps3sdk. There is any method to draw some text on the screen with SPRX ?

If it is a short text displayed for a short time, you can use a notification message.
In webMAN MOD you can find some examples to show notification with custom icon, standard info icon and at the bottom of the screen.

https://github.com/aldostools/webMAN-MOD/blob/master/include/vsh.h#L149
https://github.com/aldostools/webMAN-MOD/blob/master/include/show_msg2.h

If it is a full screen GUI dialog, you can use slaunch or VSH menu as example:
https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/slaunch
https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/vsh_menu

They use a hack method developed by 3141card, that require to pause RSX processing to replace the pixels with your own data.

These projects have a blitting library used to draw fonts, jpg & png images, lines, circles, rectangles or pixels.
 

Similar threads

Back
Top