Instead of using 'find', rather use an index i.e.Image := Sprites.Items.Find('Bullet');
[pascal]Image := FormGame.DXImageList.Items[20];[/pascal]
It's faster
Instead of using 'find', rather use an index i.e.Image := Sprites.Items.Find('Bullet');
[pascal]Image := FormGame.DXImageList.Items[20];[/pascal]
It's faster
Wake up from the dream and live your life to the full
Bookmarks