room change

  1. I

    Legacy GM How to make changes in another room

    Hello, everyone. I'm trying to change things by changing between rooms. Basically, I have my "obj_door" that simply does "room_goto()", but I need this to move objects or trigger events. What I have thought is to add "with (obj_player)" after changing the room, but I realised that it doesn't...
  2. C

    GMS 2 Should I be deleting previous rooms?

    I've been playing about with GMS2 for about a week and have started to put together my first original project. I'm using an amalgamation of code from FriendlyCosmonaut's Farming RPG tutorial and GameMakerStation's Fade Transition to handle room changes, but I've noticed that if the new room has...
  3. P

    Legacy GM [Solved] Graphics Worsen After Changing Rooms

    Hey guys, I'm making a shmup that, so far, really only has one level. I recently made a title screen, but when I use the Change Room or Next Room action, the sprites for the one level's objects are in a lower resolution compared to how they look when I have the level play as the game starts...
  4. I

    Use player File for room background

    Hello Everyone , loving the studio so far , still doing baby steps. I want to ask players to upload a image that will be used as background for the room. what am I doing wrong ? The room opens but the image does not apply as background. var back = layer_background_get_id(room0); faceplate =...
  5. D

    Pls help with rooms [SOLVED]

    (Bad english sorry) When in my menu room i click on "New game" button, its activate "go to room 1" (on screen). When i disable background in room 1, i noticed that room became on top of the menu, and the menu didnt disappear. Now "menu" is background for "room 1". What am I doing wrong? How to...
  6. D

    GMS 2 Non-persistent rooms are resetting everything except player

    The title says it all. Up until now, room_restart has been doing what it should do. However, it started to try and screw me today by not resetting my player but resetting all other objects in the room. I'm wondering what made it happen, but I haven't done anything today except add audio to the...
  7. Drago the Shinigami

    GMS 2 How to have a character move between rooms without persistent?

    Hi, So, I've been struggling with this, and I was wondering if there's a way to have the player move between rooms without using the persistent variable? The reason I was wondering about this is because I don't want the player to appear in the battles, which features enemies in a head-on view...
  8. I

    Object Spawning Help

    So for this game I'm doing, I followed GravityShift Games' tutorial on making and Endless Runner but I'm expanding on it. Basically, i have an object that spawns enemies until the players gets to a certain score. Then it stops spawning enemies and spawns a jetpack that essentially triggers the...
  9. T

    Can't Switch Rooms (on click) with Drag N'Drop

    Hi, I'm super new to programming and am just making a small game for my school's science fair, so naturally I decided to do it with Drag-n-drop mode. I've created room 0 as the main menu with the animated logo and stuff; created an object that would take the player to the next room, but it...
  10. A

    GMS 2 Room changing not working

    Hello i was starting to develop a game in gamemaker studio 2 using a tutorial from undemy but now i am stuck in the room chaging there is the issue i have at the moment when i enter a new created room i got this this is the actual room lay out any help to fix this will be much...
  11. S

    Discussion Persistent objects not working in GMS2

    In GMS 2, persistent objects do not seem to work normally when the room is changed. Only the variables in it work normally.
  12. T

    Legacy GM Strange issue with ds_map and room IDs

    Dear fellow developers I've recently run into a rather strange issue with my current project. Some Info: I'm making a platforming game with a overworld for level selection. Now, I create a ds_map of the levels with the key being a number from 1 to the total number of levels, and the value...
  13. D

    GMS 2 game crashes sometimes while changing rooms

    I'm working on a game and on very rare occasion the game will crash with no error report when going from one room to another (as if I exited the run normally). It happens so infrequently that I cannot figure out what condition causes it. I have done tests where I move between a bunch of rooms...
  14. FactorX12

    Something's not right with this

    Ok, so I am trying to make a platformer and I need to be able to switch between specified rooms that are set up like this: r1_1 the first number being current level, the second number being which room of the current level player is in. I tried doing this: room_goto(r1_1); which worked fine. so...
  15. P

    Windows Persistent rooms memory leak

    Hi, I've noticed that when changing between rooms, if either room is persistent then memory use will increase slightly. It goes up between 10 and 30 kb with each transition and never ever goes down. this might not seem a lot, but when you have a game where the player will be moving back and...
  16. E

    GMS 2 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...
  17. TypoTigress

    Legacy GM [SOLVED]Point and Click game, room change issues

    [SOLVED: I'm a moron with multiple controlling objects. Don't mind me.] Hello! Recently I decided to try making a "simple" little point and click game where you explore a house, each room is a different in-game room to explore. I have set it up so that the player can turn to view each of the...
  18. B

    GMS 2 Changing viewport when switching rooms

    I'm trying to get my viewport dimensions to change when I go from one room to another, but I can't seem to make it work. In the creation code of the room I want to change the viewport dimensions of, I have view_wport[0] = 480; view_hport[0] = 854; camera_set_view_size(view_camera[0]...
  19. T

    GMS 2 Camera Problem after Room Transition

    I have a problem with the camera when the Player goes to another room. The player looks really weird and stretched. The player has to look the same regardless of the room size. For example if I walk into a house. The room will probably be smaller than a room for a forest. Normally the game...
  20. Qaletaqa Thorson

    GMS 2 Level Help

    Hey Guys, I need and would appreciate the Help on this one. i am trying to create a level between levels sort of a Mini-level except i don't know how to get it working (sorry if this doesn't make much sense it is difficult to explain) but here is the code i am using, in the creation code of...
Top