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.

Dark GDK / Changing Level Area: How would I change the backgrounds and enemies spawning

Author
Message
elsole
14
Years of Service
User Offline
Joined: 4th Dec 2009
Location:
Posted: 22nd Feb 2010 07:23
Could someone give me a hint on how to change the level area background and the enemies sprites?

Thanks in advance.
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 22nd Feb 2010 08:00
Have a class that handles each major part of the engine, such as enemies, this would store a list of active enemies and when you need to remove them call some method to do this and it'd run trough the list and call their destructors and what not. Replacing them would be that, and the code you used to build them in the first place.

Login to post a reply

Server time is: 2024-10-05 16:21:08
Your offset time is: 2024-10-05 16:21:08