Game Development Community

Gui Won't Appear (Android) (Solved: Case Sensitivity)

by practicing01 · in Torque 2D Beginner · 09/10/2014 (8:11 am) · 3 replies

Everything is working perfectly on pc. I've spawned this gui here and toggle its visibility here. On android, when I try to toggle its visibility it just doesn't appear. Works fine on pc (linux). Side note: onDoubleClick doesn't work for guiLists on android either.

Edit: Solved, it was a case sensitivity mismatch when specifying the path. Odd because linux didn't complain.

#1
09/11/2014 (8:19 am)
I'm glad you figured that out - the Torque community is kind of small and the portion of it working on Android is apparently even smaller.

I think it is odd that the path was valid on Linux and not on Android, especially since iOS and MacOS choke as well. iOS filename case issues when working on 3SS is why I'm paranoid of it even under Windows - I am always trying to ensure that my scripts can be found no matter what platform I'm on.
#2
09/11/2014 (10:36 pm)
Solution to onDoubleClick being gimped: onMouseDragged does work, so just call %this.onDoubleClicked from within onMouseDragged.
#3
09/13/2014 (2:29 am)
I've been having enough fun getting everything to work right on Android, I can't imagine what it will be like when I get the chance to start on iOS. :P