Yeah, I also tested in Desktop version and tried remote preview in Chrome and Firefox. And on my laptop it works fine even when I click mouse buttons like crazy.
Your file still works perfectly fine for me, even if I set mouse cursor only once on start of the layout, not on every tick.
I don't know what can be the problem, maybe some browser addon, that you have installed on both PCs?.. Have you tried previewing with different browsers?
Your link doesn't work, and I meant sharing project file (c3p), not exported game.
I tested it myself - I set cursor to sprite on start of the layout and it works fine, no matter how fast I click left and right mouse buttons.
Did you set parallax and scale rate to 0 for UI layer?
Would be interested to see the same project with the new beta Fengist
I tested my two examples (disabled Solid + Bullet, disabled Solid + Pathfinding) and they work much faster! Yes, they still slow down over time, but this happens much later, after several thousands of objects are created.
Thanks, Ashley for fixing this!
Do you really mean zoom (scale), or do you mean scroll? I don't see any events that are changing layout scale. If you are sure you don't have any such events and can't fix it yourself, please share your project file.
So the camera doesn't zoom out, it scrolls. Simply set camera position to player position in "On start of layout" event.
This is weird, can you share the project file?
Develop games in your browser. Powerful, performant & highly capable.
Do you have any form control objects (even invisible) on this layout - text boxes, buttons, sliders etc.? Cursor may change when it's hovering over them.
And why do you need AdvancedRandom or seeded random for that?
floor(random(1,7)) or choose(1,2,3,4,5,6) will give you a perfectly random result every time you roll the dice.
Just set the scroll to player position in "On start of layout" event.
Programming pieces movement is fairly easy. Detecting check/checkmate/stalemate is doable, but quite difficult. I hope you are not thinking about programming an AI, because that would be a very ambitious task :)
I think the easiest solution is to use some external JS library, for example this one:
github.com/jhlywa/chess.js/blob/master/README.md
Member since 26 May, 2016