[SOLVED] "Settings" error in swipe/touch examples

Hello. While trying to find out if the touch examples contains ‘jquery-mobile’* within ‘Settings’ of these forked examples:
A) https://developer.playcanvas.com/en/tutorials/basic-touch-input/
B) https://developer.playcanvas.com/en/tutorials/multitouch-input/

  • the editor does not show the Script loading order >> seen here in one of my other projects:

*) As seen here: https://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_events_swipeleft

<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>

Here is how the forked examples both look like:

I have been down the road of ‘being forced’ to alter such a forked project, in order to get the special functions to work -> subsequently without luck :-/

Does anyone have a functioning project that works (and without being forked from one of the above) ?
[furthermore: clarifying if it is with or without the jquery-mobile lib within ‘Script loading order’]

None of the official PlayCanvas projects/examples will contain jquery libraries.

If you want to use jquery.mobile script, add it to the project and use it as though it’s been add to the HTML document.

Edit: it would be handy to see the settings of a project without forking. I will add a feature request in GitHub.

Edit 2: https://github.com/playcanvas/editor/issues/180

2 Likes