Startup lag

It feels like with the latest release the lag in the first ~10 seconds of the game got worse. Would be cool to reduce that to just 2 seconds or to make the lag better.
11 people have
this problem
+1
Reply

  • Hey David,

    with "lag", do you mean that the game runs on a low frame rate for the first ~10 seconds?

    That is an internal process which pre-caches many game objects (enemies, items, missiles, ...) so that when they get spawned, they're ready instantly and do not lag the game.

    We'll try to find a way to balance this process to reduce the impact on the frame rate and hence the "smoothness experience".

    Thanks for the feedback and stay tuned! =)
    Alex
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Yes, the game runs at 12 - 20 fps. After the caching process finished it immediately gets up to 60+ fps.

    Maybe it would be an idea to wait a few seconds and then let the drones attack the base. They start immediately and maybe it would help to start the attack wave after the caching. Just my two cents.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • So, finally, as mentioned in some other postings as well, the object life cycle improvements will get rid of this once and for all ;) In my current nightly build the start up lag is history already. I have implemented green threading that limits time per frame for creation processes to the maximum available to guarantee a minimum frame rate. The only downside to this is that enemies, which are created at run-time, may pop up a few tenths of a second after they have been requested. Given that enemies have always been visibly popping up, I believe this is negligible at the moment ;)
    Can't wait to push everything online ;)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Yeah right =) There was this little thing called object life cycle. It's a cute thing. Something really nice. Once you treat it well, it doesn't pound as much in its box anymore and keeps it clean. Things become way smoother and memory load even steadier. I ought to write a blog post about asynchronous care-taking of such life cycle sweethearts, but that should be rendered obsolete once Adobe's concurrency offensive starts rolling out. Hmm ... well, that may as well take another half a year or so. Maybe I should start typing nonetheless ;)
    Thanks for cheering! Hell is it fun to play Delta Strike now! :D
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited