Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Impresive, controls are fun, graphics are great, music too.... 


In my computer there is a little problem with the spamming. There is a big stutter in every fire, ice enemy and in every fire,ice shoot. I don´t know if is any shader loading, any particlesmaterial, but the stutter is here, and long, so you teleport and lost the action...

I know that the problem probably is not your´s, but i want to report to you because your prototype is promising...  

Hi! Thanks for the report. I really don't know why it happens and I've seen it on some computers but not others. Maybe it's the particles initiating but I'm not sure. It does not change when going from 1 particle to 1000 particles.

(+1)

If you don´t care about that i will investigate with your source because i don´t want this kind of issue in my project. If i find the  problem i will report in github, or directly try to fix in godot codebase, and later to you to fix. Congrats for your demo. 

Of course not! No problem!

(+1)

The issue related with the frames skips is this: https://github.com/godotengine/godot/issues/17263

It´s not fixable at the moment, i try a bunch of workarounds in your code and none of them seems to work... (included one that suggest reduz in the topic)... I think that is not simple question that can be accomplished hacking 2 or 3 lines in the codebase of godot, so i hope that any main dev take care of this.

If i execute your game in gles2 there is no stutter (but there is no particles, only black eyes and white balls....) so is the particles material compiling in graphic card...

Uau! Didn't realize it would be that bad. Thanks for the effort though.

(2 edits) (+1)

Hi... more news... I test and test and test your project. Godot make a big spike (about 30-50 frames) every time that you add a viewport to the scene (i think that viewports aren´t dessigned to this use). If you redesign explosion.tscn,ice_explosion.tscn, ice_enemy.tscn and fire_enemy.tscn to not have any viewport, there is no stutter. So ,in this case,  is not particles problem (until particles are in the viewport). 

Other question: I recommend you for a tiny game like this to do all preloads in your singleton and save all resources to .tres files and preload that too in the singleton, game takes more time to start ( less that a second) but you don´t read from disk in runtime (You can do the same with the levels).


Edit: I´m reporting the issue in github, so, please, wait any response from any dev before change the codebase of your game...


https://github.com/godotengine/godot/issues/19769

Again!!! Thank you so much for all your efforts. The viewports are poorly designed. They are definitely too large for what is required and I might take the time soon to size them properly. However, they are required for the effect of the flames so I can't just get rid of them easily. As for preloading as much as possible, absolutely! I just have no idea how to do that :)