Thank you for your answer, I switched to webgpu indeed but have same performance with webgl2 and didn't really notice any difference between the two. Redrawing all sprites with oultines was the only solution for now.
YEAH ! I'm happy so hear it's useful ! I've successfully ported my own projects without any problem, but tell me if your encounter any.
Amazing experience ! And you don't need to understand the spoken language.
Hello, I noticed important performance impact after upgrading from an old version (1.4.3 to 2.1.0.1) in a project with extensive use of this effect (hundreds of sprites and spritetexts).
- Are there any known reason that can explain this ?
- Do outlines and alpha require more calculation ?
Thanks !
An updated version is available here : construct.net/en/make-games/addons/1661/rot-js-updated-plus
Oh my god, per-instance Physics collision filtering, they did it ! The so long awaited missing feature !
Thanks Scirra !
Hey Ashley, do you think it's possible for your team to implement a mean to put some events in another thread and so split part of game logic and spread CPU usage ?
Well done devs ! You just fixed some bugs and added more code that will produce some further bugs !
By the way, thanks for your work and your time !
! EDIT : problem found and solved !
------------------------------------------------------
From "instance.js, under c3runtime folder, inside the plugin's .c3addon file
Line 118, last line of "LoadFromJson(o)", there is this :
"this.this.wallCleared = o["wallCleared"];"
That line caused "wallCleared" to be undefined, and should be replaced by this :
"this.wallCleared = o["wallCleared"];"
Now the plugin supports Load again.
Hello, I got this error using ROT.JS plugin and Save/Load.
runtime.js:114 [Construct] Failed to load state from storage: TypeError: Cannot set properties of undefined (setting 'wallCleared')
at RotJsInstance.LoadFromJson (8496761f-b9ad-46fb-ad80-c6ea81157d70:118:26)
at Instance.LoadFromJson (instance.js:36:101)
at ObjectClass._LoadFromJson (objectClass.js:30:470)
at C3Runtime._DoLoadFromJsonString (runtime.js:120:13)
at C3Runtime._DoLoadFromSlot (runtime.js:114:311)
at async C3Runtime._HandleSaveOrLoad (runtime.js:111:52)
at async C3Runtime.Tick (runtime.js:82:175)
Everything is fine without the plugin. A small project with only ROT.JS and a Save/Load action triggers the error.
Member since 14 Feb, 2015