Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Draw once without updating

Is it possible or advisable to have an item that doesn't need to move be drawn just once and not waste processing power updating every frame?

Comments

  • dave1707dave1707 Mod
    edited October 2 Posts: 7,872

    @Rbumgarner Any image or multiple images that you draw only once can be drawn to an image using setcontext and then everything can be drawn with one sprite command each draw cycle. So you can have multiple images drawn with one command. Depending on the image size, you can draw thousands of images before the draw cycle takes a noticeable decline.

Sign In or Register to comment.