Hi
(http://i.imgur.com/91mxsn4.png)
I am having trouble with my text gui - the top right element is being displayed over the other elements instead of next to it and the text seems to be going outside of the border of the box - can anyone tell me what I am doing wrong?
Thanks
Could you show us the sprites you're using?
Here we go - screencap from AGS
(http://i.imgur.com/z94on51.png)
Quote from: Igthorn on Sun 11/05/2014 15:48:55
Here we go - screencap from AGS
(http://i.imgur.com/z94on51.png)
I would reduce the length of the left-hand grey borders
I did a quick test using this:
(http://i.imgur.com/tvhBvQc.png)
Didn't help though, the top center image was still painted up to the right edge, and the top-right one on top of it.
It looks like the only alternative is using dynamic sprites, which also means you can't use Display() / Say() any longer (you have to create a custom function).
The long-term solution is to change AGS' internal algorithm to make sure the inner width of the text window is a multiple of the sprite's width.
Bugger!
If you look at the screencap at the top - the word approachable seems to be going off the edge of the space allocated to it (the lighter yellow) - am I making a mistake?
Thanks for your help
When I tried the evenly sized tiles, I didn't have words going off the edge, so you can at least fix that it seems.