You mean, the one that accumulates every stage right? The problem is that I don't know the cause of it. Well, maybe for Wave III (too many big objects), but not in general. My initial theory was that a certain thing, such as a projectile, is not deleting and keeps checking for collisions, but I tested this and the List<Projectile> (or creeps, for that matter) never went beyond normal levels. I also spawned thousands of creeps and projectiles at a time, and it wasn't the cause either.
I've read something somewhere that mentioned swapping textures. Maybe that drawing a noise pellet, then the big wave thingy, then going back to the pellets causes the C/GPU to keep changing texture in memory or something. Then again, it would be a little odd, because in my playing style I never place many towers, yet the lag also piles up (although not to a critical level). Anyway, it's something under the hood or whatever, so I'll try to find the exact cause. May be difficult to fix though, as the code is really messy.
So when does it start lagging, in your case?
...
:shock:
Great to know other strategies can be used but err...no wonder it lags. 10 Wave III! That can easily create 150 wave animations that checks for collision with every other creep on the screen many many times a second. Next time I'll find a less ressource-hungry alternative :blank: .
I played and beat the first stage, loved it, but now the game crashes whenever I try to run it. I'm running WinXP, by the way.
Running the setup doesn't work for me. D:
The error message suggests that I don't have the specs the game requires, but for something like this I sort of doubt it. What it says;
No suitable graphics card found.
Direct3D hardware acceleration is not available or has been disabled. Verify that a Direct3D graphics device is installed and check the Display properties to make sure hardware acceleration is set to Full.
This program requires pixel shader 1 and vertex shader 1.1.
So, um . . . :blank:
I'd like to be able to play this, but I don't have a very comprehensive idea of the issue; if my hardware really is just insufficient, I can move on, but if it's something I can fix, is it possible to explain more comprehensively than the error message how to fix it, or anything like that? I'd appreciate this, I'm interested in this game. :o
Okay, so I did some research and that's apparently the case. :crazy:
I might look into getting a better graphics card when I have more time and money; thanks for the help anyway, though.
Just played through the first stage. Gotta say man, this was a great concept (who knew music plus tower defense could go together? brilliant, creative synergy!) and very nicely done too (fun and challenging): definitely deserving of 1st prize! :thumb:
Here's a few comments, if you'd like to polish it further. For a first stage, I actually thought it was pretty hard, though it was mainly the beginning. It seems like strategizing the start is the most difficult part, esp. since you start out with so little money. Later on, however, it gets extremely easy, as $$ piles up from creeps, and the pedal interest bonus. Of course, I've only gone through the 1st level (it could be better, harder later on), but it seems imbalanced that the beginning is so rough and the end so easy. I would suggest lowering the $$ amount from later critters (if they do give different amounts) or slowing down the beginning just a tad.
Anyway.. on to the next stage. I'll leave more c&c as soon as I'm done rockin' out!
I felt like the middle few stages were actually a little easier than the first (though that might just be getting used to a good strategy). But for every stage I felt like I ended up with a huge sum of money. Maybe make the pedal interest bonus less (25%) or have the bonuses cost some money?
Also, just an idea I had, maybe add medals for how well you did (i.e. gold for keeping all 30 lives, silver for 20+, and bronze for 10+). That would up the replay level a bit.