I looked at the JS documentation in GD. Everything there duplicates visual programming in GD. Question - in what cases should I use JS and what are the advantages of this?
Sorry for the bad English…
I looked at the JS documentation in GD. Everything there duplicates visual programming in GD. Question - in what cases should I use JS and what are the advantages of this?
Sorry for the bad English…
The JS events are not very nice to use, as the API is designed to be used by events first. Object selection is not out of the box there and requires more work. The advantages are that as you have to do object selection yourself you can have more control over it, and that you have access to all Browser APIs that you cannot use from GDevelop.
Personally I’m using GDevelop to overcome my obsession with writing highly optimized code and never getting to the game design work. So I only use the Javascript API for these types of occasions: