Multitouch in iOS

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
ptrharmonic
Newbie
Posts: 1
Joined: Tue Oct 10, 2017 11:38 pm
Contact:

Multitouch in iOS

#1 Post by ptrharmonic »

I'm experimenting around with iOS and was wondering if multitouch works (I am trying to make a two finger tap gesture to open the menu). It seems like pygame_sdl2 will pass multitouch events from sdl2 to the pygame event queue but this test code I threw into the question only gives the same event type code (32770) on each touch. There is also the possibility that the iOS simulator is not actually doing the two finger tap (I don't currently have a physical device to test with).

Code: Select all

"Well, professor Eileen's lecture was interesting."

python:
        import pygame_sdl2 as pygame
        event = pygame.event.wait()
        print(event.type)
Is multitouch not supported or am I missing something?

Post Reply

Who is online

Users browsing this forum: Bing [Bot]