rooms

  1. T

    Windows An issue with traveling between persistent, generated rooms

    *Basically, in my game you spawn in a room with chunks which generate the world, (this works fine) *Then the player can click a button to travel to a room (rm_travel) where you can choose a biome to generate your new room as, this system uses the room_add function instead the room_duplicate...
  2. Q

    Variables change with change of a room DnD

    So, is there a way to make a variable not change while i change rooms? I am creating a simple clicker game, but whenever you change room from main room to the shop the score variable just resets. It's worth mentioning that I am using DnD too.
  3. A

    Keeping Character at Correct Depth While Changing Rooms

    Howdy, Probably has a simple solution but I can't seem to find it- I generally put my character in a layer below foreground objects to allow for a feeling of depth, but now that I have several rooms that doesn't work after the player has changed rooms because a) if there is already a player...
  4. T

    GameMaker Running specific parts of game rather than going thru everything?

    I'm sure this question has been posed before, but how can you load specific rooms? I currently have my code set up in a way to run the game as it would when someone first starts it up: menu, select a save file, then game. But I want to just be able to test certain rooms sometimes without having...
  5. D

    GameMaker [SOLVED] Room_Goto with a variable name

    Hi All, I am going bonkers here... I am trying to go to a room based on a stringvar. I.e.: room_goto(str) where str is a string defined as "Game02". The room Game02 actually exists and I can check for its existence like: room_exists(str) and it returns true. I tried...
  6. L

    importing a room from a friend

    Hey Everyone. A friend is helping me out with my game by desining a room. Now i want to import his room, but it is not working. I read on the gamemaker website that he has to make them into .gmx files, but we have no clue how to do that... can someone help us?
  7. S

    iOS Will massive rooms cause performance issues?

    Im making a runner game. Its not an endless runner but the rooms will end up being pretty huge. Id like to have the player object move forwards and have the camera follow him, as apposed to the player object remain in one spot and the entire level move past him... so I’d have to make the...
  8. S

    How to Open a Bigger sized Window or viewport from one room to the next

    How do I open a bigger sized window (viewport) from one room to the next? For instance, if the first room's (the main menu's) viewport is 1500 by 1500, and you clicked "Start Game" (which takes you to another room) the next room is still 1500 by 1500, even though I set its viewport to 1500 by...
  9. Y

    GameMaker rooms transitions

    i am making a game where you have 4 rooms that are in fact one cubic room (each room is a wall). what i want to do is to transit between the rooms as a sliding image (not just apear in the room),i am not sure how to explain it ,as imitating a rotation.
  10. C

    not changing rooms?

    I have a code that uses a variable to determine what room it will take you to but it just puts you back in the same room? rm = "rm_door" + string(symbol) if ((place_meeting(x,y+64,obj_player)) && keyboard_check(vk_space)) { room_goto(rm) } the room's name is rm_door1 and symbol = 1 when i...
  11. E

    GameMaker A General Solution to Item Persistence

    GM Version: GMS2 Target Platform: All Download: N/A Links: N/A Summary: A question I see asked a lot, is, "if I have my player character pick up an item in a room, how do I get that room to remember that the item shouldn't be there anymore after leaving that room and returning?" And every...
  12. T

    Windows Error : Could not find any rooms in the project

    Whenever I open my project, it runs fine but I'm getting this weird error: "Error : Could not find any rooms in the project - could be caused by project file corruption (check for errors on project load)" I'm not sure whats causing it...
  13. B

    Windows Rooms dissapearing

    Hi, I need some help for GMS:2. Sometimes, when I work on my game, rooms just dissapear. They are still in the folder where the game is saved, but in the UI I cant see the room. Can anybody help me? Thanks, Bojan
  14. JeanSwamp

    GameMaker Different mechanics based on rooms?

    Hello, I'm making some sort of a endless runner. Basically I move my character with hsp = movsp; My player hsp gets to 0 when I collide horizontally with a wall, which is what I want. BUT I plan to make some rooms that do not scroll. They're small rooms where if I collide with the wall, I...
  15. N

    Question - IDE Room completely doesn't work

    Hey, I'm making a 2d platformer, but unfortunately, one of the rooms doesn't work. When I enter it, the whole screen turns black and I can't close it unless I sign out. I thought that maybe the problem is with the version of GameMaker I'm using (2.1.4.200), but when I try to update it, it...
  16. R

    Room Settings, from GUI to GML

    New to GMS2 So I can create rooms using the GUI, and sub-sequentially edit those rooms' properties using the left hand "Properties" pane. Up until now, I've been creating rooms via point and click like this Room Settings > Width > (Various arbitrary room widths, say 3000) Room Settings >...
  17. J

    Deltatime changes movement speed when switching rooms

    In my game I have a menu (currently set to 30 FPS) and two levels. All rooms have an obj_control in them. The jump height/movement speed works the way I want it in the first room, and the delta time seems to work as the movement speed & jump height is the same at 60 fps and 9999 fps in the room...
  18. L

    GameMaker [SOLVED] Issue with Black Screen when Using Viewports

    Hey guys, I'm new to the GMS 2 software and this is the second game I'm prototyping. I've made a room that's 1030x10000, and when I set a viewport with the following settings: running the game causes a black screen to show up. I don't know why it'd be black, as the background I set is gray. To...
  19. F

    GML specified layer does not exist error when using room_goto

    Hi i created a room for the game which is working perfectly i added another room and dragged it above it in the resource window so that it loads first the new room has nothing but a button with the following code when clicked: room_goto(room_game); As soon as i click on the button the game...
  20. O

    Camera Won't Follow Object After Changing Rooms

    So my camera follows the player just fine in the initial room of my game, but once I move to the second room it ceases to do so. Both objects are persistent. I've determined through debug messages that the camera is still in fact set to follow the player, it just won't do so for some reason. Any...
Top