Urban Wars
March 28, 2024, 02:47:59 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome, here you will find all the information on Urban Wars
 
  Home Help Search Staff List Login Register  

Randomly spawning a different sprite

Pages: [1] 2
  Print  
Author Topic: Randomly spawning a different sprite  (Read 902 times)
DukeInstinct
Administrator
Lieutenant
*****
Posts: 120


The ArchDuke


View Profile WWW
« on: April 24, 2010, 12:18:02 am »

If you're putting a while loop in the think function for the debris then that would easily overflow the game with entities. The while loop should only be in the create explosion function which I assume is the initial spawning function of the debris.

Report Spam   Logged



Urban Wars Coder/3d Modeler/Animator



Pages: [1] 2
  Print  
 
Jump to:  


Get your own Chat Box! Go Large!
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy