Dear Stackoverflowers,
I am currently trying to remake my own age of empires game in javafx. I have made a "Tree" Class which extends a "Resource" Class which extends a "Sprite" Class which extends the javafx.scene.layout.Region class. After adding roughly 2000 Tree objects the game will start running noticably less smoother.
If anyone has any suggestions on how to make it more efficient, I'd love to hear it.