jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 04 Aug 2017 10:12 PM |
| While testing my game, I noticed on mobile that sometimes when you join, your jump and movement touch pad are invisible and you can not move. I don't know why this is happened, I have modal enabled and everything. When you join in, I delete your character and do LoadCharacter() after you're done pressing a gui button, and Character Auto Loads is set to true. Could someone help with this? |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
| |
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 04 Aug 2017 10:30 PM |
wiki.roblox.com/index.php?title=API:Class/UserInputService/ModalEnabled
"When set to true the controls are hidden. Defaults to false."
|
|
|
| Report Abuse |
|
|
|
| 04 Aug 2017 10:32 PM |
| The one above me, he's right. |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 04 Aug 2017 10:39 PM |
| it was false before and i was still having the same problem, i looked on the devforum and someone had a similar problem with loadcharacter() |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 04 Aug 2017 10:49 PM |
| Emulating this in roblox studio provides the same problem, however, I look in the player's playerGui, and the thumbstick visibility is set to false(of course), but another strange thing, the jump button isn't even inside the screengui. when i disable and re-able the control script, the jump button magically appears, but re-abling it via script only makes the thumbstick visible. regardless this seems like its a bug with the starter player scripts and i shouldn't even have to do anything extra to fix this.. |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 04 Aug 2017 10:54 PM |
hmm well i linked that because you said "I have modal enabled" and you were complaining of it being invisible..but yes that sounds like quite an obscure issue
|
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 04 Aug 2017 10:59 PM |
| went through the control script and found the error was caused by deleting the character before the control script can load, adding a simple wait() seems to have fixed it |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
| |
|