actionscript 3 - Starling move around huge Image -


I am using Starling Framework and Flash Builder.

I have a large map image (around 5500x4500px) where the player is flying around, it is non-repeater, not based on tile but vector based.

I'm taking the camera around the following player on every entry freet event, the camera displays approximately 800x400 maps per frame. The camera movement is simulated by changing the X and Y coordinates of the map.

What I have now (attemp with maximum FPS on mobile):

  • 9 starling images with maximum texture size: 2048x2048 ( Or lower on the edges). I get 53-60 FPS, but I need stability, I think I'm already killing the limited range.
  • What I tried (gives less FPS):

    • Each different map object (more than 9 But small size) Attract sprites

    • Using the Claiming Solutions In fact you only need 4 images, which is not of your size.

    Wrap around with tape atlas and sample which is a screen and a starling Implementation is great for movie clips because you can change your content into a different frame or part of the texture Atlas. In this way, every time you do not need to wrap up, you can remove and create new pictures every time.

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -