Scripts / [SOLVED] Text over sprites

Author
Message
stv238
7
Years of Service
User Offline
Joined: 23rd Mar 2017
Location:
Posted: 23rd Jun 2020 13:28
Hello, I have a problem. Sprites always overlap text, even if you put them at maximum depth. Is it possible to somehow display the text on top of the sprite?

The author of this post has marked a post as an answer.

Go to answer
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 23rd Jun 2020 14:07
This post has been marked by the post author as the answer.
It is hard to say without looking at your script, look for pastesprite, and pastespriteposition commands (talking by memory) in global.lua file.
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
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 23rd Jun 2020 17:14
The sprite depth only works for pasted sprites, you have to create them off screen, then paste them on screen with depth to get text to be on top of them.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 23rd Jun 2020 20:31
Unfortunately the paste commands only take integers as input, it's reported on GitHub already but no idea when they'll get around to bug fixing again.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-12-22 03:04:49
Your offset time is: 2024-12-22 03:04:49