1. Hey! Guest! The 32nd GMC Jam will take place between Feb 22nd, 12:00 UTC (Friday noon) and Feb 25th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

Question - IDE Using sprite for tiles and objects

Discussion in 'GameMaker Studio 2 Community Tech Support' started by ollie_r, Feb 11, 2019 at 5:17 AM.

  1. ollie_r

    ollie_r Member

    Joined:
    Dec 7, 2017
    Posts:
    4
    Hello!

    Is there a way to cut up my tilesets into frames and then still use the whole sprite as a tileset? It would be a good way to avoid using duplicate graphics in cases where a tile graphic is also being used for an object (for example, an enemy masking as background). :)
     
  2. Bayesian

    Bayesian Member

    Joined:
    Sep 13, 2016
    Posts:
    342
    How big are your tilesets? My bet is that its not that big a deal to duplicate your sprites

    If you have to you can use draw_sprite_part()
     
  3. ollie_r

    ollie_r Member

    Joined:
    Dec 7, 2017
    Posts:
    4
    My texture size is 2048x2048! And thank you for the tip about draw_sprite_part that should do the trick! : )
     

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