0 Favourites

How do I fix my FPS drop on my Match 3

  • Hi guys,

    I'm working on a shoot'em up with a match 3 feature and I created a detecting function for the match 3 feature. I'm using hexagonal cell so when i call this function my starting cell will create 6 objects to detect if there are others cells close to it. If it is, those cells will create another 6 objects and this process will continue until there are no more cell to collide with. This a huge process and I think it can be better but I don't know how. I'm using the same kind of function to detect isolated cells : all my wall cells create collider, if those objects collide with a cells they will spawn another 6 objects etc...

    Those functions create a huge FPS drop and i don't know how to fiw it. Maybe in creating less objects but i don't know how to detect where i don't need to create objects.

    Thank you in advance.

    My capx.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
175 32,637
clifton11221's avatar
clifton11221
Unread hot topic
120 10,187
skelooth's avatar
skelooth
Unread hot topic
99 10,139
karshinkoff's avatar
karshinkoff