GM:S 1.4 Room size is too big to assign memory

Discussion in 'Programming' started by Geniusbat, Jun 27, 2019.

  1. Geniusbat

    Geniusbat Member

    Joined:
    May 5, 2017
    Posts:
    28
    I have been trying to work with a big room (10000x10000), everytime I control+left click a tile a message appears "room size is too big to assign memory, returning to default room size". I suspect that the problem comes from the Game Maker engine itself, that can´t handle big enough rooms. Is there a way to bypass this?
    My computer is a really decent one, that can run GTA V at 60 fps high quality, so I really doubt GMS doesn´t have enough resources.
     
  2. Bayesian

    Bayesian Member

    Joined:
    Sep 13, 2016
    Posts:
    423
    My understanding is that room size doesn't matter at all. The room is just an plane, the only thing using resources are the code and graphics. I've been working with 20k rooms in 2.x and haven't had any issues. 1.4 should be fine too. Make sure you've actually set up a view or camera as trying to open a 10k window prob shouldn't work.

    edit: One thing that helps with room to resolution issues is setting up a starting room that is the either the correct widow size or has a view port set up. That way the game launches correctly and then you can change to huge rooms.
     
  3. MilesThatch

    MilesThatch Member

    Joined:
    Jul 12, 2016
    Posts:
    419
    Yeah, that's something you shoud be aware of. If you don't set up a camera / view (depending if you're in Studio 2 or 1.4) then the game will attempt to display the entire 10k by 10k room all at once. Also you don't necessarily have to create a large room there are ways around it since you have the option to basically view stuff outside of the room, you have the potential of creating infinite worlds that procedurally generate as you go.
     

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