By “before” and “after” I mean that in Step 3 I posted the code that is there BEFORE you change it and what it should look like AFTER you change it. Maybe try cleaning and rebuilding? Other than that, I’m unsure why this is happening.
Oh yes. It must be that problem. it probably does not build the runtime. It seems building it, finally messaging the success, but in ./runtime/android as well as in ./runtime/win32 the files have one month old dates. So either it does not succeed or result is placed somewhere else… But if I remove PrebuiltRuntimeJs.apk and try to run project from IDE the IDE is requiring to enter a new location of the prebuild runtime.
Grimfate thanks a lot. Realy. I’ll keep elaborate and perhaps force the IDE to build it.
Well, the IDE built an apk file which was named by my project name and not by “PrebuiltRuntimeJs.apk”… I’ve chosen this apk when IDE required me to enter the path to prebuilt runtime. Well, it started on the device and the render() function was invoked!!
Ok. The behaving is somehow strange. I do not understand why IDE builds runtime such a way. May be it is a proper way. I do not know.
Anyway. I got cleared buffer from renderTexture now. So, thank you Grimfate very much again.
Unfortunately nothing is perfect. It had some side effect
My scene has scaled down to some quarter of the screen… Now I’m really surprised. Also it does not run on the runtime on windows yet. I’ll keep elaborating…
Thank you.