Example

Movable Game buttons

3

was8bit 2019-08-18 05:46 (Edited)

Touch arrow button then drag finger to scroll screen

HOLD any button for a few seconds then drag to reposition any button

Scroll Button 2.nx | Open in app
2019-08-20 14:13
Scroll Button.nx | Open in app
2019-08-18 05:46

Timo 2019-08-20 20:47

Interesting idea for an iPad, but on a small iPhone you would cover a lot of the screen with your fingers. Also not very usable on computers.


was8bit 2019-08-21 03:43

I actually wrote and tested this version on my iphone, and it worked fine for me... for computers using a touch screen it should work too...

... it’s just an idea... IF one could attach gamepad commands to sprites, this would open up the door for user designed game buttons...

I agree the idea is best used for touch screens though...


was8bit 2019-08-21 03:49 (Edited)

I actually have issues with the build in gamepad controls... my big hands have trouble acurately finding any one button if it’s an action game.. I can’t play action games very well with the gamepad controls... with my controllers one can “flick” the scroller button in one direction to create the same result as a tap direction, and the fire buttons can be placed farther apart so my thumb can hit the correct buttons consistently ...

IF an action game concentrated the action in the middle of the screen, then the layout I saved in my snapshot picture would work perfectly for my bigger thumbs ;)


was8bit 2019-08-21 03:53 (Edited)

If you read the code, the scroller button resets its center point each time you touch it, so even if you accidentally touch it too high or low or left or right, the point where you first touch it becomes the center point.. as I never hit the center each time i try, i am “thinking” its the center, and my button then responds as I expect it to..

Your arrow keys (as fine as they are) in an action game I’m constantly hitting directions different than what I am expecting to hit..,


was8bit 2019-08-21 03:58

.... try this test..... try flicking upwards on the scroller button... no matter if you start leftish or rightish on the button, so long as finger is moving straight up, the screen scrolls straight up... :)


Timo 2019-08-21 11:35

I know the main issue is the build in gamepad. This is what I have to improve so that nobody else has to invent their own solutions. The problem is that I don't have time for it :/
Regarding the self-centering d-pads: I think they are good for games with continuous movement (like shooters), but for games like Tetris I think it wouldn't work well at all.
My plan is to simply increase the size of the buttons like in the old LowRes Coder.


was8bit 2019-08-21 14:09

Yes, the old LowRes gamepads were better :)


was8bit 2019-08-21 14:15

.. for TETRIS maybe I would remove the Dpad and only use A B C D buttons which only tap....with flexible buttons you are not limited to a standard set or layout :)

...but this specifically was just me experimenting and having fun :) more than likely I'll stick to your gamepad to keep the games playable for everyone ...


Tinycloud778 2019-08-22 22:25

Very nice for a mobile game


Log in to reply.