1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Is there a point of using sprite_prefetch...

Discussion in 'Programming' started by Crazy Star, Apr 22, 2019.

  1. Crazy Star

    Crazy Star Member

    Joined:
    Nov 21, 2017
    Posts:
    79
    ...when the sprites gets flushed and reloaded anyway by draw_sprite()?

    Code:
    Texture flushed - Group: "Default", Texture ID: 77, Width: 2048, Height 2048
    Texture unpacked - Group: "Default", Texture ID: 77, Width: 2048, Height 2048
    Or maybe I'm doing something wrong.

    Also, it would be nice to be able to tell if a sprite is in memory. Here texture_is_ready() wont help at all.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice