Optimizations You Can Make For Your Projects! [Community-Driven]

Add more in a reply!

Optimizations You Can Make For Your Projects!

#1: Using Set Position Instead of Change X/Y

This just makes for smoother movement and it won't look stuttery. It's easy to do, just replace something like this:

with something like this:


First post
Number two is set pos + center

1 Like

? I’m confused…

1 Like

Y + center block

Center? What is that? Is it a beta editor block?



Idk what he’s talking about

1 Like

no, center is the center of the draft. for my ipad it is 512, 384

If you’re setting z indexes, try to make every object do it at once and not very often. Every time an object changes its z index, it has to sort all the objects in the game, so if you’re changing z indexes every frame, it will be much slower. If you do it at the same time as every other object, it will only have to sort through the objects once.


Cool topic!


set pos width/2 + num height/2 + num

Oh ok i guess, i still forget what you were talking about
Also, to clarify, optimizations in this topic do these things:

  1. Increase frames per second, or
  2. Reduce choppiness of a block
  3. Decrease time needed for something to run
1 Like

imagine you want your title screen to be above the center
combine the center custom block and the plus block to make it above
set position(Width/2, Height/2 + 100)
like this

I get it. But look at this list please:

1 Like


just lower the obj meybe
destroy unused obj but inv the ones you need
you may also use clones if needed

1 Like