Particle explosion-title screen

PixelPunPixelPun Member Posts: 324
edited November -1 in Working with GS (Mac)
This is the title screen for my game... although I notice that when it runs on an iPhone 4 it slows down...game play also... is this just the number of particles? or does it also have to do with the rotation and size and color change of the particles....

I also took off the trail on the bouncing box... but still slows down..

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    That does look lovely - are you spawning an actor for the 'explosion' when you hit something?

    QS :D
  • mzxmzx Member Posts: 151
    maybe you have set "friction" to 0>(larger than zero) at the physics tab?
  • PixelPunPixelPun Member Posts: 324
    Yes... when the ball hits the block it spawns another block that emits the particles for a second... or so..
  • PixelPunPixelPun Member Posts: 324
    I said slows down... but its a frame rate problem... It starts at 60fps.. and when a lot of the blocks get hit at once it crawls.. at about 12fps... so I'm guessing to many particles?
  • quantumsheepquantumsheep Member Posts: 8,188
    cal5086 said:
    Yes... when the ball hits the block it spawns another block that emits the particles for a second... or so..

    If you like, I can try and fix that for you - you only need one actor really that after making an explosion turns its alpha to 0.

    Then when it hits something else, make the alpha 1 and move it to the new position and trigger the particles again, ergo, no need for spawning (which will help I'm sure!)

    QS :D
  • PixelPunPixelPun Member Posts: 324
    Thanks Quantum! I'm going to try that now...!
  • mzxmzx Member Posts: 151
    I'm sorry, I misunderstood you.. I hope you and qs will work it out! ps, like you title screen :D
  • quantumsheepquantumsheep Member Posts: 8,188
    cal5086 said:
    Thanks Quantum! I'm going to try that now...!

    It's actually a technique I picked up from Darren at Utopian Games. The guy is a GOD at GameSalad, no joke!

    I'd recommend his templates. I've been using GS pretty competently for almost two years now, but I *still* learned new things from them!

    Good luck!

    QS :D
  • Holy crap. That is very snazzy. Well done.
  • PixelPunPixelPun Member Posts: 324
    Thanks for the kind comments Dan!

    Still working on things... Had to take a break from it it go to my sucky day job...

    Thanks everyone for the comments and help.
Sign In or Register to comment.