Skip to main content

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

That was the only idea that i had for fps game without any theme. Mouse is kinda working for me in web, but you have to press escape twice to pause game, so it still kinda weird. Fps games is not really web genre anyway. Also, i was so happy when i find out how to preload particles to fix similar stutters problem in my other 2d game, but its not enough in this case i guess. There is a method where you save particle materials as resources, and in autoload node, create dummy particles with this materials, and fire them. Probably somewhere in a distance. In this case i have to try something else

(+1)

Ah I see. I gave dummy nodes a try but never looked into ressources yet, thanks for the tip! It will come in handy with the godot jam right now.

(1 edit) (+1)

I almost fixed everything except for one small stutter on first shoot. Someone said that OpenGL is compiling shaders only when they visible first time. So i made a node that sitting in front of main camera ( As it turns out, it is completely necessary ), and when game starts, it spawn every prefab that i need to spawn in game for 4 frames. And then deletes all of them. Offcourse i had to mute ingame sound for this duration because there is a lot of "play on ready" sound with particles etc. And i changed process mode for this node as "always" because initially my game is considered paused.

I hope it will help

You can read more in this devpost

I really appreciate your help, thanks a lot!