Urban Wars
March 29, 2024, 05:44:18 am
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 906 times)
Mexicouger
Lieutenant
*
Posts: 111


View Profile
« on: April 23, 2010, 10:02:40 pm »

SO THIS is what I get from it. rand is less than or equel to 1. it plays the sound if th enumber is randomly smaller than 1. correct? and else is any othe rnumber that wasn`t executed? I`m more familiar with your first code. I`m gonna put it in play with debris. Thanks. please answer my other question with how to spawn multiple sprite without having to execut ethe function multiple times.
Report Spam   Logged


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