Scripts / Show Text in front of Panel?

Author
Message
Nathan38
13
Years of Service
User Offline
Joined: 13th Feb 2011
Location:
Posted: 15th Jul 2016 17:01
Hi all,
just wondering if this is possible?
Currently if I try to show text and a panel, the text appears behind the panel and it's not very readable

Thanks!
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 15th Jul 2016 19:11
When you say panel...
If you are talking about sprites then this might help:

Quote: "PasteSprite: PasteSprite ( mySprite ) -- pastes the sprite at its current location (good for pasting sprite BEHIND text)"


See comments at the bottom of global.lua file.
hth

3com

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 16th Jul 2016 02:00
and if you do mean the Panel command then you need to make sure it's in the correct order as it will draw in the order you put the code. i.e.
Panel()
Text()
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Nathan38
13
Years of Service
User Offline
Joined: 13th Feb 2011
Location:
Posted: 16th Jul 2016 12:25
Hi guys,
I was writing the text before drawing the actual panel, thanks very much!

Login to post a reply

Server time is: 2024-05-03 22:41:46
Your offset time is: 2024-05-03 22:41:46