So im improving on my attack system and had a couple questions before i started it.
For projectiles I would like to have it move like the missile proc does but still be able to make it have the damage effect. I know theres been a few demos/libraries made to accomplish this and thats where my question comes. My game uses a lot of features that tend to be resource hogs so ive been going through and optimizing (and its taking forever) so before i start changing my projectiles figured I ask...
Which demo for projectile movement is the best (in your opinion)?
ID:151893
Nov 2 2008, 10:12 am
|
|
In response to Jon88
|
|
hows the CPU usage for that ive looked at it but it seems it would use a lot of CPU
|
In response to NightJumper88
|
|
NightJumper88 wrote:
hows the CPU usage for that ive looked at it but it seems it would use a lot of CPU For me, spamming the nade projectile in the demo makes DS try and jump from 0% CPU usage to 1% CPU usage: it ends up falling back. Shadowdarke's library is well-programmed. You might end up with some network-related lag from too many projectiles flying on a player's screen at once, if that player has a particularly slow internet connection, but that'll happen no matter how your projectiles are done. |
Kaioken's projectiles demo is pretty good. Not as fancy as ShadowDarke's, but it uses much less CPU (it's tile based).
|
In response to Jeff8500
|
|
Note it's a demo though and not a library, therefore meant for demonstration rather than to be used or copied into your project. Maybe I should make a 'plug-and-play' library for projectiles sometime, but it's not really necessary for something simple (ie non-fancy-pixel-stuff or the like) which is important for developers to actually know to program on their own instead of use libraries for it while remaining in the dark so to speak.
|
In response to Kaioken
|
|
Yeah i dont think you need to make that into a library the procedures you use in the demo are relatively simple and most people who are making a game should be able to figure those out, while at the same time its a good demo for basic projectile and beams. I personally was looking for something a little more involved than your demo was
|
It's easy to use, and very powerful. It also looks really nice.