Urban Wars
February 08, 2025, 08:27:44 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
Forever
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
Urban Wars
>
Forum
>
Help
>
Programming/Coding
>
Randomly spawning a different sprite
>
Message #236
Pages:
1
[
2
]
« previous
next »
Print
Author
Topic: Randomly spawning a different sprite (Read 1016 times)
DukeInstinct
Administrator
Lieutenant
Posts: 120
The ArchDuke
Re: Randomly spawning a different sprite
«
Reply #15
on:
April 24, 2010, 12:52:02 am »
Either way takes about the same amount of memory. You might save a couple bytes in your dat file with the loop method.
If you want to use a loop then the second piece of code I posted should go into your create explosion function while the first piece of code I posted should go into your spawn debris function.
Report Spam
Logged
Urban Wars Coder/3d Modeler/Animator
Pages:
1
[
2
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Urban Wars
-----------------------------
=> Urban Wars Suggestions
=> Urban Wars Updates
=> Urban Wars Discussion
=> Apply for the Team
-----------------------------
Off Topic
-----------------------------
=> General Discussion
-----------------------------
Rules
-----------------------------
=> The Rules
-----------------------------
Help
-----------------------------
=> Programming/Coding
=> Mapping
=> 3d modeling
Get your own Chat Box!
Go Large!
Loading...