Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
780 stars 87 forks source link

The fire demo table will eventually overload and kill the frames per second #223

Closed MBoffin closed 1 month ago

MBoffin commented 1 month ago

Cogito and Godot Engine Version: Godot v4.2.2.stable.official [15073afe3] Cogito beta 202406.02

Description: Idling in the Laboratory scene will eventually slow way down due to the fire. Usually took 10-15 minutes.

Reproduction steps:

  1. Load the demo
  2. Go to the Laboratory.
  3. Stand anywhere (though standing by the fire table will show you what happens).
  4. Wait for 10-15 minutes
  5. Try to look around
  6. Notice the FPS is horrendously slow

Expected behavior: The game to continue running at a reasonable frames per second.

Screenshots: See attached. It's a screenshot of what the fire table looks like after leaving it for 10-15 minutes. Screenshot from 2024-07-10 15-11-19

Phazorknight commented 1 month ago

Oh wow!

So disabling the particles on the darts should be a quick fix for this. I want to do create a separate area for the systemic properties with their own items, so this doesn't happen anymore and the darts will be normal darts again. 😁

Will follow up when that's done.

Phazorknight commented 1 month ago

Heyo, so I've just pushed an update in https://github.com/Phazorknight/Cogito/commit/7d3b225dc9a16492ed3423f63f7b36238bcc989f

This now limits the amount of vfx particles that get spawned, hopefully resolving this.

Please give it a go and see if you still run into this issue.

Phazorknight commented 1 month ago

Closing due to inactivity / assumed resolved.