Ice iOS

Rhys

  • Posts: 1046
This performs well now. There's a minor hit when you die (ice explosion) and performance degrades through the fade in but it's a pretty short fade in anyways

Aasimar

  • *
  • Posts: 605
There is a memory leak on the fade ?
Arg, my game is all based on that.

Rhys

  • Posts: 1046
Nope, it's just a simple performance dip because it's alpha blending black into the entire screen.

Aasimar

  • *
  • Posts: 605
I use the fade option on all the light of my game.

Every 0.1 sec, I switch the opacity between 2 random numbers (without effect)
In 1 level, there are 20 light ~.

You think it's really bad use a thing like that ? If yes, maybe I need to make the light with animation and not with code.

Jon

  • *
  • Posts: 17524
I don't think it's the fade action itself, just the actual alpha blending. I could be wrong though. If it's the actual fade tween, then maybe the other tweens aren't so good either?

Rhys

  • Posts: 1046
The wall jumping in this is a little wonky now, I don't know why. Sometimes I can jump up walls as if I were on flat ground.

About tweens being slow, the size tween gets laggy when I do it for many actors (8 or something, it's the endgame test but without the text) at 60 times a second but that's about it. The fade tween at the start of levels lags but it's probably the alpha blending.

« Last Edit: October 28, 2011, 09:15:22 am by Rhys »

Rhys

  • Posts: 1046
Update submitted to app store, awaiting review.