Multiple blasts?

FajlajpFajlajp Member Posts: 666
edited June 2013 in Working with GS (Mac)
Hi everybody :)
I've looked on tsb's tutorial about blasts, but I can't find a good way to have multiple blasts in a scene, without effect the performance.
//Fajlajp

Comments

  • FajlajpFajlajp Member Posts: 666
    Bump
  • KnightStarKnightStar Member Posts: 162
    It all depends on how you are doing your "Blasts".. For example, with my Titan Prime missile-command styled game, I had to accommodate for the player spamming the FIRE button and creating up to 15 different explosions appearing on screen. The technique I used was to recycle the blasts just like several tutorials explain how to recycle bullets in shooters..

    In my case, I optimized further by having the player-missiles change image and then animate the images into the explosion (resetting back to their original missile image after returning back to their holding position off screen when done).





    - KS
  • FajlajpFajlajp Member Posts: 666
    @knightstar
    I need it for a zombie-drop styles puzzle game :)
  • KnightStarKnightStar Member Posts: 162
    How big are your blasts? What are you considering a "blast"? Are we talking screen-shaking & particles all over the place? Or just an actor animating 5-10 frames of an explosion? If the latter, use the Bullet recycling technique and keep the actors off-screen until needed..

    - KS
Sign In or Register to comment.