Various Editor Issues Arrising In Medium-Sized Projects

The bugs described here all start to appear once your project has large events sheets and objects with hundreds of animations and variables.

  1. Accessing and interacting with the variable view (both on objects and scene/global variables) becomes very sluggish. Ordering variables lags intensely. This is more pronounced on real projects with more sub variables, event sheets and object, but I was able to reproduce it here with just a few dummy variables:
    bug var edit

  2. Adding sprites to objects with 50+ animations starts to introduce massive delays, on my real project as much as 10+ seconds every time you add something, even if these sprites are already added to the game’s resources by other animations.
    bug anim editing

  3. Accessing large event sheets does not load the whole sheet. Attempting to scroll repeatedly extends the scroll bar until the whole sheet is loaded. The only way to avoid this seems to be searching something that is at the end of the event sheet.
    bug event sheet size

  4. On large event sheets, using undo with strg+z can introduce considerable lag. More often than not this also jumps the viewer to a new scroll position, requiring you the search for the thing again that you just edited. To me that is so jarring that I now try to avoid using undo at all cost. :smiley:
    bug undo

Example project:
https://www.dropbox.com/scl/fi/9fisma1822wu8czm7yuh5/GDev-Bugs-on-large-projects-SG.zip?rlkey=f2sjxszspslei9m9x34vxx3hx&dl=0

Lenovo ThinkPad X390
8,0 GiB ram
Intel® Core™ i5-8365U CPU @ 1.60GHz × 8
Mesa Intel® UHD Graphics 620 (WHL GT2)
Ubuntu 22.04.5 LTS (64-bit Gnome 42.9)

For reference: my real projects are about as complex as something like Monster Train or Dome Keeper. I don’t think the project size, amount of events, variables, animation etc are unreasonable for these kind of medium sized games. I can see that these issues don’t affect many GDev users but I’d still love to see these things improved! Many of these issues did not exist in GDev 4 but other than that I really love the current state of the engine. Keep up the great work!

3 Likes

+1
Happened to me when creating a trivia game, where the flags (more than 150) were in one object as animations.
I thought it was my incredibly-low-end device’s fault, anyway I had to split the flags object into continents.