Skip to content

u/ewall198

In this archive from Jun 2024 to Dec 2025

10
posts
5
comments
5
media
26
score
3 saved before deletion

One other thing that can help improve performance further is to have the Area2D only sync its transform with the parent every couple of frames. Disabling monitoring for the Area2D of enemies will help some.

Very difficult changes: You can also move the code to C++ via gdextension if you need much better performance, but that's a lot of work. You can also move the swarming behavior to separate thread(I haven't implemented this yet).

I did a similar thing in 3D and have 2000 enemies at 60fps

3 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.