generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: mobile controls invisible?

Previous Thread :: Next Thread 
jonesj627 is not online. 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 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
04 Aug 2017 10:21 PM
bump
Report Abuse
Wrathsong is online. 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
Emeraldtwins is not online. Emeraldtwins
Joined: 26 Nov 2013
Total Posts: 284
04 Aug 2017 10:32 PM
The one above me, he's right.
Report Abuse
jonesj627 is not online. 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 is not online. 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 is online. 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 is not online. 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 is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
04 Aug 2017 11:23 PM
good job


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image