Windows YYC Sprite bug

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Giulian Almeida, Jan 10, 2019.

  1. Giulian Almeida

    Giulian Almeida Member

    Joined:
    Jan 10, 2019
    Posts:
    5
    When I use the output VM, the game work good, but when I set the output to YYC the sprites of the game come crazy, change sprites to others and bug sprites too.
    The first two images (VM) is in the same moment to the others two (YYC).
     

    Attached Files:

    • vm.png
      vm.png
      File size:
      65.9 KB
      Views:
      8
    • vm2.png
      vm2.png
      File size:
      44.4 KB
      Views:
      7
    • ycc.png
      ycc.png
      File size:
      45.8 KB
      Views:
      8
    • yyc2.png
      yyc2.png
      File size:
      39.7 KB
      Views:
      7
  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    6,642
    Have you cleared the compiler cache? Before building with the YYC you should always clear it, especially if you've been building the VM version a few times... To clear the cache click the "broom" icon at the top of the IDE.
     
  3. Giulian Almeida

    Giulian Almeida Member

    Joined:
    Jan 10, 2019
    Posts:
    5
    I Tried but the console show this:
    "Compile Error: Cache directory could not be deleted, perhaps a process is locking the directory? Please try again."
     
  4. chirpy

    chirpy Member

    Joined:
    Oct 6, 2016
    Posts:
    108
    @Giulian Almeida
    That's the problem. Try clean it up manually by deleting your latest project cache under gms2 temp folder.
    If you're using Windows 10, it's located somewhere like:
    C:\Users\$USERNAME$\AppData\Local\GameMakerStudio2\GMS2TEMP
    Otherwise you should be able to find the temp folder path from build logs.

    Inside the temp folder, the project cache folder name should begin with your project name.
     
  5. Giulian Almeida

    Giulian Almeida Member

    Joined:
    Jan 10, 2019
    Posts:
    5
    Fixed. Thank you guys :D
     

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