• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

room change

  1. 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...
  2. 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...
  3. T

    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...
  4. B

    GameMaker 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]...
  5. T

    GameMaker 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...
  6. Q

    GameMaker 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...
  7. O

    Windows Alarms just not working

    (In Destroy (for an object)) alarm[0] = 120 (In Alarm 0) room_goto_previous() The room change works if i just put "room_goto_previous" in the destroy without the alarm so i know that it is being activated. I have tried all sorts of things but nothing seems to make the alarm work. I have also...
  8. N

    Game freeze/lags when changing room

    Hey guys i have following problem: I made an endless vertical Scroller for Android where the obstacles move from outside the room down to the player. To change the room i have a invisible object that also moves down and changes the room once it hits the bottom of the room. But the thing is...
  9. Daniel Mallett

    GameMaker Can't run objects from new room allthough room opens

    I can open another room. I can run non draw code from the create section of the other room. But As soon as I try to run an object it doesn't matter what code it has nothing executes. I can show a message box from creation code but I can't run an object that shows a message box if it has been...
  10. M

    Legacy GM detecting objects in seperate rooms?

    I'm wanting to check and see if there is an object already at a (x,y) position. Is there a way to do this when in a different room? I can provide some of my code to help with the context if need be/if asked but I don't see the necessity in that. Would it be more effective to use a global...
  11. M

    Legacy GM (SOLVED-thanks thijs)objects only wanting to move to one room but same code for all 4

    I have 4 rooms with objects in all four rooms. I am only able to move an object to room 1 then I can move the object back to the room it came from but no other. I have keys 1,2,3,and 4 set up to go to there respected room#(rm_layer#) when the variable global.currentlyselected=0 for testing...
  12. L

    GameMaker Tile Collision / New Rooms ?

    Scripts: tile_collide_at_points move_and_contact_tiles Player Events: o_player Events: Create o_player Events: Step o_player Events: Collision (o_door) Game Events: o_game Events: Room Start i_game_start Creation Code OK, so everything works fine, but when I go to a new...
  13. T

    Different Multiplayer Modes and Rooms

    Hi, I'm making a game with a multiplayer mode. I want to add different game modes and different maps. In this multiplayer mode, a friend creates a server and you have to write the ip address of the friend who made the server. So I want to let the friend decide which game mode and map they will...
  14. Null-Z

    Beginner question, Room Change(Solved)

    Hello, haven't posted here in a long time but I need help. for initial reference I use GMS 1.4 I'm trying to make a simple 1-way room warp for a 2D platformer game. I used "Beyond us Games" method but I get the error - FATAL ERROR in action number 1 of Step EventPlayer for object...
  15. D

    ( SOLVED) Choose next room depending on percentage

    Hello I'm working on a game in which many room changes are made i wish for the room change to be based on a percentage Example 10% chance of moving to room01 90% chance of moving to room02 im using simple coding to move from room to room room_goto(room01) Any idea how to do this? or...
  16. J

    GML Help me understand changing rooms

    I send player to room2: room_goto(rm_room2); all good, but when I send the player back to room 1: room_goto(rm_room1); the game exits.
  17. K

    3D someone help me about d3d_end()?

    Hello Friends,Let's Contextualize... I'm Creating a Space Shooter game,I will talk more about this project in the future. So,in the introduction of the game,in tribute to the Star Wars franchise,I made this sign: but I the sign is just a background with some stripes,I want to create a text,so...
  18. H

    GameMaker [Solved] How to make a level selection screen?

    I'm using the free version - so limited stuff... Any way, i created the rooms i needed. I got some basic platforming action going on since there are ample tutorials on those things. However navigation between rooms is killing me. I have made a "choose room" object button that I have multiple...
  19. D

    Warp Door Issue

    EDIT: HOLD UP, MAKING PROGRESS. I just slightly changed coordinates and it works, not sure what this minor change did but making progress. Does anyone have any idea what the problem might be here. I have some pretty basic code. I have a warp door parent object with a collision event with the...
  20. The-any-Key

    Asset - Extension Room switch

    Short desc: Sometimes you want a giant world or room. But you would like to split it up into small pieces and travel between them without notice the room change. Video: Check the video to get a step by step. Dependencies: You also need to download the awesome exCamera from here...
Top