problems with my shadows and the CSM plugin, appearance of streaks on my floor => just had to use a floor geometry!
performance problems on mobile => just had to redefine CSM and physics parameters with OIMO.js
My instances with a physical body that refused to levitate and inevitably fell over time.
15 days is a long time and really discouraging to produce nothing especially when you search every day in your head, the forums, the doc, but what a pleasure when you find the solutions!
Here is the lesson I can draw from it :
Always look at all the examples provided by a documentation or an engine (the answer to the problem of my instances appeared in an example where a terrain was illustrated, so with a priori nothing to do with my problem).
Stackoverflow remains an excellent way to find answers, even if I admit that the forum is very strict with rules, formatting, etcā¦
Always reduce a problem to its simplest expression.
Always use functions or classes with configurations and donāt parameterize anything in the functions or classes but with configurations.
With this system, you can make the code evolve as you wish.
Personally I try to avoid as much as possible: var something = something but rather var o={} (for object) and then o.enemy (this has the advantage to avoid a double writing var enemy; and then enemy = new Enemy(config)
Would you mind to test if your games compiles with my āonline build projectā? And, compare the performance between capacitor amd cordova? Would help a lot. Project website
If you want, I can add the functionality to genenrate ios certs, and to upload the ios build directly to āapp store connectā. So you donāt need a mac at all for the whole publishing process. You still need an iPhone (soon iOS >= 14), in case you want to test it before publishing.