Mobile quality of life mods?

  • Linkram
    7th Sep 2021 Member 0 Permalink

    I have no coding knowledge whatsoever, but what about a virtual keyboard for mobile players? And a script that will reposition the script button to fit the mobile version? The virtual keyboard would have all the buttons (ctrl/cmd, shift, etc.)  I think that this will improve the mobile experience and  maybe bring in new players!EDIT: similar question at https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=23181, but I don't want to necropost. This is kind of an answer to that

    Edited 2 times by lincolnram. Last: 8th Sep 2021
  • Linkram
    12th Sep 2021 Member 0 Permalink

    Bump: if anyone could implement this I would be happy. My PC can run the powder toy but the graphics card is super slow... my phone is faster lol. (My PC is from 2008 I think)

    Edited once by lincolnram. Last: 12th Sep 2021
  • jacob1
    12th Sep 2021 Developer 0 Permalink
    Someone submitted a mod to the script manager to add stickman controls, but I haven't tested it yet so it's unapproved. (And it doesn't use the stickman api that my mod / Android port has). This is the only mobile QoL mod I'm aware of.

    As for your suggestion, I think the ability to do this would be limited, but certain things are possible. The main restriction is that you can't actually set ctrl/shift from Lua. But, there are Lua apis for nearly everything in the game. So there are Lua apis for drawing lines and boxes, so with enough dedication, it is technically possible to write a Lua script to draw lines / boxes on Android. It would also be possible to replicate some other shortcuts, but a lot such as ctrl+c, ctrl+v, ctrl+f, would not be possible from Lua.
  • Linkram
    12th Sep 2021 Member 0 Permalink

    Thanks, I don't know how to code at all, and stkm controls will be very useful! Thanks! =P

    Edited once by lincolnram. Last: 12th Sep 2021