Jump to content

Full Screen Power Up Effects


Edricus
 Share

Recommended Posts

So I have a quick question about full screen power up effects.

 

Currently, I have a full screen effect of splashing water when a player picks up a power up. However the sprite sheet for this power up has the potential to be massive depending on the device screen size. With just a couple frames in the splash animation, we're already talking about exceeding 4096 in the width which CocoonJS is not particularly happy about when attempting to put this on mobile.

 

Also, when a player initially picks up the power up for the first time there is a hard lag that stops the game in its tracks for about a second or two before playing the animation. From then on, picking up the power up causes no similar blips at all.

 

What's a good way of handling full screen power up effects or power up effects that either take the full game width/height?

Link to comment
Share on other sites

Your best bet here is to break the effect up into smaller pieces - for instance, assemble the 'splash' out of random droplets maybe? Procedurally generating the effects will speed it up and also make it more interesting as the randomness will make it different each time.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...