Jump to content

Leadwerks 3 input


ParaToxic
 Share

Recommended Posts

Hello Josh or somebody who develop the LE3 engine.I'm wondering how the input system looks like for LE 3 for android or iOS ( I mean the touchscreen).

Which commands you will use in the engine ?

I mean for mobile games you have controlsticks, or some detection for moving the finger left,right....

Would be interesting to know something about that :)

Thanks

Link to comment
Share on other sites

I guess he means how the actual code would look which uses LE3 commands to read touch, tilt, etc...

Most engines have either a seperate TouchDown() or a MouseDown() function which works the same for mouse and touch events.

Most phones can handle like 32 fingers simultaneously, so there needs to be somekind of info also, which mouse was pressed or moved, like MouseDown(6) would check if your phone is touched with 6 fingers, and MouseX(6) would return the 6th fingers x-pos. When you release the 5 other fingers, the remaining finger should still count as 6th finger, until it is also released and then the counting starts from 0 again.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...