flashflashrevolution / rCubed

Official Flash Flash Revolution game engine.
https://www.flashflashrevolution.com
GNU Affero General Public License v3.0
30 stars 17 forks source link

Game Alerts cause extensive lag. #269

Closed Psycast closed 3 years ago

Psycast commented 3 years ago

Creating Game alerts using the Main.addAlert causes lag due to the continuous creation of Textfield for each new alert.

Fix might be as simple as using a single static alert and replacing the text and updating the background size for a new alert instead of use a new one each time.