addEventListener troubles after Needle initialisation

image.png

by user 224464722878005248

Yes, I already did it

by user 224464722878005248

Nop, I try to update this

by user 224464722878005248

We shouldnt capture anything - but that’s not a recent change

If it still doesnt work after update please try to comment out some of the code in engine/engine_input in line 296-310 where the engine subscribes to the input events

Okay, it doesn’t work after update, I try what you suggest

by user 224464722878005248

I didn’t change anything too

by user 224464722878005248

But this appeared :

by user 224464722878005248

image.png

by user 224464722878005248

That means you got an error. Click it to open the console

You can use ?console to always show the console (and noerrors to suppress it showing up) - it only autmatically appears in local dev

It’s a new helper especially for mobile devices so that you can look at logs and errors :slightly_smiling_face:

image.png

by user 224464722878005248

I think it’s because I destroy the needle engine div after my gameover

by user 224464722878005248

Yes, that’s why

so : no error from my console but I can’t click on my HTML inputs or buttons after Needle initialisation

by user 224464722878005248

did you try that?

Yes

by user 224464722878005248

by user 224464722878005248

you seem to be looking at another package version? thats the section i meant:

Oh
But I have the last version it’s weird

by user 224464722878005248