Skip to main content

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

Funny idea with the camera flip, shooting feels very satisfying and the level looks nice. I had the problem that my mouse wasn't locked when playing the web version. Tell me when you find a solution how to avoid stutter when spawning, I have the problem in my web godot games too :'(

(+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!