Vous n'êtes pas identifié(e). Pour pouvoir écrire ou répondre à un message, vous devez vous connecter ou vous créer un compte sur JAWA.

#1 29-06-2022 08:20:18

On the Job
Membre
Inscription : 15-06-2022

Creation of game becomes slower and slower ✓

Hello,
I am working on a game at the moment, but what I recognize is that the process of creating the game is becoming slower and slower. Is there a reason for this?

Kind regards,
Tamo

Hors ligne

#2 30-06-2022 08:14:17

jawa
Admin

Re : Creation of game becomes slower and slower ✓

Hello
there are several reasons that can make the editor or game slows down.

In the editor, the most common reason is that you're showing the interactions in the palette window, attached to all of the objects and scenes. This process is a bit massive for the server's database and the more interactions, the slower is is when you do any change on objects, interactions or scenes. To avoid that, switch of the interaction displays in the palette by clicking on the [img]https://jawa.games/pics/icone_inter.gif[/img] -> [img]https://jawa.games/pics/icone_no_inter.gif[/img] icon at the top the palette.

You still can access object and scenes interactions by right clicking on them in the palette or clicking on the interactions icon of each object.

The second factor that is usually involved when the game (at runtime) or the editor slows down is the assets files weight (mostly images). You MUST optimize your files weight to decrease the loading time. Some features are available only when everything is loaded. Resize your pics files at the size you need to display them (do not use high res pics) and compress them with a tool like tinypng.org
If your game size increases (more than 10 scenes), you'll need to set up a progressive loading mode in the game parameters > interface panel : use the "scene by scene" or "full without ressources" loading mode.


Also, avoid preloading videos and sounds if you can. (or preload a sound only with the scene that needs it)


In the end, your own connection speed and the server's payload  when you'r using it can slows down, and we cannot do anything about that... (there are more and more users on JAWA).
Cleaning operations are planned this summer to reduce the database's global size, hopefully this will bring some performance improvement for everyone but this should not .

Hope it helps.

#3 01-07-2022 20:58:30

On the Job
Membre
Inscription : 15-06-2022

Re : Creation of game becomes slower and slower ✓

Hello,
Thank you very much for these helpful tips. The loading time of the game has become much shorter now!

Hors ligne

Pied de page des forums