20250915 update
1. Fixed a crash at game startup caused by stack overflow from oversized local objects.
2. Implemented dynamic memory allocation for objects, reducing memory usage by 20%.
2. Implemented dynamic memory allocation for objects, reducing memory usage by 20%.