Windows Compile error about sprites

Discussion in 'GameMaker Studio 2 Community Tech Support' started by corwin22, Oct 3, 2018.

  1. corwin22

    corwin22 Member

    Joined:
    Nov 18, 2017
    Posts:
    73
    I keep getting this one error and pressing "clean" allows the game to run but the player sprite is invisible
    1 ; drawing

    Code:
    draw_sprite_part_ext(Spr_Guns,0,0,0,64,64,x-32,y-64,2,2,c_white,1)
    draw_sprite(Spr_Player,0,x,y)
    
    2 ; the compile error

    Code:
    Error : Duplicate resource name found "Spr_Player_8fa36e31-0441-44f6-a37e-aad383a1d9b3.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_094e3bd6-134f-4977-868c-e0d73a1efa1a.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_ef46d642-acfc-4e95-ad5f-bf406b1ba7ea.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_2fa598cc-b6ea-457c-aa52-2ee27f182c14.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_44aead38-a541-45b2-af88-09bb3d159faf.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_74876948-1e2a-4a4c-a465-41af3faa1de0.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_ef73d7da-3a37-47aa-a62a-77b7298576e4.tpe" - must be unique (NOTE: case insensitive)
    Error : Duplicate resource name found "Spr_Player_d3d88d2f-db70-4519-9f93-85aba04108a9.tpe" - must be unique (NOTE: case insensitive)
    
     
  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    6,769
    Try duplicating the player sprite and deleting the original. If that fails, delete the sprite altogether and then create a new one and reload the images it uses.
     

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