Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / What's the best way to erase a sprite from the screen after a sprite hit?

Author
Message
Gamer
23
Years of Service
User Offline
Joined: 29th Apr 2003
Location:
Posted: 12th May 2003 08:59
Just wondering...should we do a HIDE SPRITE? Or there's a better way?
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 12th May 2003 11:05
How about >delete sprite spritenumber< ????

Mentor.

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th May 2003 16:40
It depends.

If you have a high turnover of sprites, you might find that it's more efficient to hide and show rather delete and recreate them.

However, they can still be collided with even when hidden, so move them out of the way.

Login to post a reply

Server time is: 2026-07-11 13:57:53
Your offset time is: 2026-07-11 13:57:53