Skip to content

Mobile events#1617

Open
Sesena0u0 wants to merge 5 commits intoTurboWarp:masterfrom
Sesena0u0:sesena
Open

Mobile events#1617
Sesena0u0 wants to merge 5 commits intoTurboWarp:masterfrom
Sesena0u0:sesena

Conversation

@Sesena0u0
Copy link

@Sesena0u0 Sesena0u0 commented Jul 17, 2024

This extension adds specific events for mobile devices to TurboWarp. It allows you to use swipe, tap events, and more.

  • Swipe detection: Allows checking if a swipe has been detected and provides the swipe direction, with 0 degrees pointing upwards.
  • Tap detection: Allows checking if a tap has been detected.
  • Long press detection: Allows checking if a long press has been detected.
  • Pinch open detection: Allows checking if a pinch open gesture has been detected.
  • Pinch close detection: Allows checking if a pinch close gesture has been detected.
  • Number of touches: Provides the number of touch points currently detected on the screen.
  • Landscape orientation: Allows checking if the device is in landscape mode.
  • Device orientation: Provides the device's orientation angle.
  • Mobile device verification: Allows checking if the user is using a mobile device.

@CubesterYT
Copy link
Member

Third similar extension having to do with touches on the screen, wow.

@Drago-Cuven
Copy link

Third similar extension having to do with touches on the screen, wow.

this one "does" have more useful blocks though.

@Drago-Cuven
Copy link

@Sesena0u0 for mobile you shoud call it tap or press, not click. this is to avoid confusion.

@Sesena0u0
Copy link
Author

@Sesena0u0 for mobile you shoud call it tap or press, not click. this is to avoid confusion.

Yes you are right, I will correct that. Thank you

@Drago-Cuven
Copy link

something I must alert any "touch" based extension about, not every device with a touch screen is a mobile device. there are even windows 11 computers with touch screens. please keep this in mind when creating/editing extensions like this.

that being said, tapping works, but all swiping and pinching blocks do not work.

@Drago-Cuven
Copy link

I am on a touchscreen chromebook

GAPCefor
GAPCefor previously approved these changes Aug 11, 2024
Copy link

@GAPCefor GAPCefor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's cool, it works well and I guess this game was created with it?
https://sesena0u0.itch.io/two-switch

@GarboMuffin GarboMuffin added the pr: new extension Pull requests that add a new extension label Oct 14, 2024
Thebloxers998
Thebloxers998 previously approved these changes Oct 31, 2024
Copy link

@Thebloxers998 Thebloxers998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice extension

@Thebloxers998
Copy link

I am on a touchscreen chromebook

I'm on a windows touchscreen (you dont need to reply)

@GarboMuffin GarboMuffin dismissed stale reviews from Thebloxers998 and GAPCefor November 17, 2025 23:22

Dismissing old approvals so that moving forward everything follows #2327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new extension Pull requests that add a new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants