Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | vrak | |
Old Version | Published before Godot 3 was released. |
Hi! I’ve recently been working on an isometric game, and I would like it to contain 100x100 cells. But I’ve just reached a roadblock that I can’t seem to fix, when the size of the control containing the cells reaches a large size (6400px x 6400px), the game begins to stutter, and even freeze, when I move my mouse around. But when I keep it at 3200x3200 (50x50 cells) it works just fine.
This is very strange as the game itself runs fine when I keep the mouse stationary on a large. I don’t even know where to begin, so here’s a recording. (The sprites are “borrowed” from Rimworld, I’m rubbish at drawing)
I also noted that the recording (filmed using Fraps), also seem to stutter at the same time as I move the mouse around, pointing to some kind of error with how things are rendered (I know very little about this, clearly). When the video “freezes” I’m actually moving my mouse in a circular motion. You can also see the delta acting strange in the print in the upper-right corner.
I’ve also set every single control to “ignore mouse”, but this didn’t seem to fix things at all.
So I just changed the size of my tiles to 32x32, and retained the 3200x3200 resolution. The issue seems to be because of the number of cells on the map. None of them process any inputs, nor do they run any processes. I have them all set to ignore mouse. Does the engine have any particular limit on the number of objects it can handle in a given scene?
vrak | 2017-04-27 19:00