With the previous problem being solved, there is another issue right now. Each enemy is going to be represented by a panel. How can I optmize the panels that need to be displayed on screen. What I mean is that if the enemy has coordinates outside the screen bounds, his panel shouldn´t waste system resources...
This project is all panel based, all 2d. If I choose to create all panels at game start, let´s say 200 panels, is that going to be an issue?
If I choose to do pan_create, getting panel properties from a struct in example, will it do any good to the game performance? Anyway I don´t know if this method would work, because the enemy panel chases the player panel and then it could get to a coordinate near another panel "creating" area.
Thanks.