I had trouble with the ShowMessage() example until I realized that I had to use the apostrophe (`) instead of a single quote ('). Otherwise very useful content.
16:11 In this code you showing use of keybord plugin functionality, but should I actually use those plugins like keybord and mouse, or just native JS event listeners like keydown/wheel, since they are probably more fast? Or am I missing something?
Construct supports running the engine in a Web Worker for better performance characteristics. You can't use the usual keyboard and mouse events in Web Workers, so Construct has its own APIs to cover that. However you can use the usual native JS event listeners if you want, but it means your project can only run in DOM mode.
Excellent explanation! Thank you Scirra crew!
Great tutorial video!
I had trouble with the ShowMessage() example until I realized that I had to use the apostrophe (`) instead of a single quote ('). Otherwise very useful content.
Yeah, it's an interpolated string. Pretty neat.
16:11 In this code you showing use of keybord plugin functionality, but should I actually use those plugins like keybord and mouse, or just native JS event listeners like keydown/wheel, since they are probably more fast? Or am I missing something?
Construct supports running the engine in a Web Worker for better performance characteristics. You can't use the usual keyboard and mouse events in Web Workers, so Construct has its own APIs to cover that. However you can use the usual native JS event listeners if you want, but it means your project can only run in DOM mode.
@@construct Ah, I see, thank you for explanation!