ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 5167

Custom texture on a menu

by Jwwalsh - 02-14-2018 - 02:59 AM
#1
How do you get a custome texture on a menu base?
Reply
#2
(02-14-2018 - 02:59 AM)Jwwalsh Wrote: How do you get a custome texture on a menu base?

Custom Background?
Reply
#3
i would like to know this
Reply
#4
(02-14-2018 - 03:35 AM)DewRific Wrote:
(02-14-2018 - 02:59 AM)Jwwalsh Wrote: How do you get a custome texture on a menu base?

Custom Background?

yes
Reply
#5
(02-16-2018 - 06:53 PM)BigBurger Wrote:
(02-14-2018 - 03:35 AM)DewRific Wrote:
(02-14-2018 - 02:59 AM)Jwwalsh Wrote: How do you get a custome texture on a menu base?

Custom Background?

yes

calling from an external file?
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#6
Use sprites. Load custom texture into title update and do it that way. No one is going to help you load it from the hdd.
This account is currently banned
Ban reason: Multi
Reply
#7
(02-17-2018 - 12:56 AM)densN Wrote: Use sprites. Load custom texture into title update and do it that way. No one is going to help you load it from the hdd.

there are also other methods
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#8
(02-16-2018 - 10:20 PM)NoNameV2345 Wrote:
(02-16-2018 - 06:53 PM)BigBurger Wrote:
(02-14-2018 - 03:35 AM)DewRific Wrote:
(02-14-2018 - 02:59 AM)Jwwalsh Wrote: How do you get a custome texture on a menu base?

Custom Background?

yes

calling from an external file?

from the game.

with you an example of coding
thank's
Reply
#9
void DrawSprite(char * Streamedtexture, char * textureName, float x, float y, float width, float height, float rotation, int r, int g, int b, int a)
{
GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT(Streamedtexture, false);
if (GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED(Streamedtexture));
GRAPHICS::DRAW_SPRITE(Streamedtexture, textureName, x, y, width, height, rotation, r, g, b, a);
}
call: DrawSprite("commonmenu", "shop_box_tick",x, y, width, height,rot,r,g,b,a);
commonmenu and shop_box_tick is example
This account is currently banned
Ban reason: Abusing the Report function is not allowed. Please read the rules.
Reply
#10
(02-17-2018 - 02:02 AM)Wesley_Marcos Wrote: void DrawSprite(char * Streamedtexture, char * textureName, float x, float y, float width, float height, float rotation, int r, int g, int b, int a)
{
GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT(Streamedtexture, false);
if (GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED(Streamedtexture));
GRAPHICS::DRAW_SPRITE(Streamedtexture, textureName, x, y, width, height, rotation, r, g, b, a);
}
call: DrawSprite("commonmenu", "shop_box_tick",x, y, width, height,rot,r,g,b,a);
commonmenu and shop_box_tick is example

I'm going to try

thank you :)
Reply

Users browsing: 2 Guest(s)