Display Text Bug
jamie_c
ImagineLabs.rocksMember, PRO Posts: 5,772
I'm working on a project where I am displaying text on screen, relative to the scene. The text is displayed from within a switch actor (see screen shot attached) and is set up to flush left from 30 pixels in from the left side of the screen. However it always and only displays centered at that location, neither the flush left or flush right options seem to make a difference. Is this a know bug? Can anyone else duplicate it?
Comments
Confirmed that those three buttons don't change the alignment.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang, thanks for checking. I'll go report.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@GeorgeGS, just wanted to tag you here so you are aware of this. I've reported it as well, it's bug 1693
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
As temporarily fix you could try opening up the actor's XML file and manually changing the alignment, this is assuming the buttons in the Text Display behaviour are not writing the alignment to the actor's XML.
left . . . . . ."alignment">0<
centred . . ."alignment">1<
right . . . . ."alignment">2<
Turn on wrap inside actor and you will get 'an' effect - still basically wrong it seems but alignment is changing.
I'll put the bug in the slack thread.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@socks, i'll give that a try this evening. Good idea.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Saddly updating the XML file directly didn't have any effect. The type stays centered even if I change Alignment to 0.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thanks!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page