Question - IDE Resource name limit [Sugeestion]

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Azenris, Aug 6, 2019.

  1. Azenris

    Azenris Member

    Joined:
    Oct 30, 2016
    Posts:
    62
    Is there any reason the resource tree has a name limit. Is it possible to increase it ? maybe to 255.

    spr_interior_wooden_frame_window_light_beam_emissive

    :(

    I didnt want to abbreviate everything, I know its kinda descriptive, but it helps me understand what it is.

    Sry if wrong forum :]
     
  2. curato

    curato Member

    Joined:
    Jun 30, 2016
    Posts:
    312
    I feel your pain. I hate when I see code vx vv qq or what ever and you have to really look to see what they are talking about. You should be able to look at code using everything at you disposal variable name, indentations, comments etc to enhance the readability. I know there has to be a limit to everything. I try to avoid making them too long because then you hurt your ability to see all the coded in those little windows. I would suggest using capitalization instead of underscores to save you some room. so spr_interior_wooden_frame_window_light_beam_emissive becomes spr_InteriorWoodenFrameWindowLightBeamEmissive. Anyways that is what I do.
     
  3. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,306
    The limit is likely caused by the 255-character path length limit on Windows, where a file/directory named the way you did (combined with the path to the project itself) would go over it. You can delay the issue by storing the project closer to the root of the drive and shortening the project's file name, but in the long run, you may have to use the Mac version to avoid the issue altogether.
     
  4. GMWolf

    GMWolf aka fel666

    Joined:
    Jun 21, 2016
    Posts:
    3,360
    I've run I to this issue quite a bit outside of GM.
    Luckily there is a way to increase the windows limit (I don't quite remember it but a bit of googling should get you the answer).
    Windows is great...
     

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