[Workaround solution] Pinch Gesture extension not working with Save states

Here is a separate event. Tinting works, pinching doesn’t.

could you please disable the load thing at the beginning of the scene and do
after the beginning as new event:

trigger once—load state

then new event

load just suceeded—enable pinch
trigger once

1 Like

I think this is what you mean.

1 Like

yep but delete the save after, we need to debug not cause more issues…

another thing

do a “or” condition

if load just succedded or ------ ENABLE PINCH
F6 KEY IS PRESSED
TRIGGER ONCE

1 Like

Still tinting but no pinching.
What about the fact that there IS javascript in the extension, I don’t understand whether it’s a ‘state’ thing or not.

F5 KEY IS PRESSED —SAVE STATE
TRIGGER ONCE

F6 KEY IS PRESSED —LOAD STATE
TRIGGER ONCE

THEN do a “or” condition

if load just succedded or ------ ENABLE PINCH
F7 KEY IS PRESSED
TRIGGER ONCE

check if f7 enable the pinch

i dunno if it’s the case but if it doesn’t work i would check this


What happen if the touch count variable is saved on subtracted value and it’s loaded when the touch is ended

1 Like

I used Num 5 etc because my Fn keys are toggled to other things.
All other events were disabled.

Start preview, pinch works, background is tinted
Press 5, save - pinch works
Press 7 - pinch works
Press 6, load - pinch doesn’t work
Press 7, enable - pinch still doesn’t work

As I mentioned above, I think something in the extension gets saved and can’t be reverted.
I believe Davy gonna look into it.

I don’t have enough brain power left to even think about this.


@ZeroX4 @RMDB
I really appreciate all the help from both of you, thank you.

2 Likes

Last thing
Make new scene

Save whatever and then load it

And have event with

Condition
Z key pressed

Action
Enable pinch gesture YES

NOTHING MORE in that event

I want you to load whatever and then just press Z key and tell me does pinch work or not

Actually do you have keyboard plugged to your touch device?
Cause if not then how you are either pressing keys or testing pinch?

1 Like

i believe he’s on phone.

I will try it. I’m doing everything on my laptop. My main project is intended to be used on a phone but this test project and all dev is on a laptop.

with touch screen rite?
or are you saving and then testing gestures on phone?

Yes it has a touch screen, sorry, I should have been clear on that, good point. Let me just do a quick check on a wifi preview on my phone.

1 Like

i don’t belive it gonna change much since u said

test what zero said here

Same test project, new scene, no other events. After space key is pressed to load from storage, pinch doesn’t work.

1 Like

lol…wel…ok…
At this point let’s just wait…
:cup_with_straw:

mmm you know what…
how about disable the pinch before the save?

do a disable pinch before the save (like resetting)
then
enable it after load.

1 Like

Ping Davy
At this point i would consider it a bug

Yes, I tried it and had tried it several times before starting this thread.

@davy
Both Zero and RMDB have very kindly suggested a lot of things for me to try and I’ve posted the screenshots of those attempts. I still can’t get pinching to work, as mentioned already, four of the Pinch functions have javascript. If Pinching and Save states don’t work together and there is no solution I’ll move on.

1 Like