Creating & Changing Rooms in GameMaker 2.3

Поділитися
Вставка
  • Опубліковано 4 сер 2024
  • Creating & Changing Rooms in GameMaker Studio 2.3
    Creating rooms is just like adding another object. But beautifully transition between rooms with multiple objects and getting it all right is much tougher! Let's learn how to transition rooms with a nice fade, set our player character in the right spot, and make it so you can use the system in larger games, too.
    Links:
    jesse-m.itch.io/skeleton-pack
    quintino-pixels.itch.io/waste...
    Timestamps:
    0:00 Project Preview
    0:45 Creating Rooms
    1:05 Room Properties
    7:31 Changing Rooms
    12:35 Fading Between Rooms
    Project:
    drive.google.com/file/d/1hnHb...
    Leave a comment below to be entered in my monthly giveaway for a chance to win a coupon code valued for my beginner course! If you win, coupon code is good for one of the following:
    - Free purchase of my beginner course. 😱
    - Coupon code may be gifted to a friend. 🎁🎉
    - Coupon code, valued at the rate of my beginner course, may be used to discount any of the upper tiered courses. 😄
    My Exclusive Courses💻🎮:
    - Bundle Course Package & More Here! www.letslearnthistogether.com...
    Zero To Hero - Game Dev In 30 Days 📖 💻😀
    - I'm really excited to announce that I am writing a game development book for beginners!
    - I am deeply motivated and invested into making this an awesome fun book for beginners interested in learning game development!
    - Click the link to choose your tier on KickStarter and become a part of this new amazing project! www.kickstarter.com/projects/...
    Social:
    - Connect with me on Twitter @Aaron_LLTT: / aaron_lltt
    - Become a valued Patron and receive more exclusive perks @: / letslearnthistogether
    - Wanna hear from other developers in the industry? Head on over to my podcast, DevTalk, to listen to engaging conversations I have with various successful developers: devtalk.buzzsprout.com/
    - Now on Instagram 📸! Follow here for more content and sneak peaks! / letslearnthistogether

КОМЕНТАРІ • 158

  • @billiephan6113
    @billiephan6113 3 роки тому +5

    Yo, love your content. Juicy and straight to the point!!

  • @indieklem
    @indieklem 2 роки тому +3

    Thanks for sharing, was super easy & usefull to start with room transition !

  • @crispyhd935
    @crispyhd935 3 роки тому +8

    I love you!!! I was literally stuck on this part the last few days and actually gave up

  • @Olivia-eb4uq
    @Olivia-eb4uq 2 роки тому +2

    thank you so much I was stuck on this for a couple days!

  • @tiagox3275
    @tiagox3275 Рік тому +1

    Thanks! You're a lifesaver!

  • @magolda6770
    @magolda6770 2 роки тому +1

    Worked perfectly

  • @fatefulseven
    @fatefulseven 3 роки тому +3

    Real good content, thank you! (:

  • @Unliraisu
    @Unliraisu 8 місяців тому +12

    I got the problem where my character would just teleport to its previous coordinates when it enters a room. I fixed it by removing the collision event and instead used the step even. Basically this:
    if (place_meeting(x, y, Obj_Player)) {
    Obj_Player.x = xPosition;
    Obj_Player.y = yPosition;
    room_goto(RoomName);
    }
    Hope this helps some of ya'll

    • @nathanbell9449
      @nathanbell9449 7 місяців тому +1

      I initially gave up on making my game two years ago cause I couldnt get this issue fixed so thank you very much

    • @dailyversesforgod
      @dailyversesforgod 7 місяців тому +1

      You sir, have saved my faith

    • @SolomonsGameStudio
      @SolomonsGameStudio 3 місяці тому +1

      thank you so much. worked immediately

    • @Not_nistrepan
      @Not_nistrepan 2 місяці тому +1

      thank you soooo much man

    • @Unliraisu
      @Unliraisu 2 місяці тому

      Hi everyone! Just remembered this comment after months...I'm glad to have helped ya'll!

  • @PSTechCR
    @PSTechCR 2 роки тому

    Thanks as always for the tutorials, hope you can do one day a proper tutorial for touch base controllers

  • @ifrahk8743
    @ifrahk8743 3 роки тому +1

    THANK YOU SO MUCH

  • @chris9085
    @chris9085 2 роки тому +1

    thank you!!!!!!!!!!!!!!!!

  • @zachstofko
    @zachstofko 2 роки тому

    Hello. I followed your video (which by the way, thank you) and for some reason, The room warping works perfectly and the black fade transitions starts, but then it completely cuts to the next room without finishing the animation. I don't really know what's wrong since I followed your tutorial exactly how you described, so sorry I'm not able to give any feedback as to why this may be happening, but has anyone mentioned this before? Is it possible this is a simple error that you know of or was there an update that possibly stopped this from happening? Thanks

  • @autismandgaming4532
    @autismandgaming4532 2 місяці тому +1

    If I wanted to have an alternate version of this object where in order to go to another room, I would need to be colliding with the object & press a specific button to do the transition (i.e. Pressing up to go through a door), how would I change the code to suit this?

  • @maximocosseti966
    @maximocosseti966 Рік тому

    Very good video, I'll take it into account when making my game, just one question.
    If I wanted to go from
    a room 2 to room 3, do I have to add another variable or how can I make it work?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      No, each warp will take you to just one room. So in that warp object, choose which room you go to and where you end up.

  • @desmormos
    @desmormos 3 роки тому +3

    Thanks for the tutorial! For some reason youtube really prioritized showing me your older video over this one so I only found this after following the other one... however my player is not spawning in the correct position (spawns in bottom right corner of room instead, below floor and I can't move. Moves to the correct room though so I am not sure where I am going wrong :(

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому +1

      Double check your variables are being used. Breakpoints are great for doing this, as it allows you to follow the code and see exactly why your player isn’t spawning where they should go.

    • @desmormos
      @desmormos 3 роки тому +2

      @@LetsLearnThisTogether Thank you so much! Something had went wrong with the variables in my warp controller, works great now. Thank you for the help. I hope I'm able to pay it forward one day when I know what I'm doing :)

    • @Sakura_Animations
      @Sakura_Animations 3 роки тому

      @@desmormos
      can you help me?
      I have the sams problem with you and I can't fix it

  • @saxenart
    @saxenart Рік тому +1

    Can you only go to the next room or can you also walk back to the other room?

  • @frasercameron25
    @frasercameron25 Рік тому

    Hi!
    So I'm pretty sure I've followed this tutorial 1 - 1 but when my player collides with the object it takes me to the same room I was originally in but with the coordinates set to the collision box. Would there be any reason why?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      If the coordinates you set for the player to be in, in the new room, collides with another object telling it to change back to the original room, that could cause this.

  • @eefle_weefle
    @eefle_weefle 2 роки тому +1

    i followed the tutorial 1 to 1 but my player just goes to a random place when it hit the warp block

  • @juicesnatcher
    @juicesnatcher 2 роки тому +1

    Thank you for this wonderful tutorial, it really helped me out. I'm just having one odd problem though.
    Whenever I swap between the overworld of my game into the shop, all the objects on the overworld do not fade out with the rest of the background. Once I enter the shop though, everything in that room fades perfectly fine. I'm not sure exactly what I did wrong, but I'm not sure how to fix it either. I followed your code, yet this is happening for some reason. Any help on this would be greatly appreciated!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому +1

      Do you those overworld objects on a different layer? Are any of them set to persistent?

    • @juicesnatcher
      @juicesnatcher 2 роки тому +1

      Yes, they are separated onto different layers. Should I make it so they aren't?
      The only object in the rooms I have set to be persistent is the player.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому +1

      I’m not totally sure. If you’re willing to send me your project I’ll take a look. Link it here or send me an email at aaron@letslearnthistogether.com

    • @cloudnone2591
      @cloudnone2591 Рік тому

      you have probably long fixed it by now but it might've been a layer hierarchy problem !! it was probably below the layer with those objects so it couldn't work properly??

  • @ozzyvalentines8264
    @ozzyvalentines8264 Рік тому

    hello! sorry for asking a question on a 2 year old vid, but im having a super annoying problem and i literally can't find anything on it. so i followed the tutorial 1:1, everything the exact same but when switching rooms it doesn't change the coordinates of the player object. I tried using a debug message to print the coordinates and i found that it DOES put the player object in the correct coordinates, but then immediately switches back to the previous ones (presumably in the step event?) so it looks like its not changing at all. for the step event im just using super basic code "if (keyboard_check(vk_right)) {x += 8}" (like that) so i don't see why that would be messing it up. any idea about what might be happening? thank you!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      My guess is you’ve switched places correctly, but are still moving while changing rooms and it’s reading x as your old location, so it moves you to x (your old x) +8, and it looks like you’re not moving at all.
      Make it so once you collide with your object, you can’t move at all and then wait at least 1 frame to change your players location.

  • @NoicMC
    @NoicMC Рік тому +1

    Hi bro. Thanks for the video, it really helps me. But I have a problem with the warped object. It warps me to the starting room (the main menu) when I collide with it. It's really weird, I did the tutorial 2 times but it is still not working,. Can you help me? Thank you!

    • @NoicMC
      @NoicMC Рік тому +1

      I forget to say that I didn't set the starting room, sorry.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому +1

      Double check you’ve set the correct room on the object you’re colliding with.
      Then, check in the room you’re warping to and ensure you’re not landing on another warp object that immediately puts you in the main menu room.
      If nothing from those two, export your project as a yyz and email it to me at aaron@letslearnthistogether.com and I’ll take a look.

    • @NoicMC
      @NoicMC Рік тому +1

      ​@@LetsLearnThisTogether Thank you very much for your reply. Sadly, seems to be that this error isn't that. I sent you the game. Sorry if the error is something stupid. Thank you!

  • @JosephKChen
    @JosephKChen 3 роки тому +3

    Hi Aaron. I was wondering if you could do some videos on conceptual ideas like design patterns? I just learned about the existence of common design patterns like creation, structural, and behavioral patterns but I can't seem to find any information on them in the context of using them in GML. There are some java examples, unity examples, c# examples, but I dont know any of those things so it's hard to wrap my head around what's going on. Can you do these kinds of videos and teach concepts as stand alone videos in addition to your usual videos? I feel like I need to learn how to code from a back end perspective instead of from manipulating an end user experience perspective. This might be hard to teach without showing diagrams and stuff. If there's any other conceptual ideas, I'd love to see videos on them. I don't even know where to look to learn about what are common design concepts.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому +1

      That's a really good idea. Design patterns are an important concept. I'll add it to my list and start doing some research on them.

  • @lililililililil9132
    @lililililililil9132 3 роки тому +2

    I did everything as shown, but i dont spawn at the given coordinates, i spawn in the location where i was in rhe old room.

    • @perra8824
      @perra8824 2 роки тому

      oh yeah probably too ate for i had that problem but i had a game object in my other room which had an event telling it to go to the start room you gotta take that off

  • @aviralyadav7529
    @aviralyadav7529 3 роки тому

    hey ,i have a doubt on changing level as one level gets finished another level has to start but i dont get how can i do so.
    pls reply and tell me

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      I’m not sure what you mean. Only one level can be running at a time, but you can switch between levels with the code in this video.

  • @dmac2016
    @dmac2016 3 роки тому +1

    Hey the x and y position won't work... neither the viewport...

  • @poisonousdrink911
    @poisonousdrink911 3 роки тому

    Theres an issue with warping for my friend, The program will warp you to room 2 but not set the character at the coordinates he inputted. It will just leave the player at the same position and switch rooms. Any idea what the solution to the problem might be?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      It sounds like the object isn’t set to persistent. If it isn’t, then it won’t move rooms with you to position the player in the new spot.

    • @radcowboy5985
      @radcowboy5985 3 роки тому +1

      @@LetsLearnThisTogether im having the same problem (always warping me to 0'0) , but the object is set to persistent... not sure how to fix it.

  • @BoazAdreal
    @BoazAdreal 3 роки тому +1

    I am running into an issue where the fade on room transition never occurs. I added a debug message at the beginning of the create event and it never displays in output once despite bouncing between rooms like a madman. :(

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      Is the code for drawing the fade in the draw event?
      Is the fade object being created at all? And is it set to persistent?

    • @BoazAdreal
      @BoazAdreal 3 роки тому

      @@LetsLearnThisTogether I had not changed the code in objWarpTile to use warp.ETC and was still using the original. Works good now!

  • @Mukkisopp
    @Mukkisopp Рік тому

    hey, my player doesnt go back from the next room, what do I do? can anyone help please? nevermind I figured it out!

  • @ThzMondes
    @ThzMondes 7 місяців тому

    i have a problem where the character doesnt show up in the other room but he's set to persistent please help

  • @SDaviesBowen
    @SDaviesBowen Рік тому

    Hello! I'm having some trouble with my character- instead of appearing at the coordinates I put in he appears on in the top left corner instead, and also can't move. Do you have any idea how I fix it? Thank you!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      Not without looking at your project. Seems to be a lot not working and I can’t help without seeing more info.

  • @Sorabotics
    @Sorabotics Рік тому

    This was a great video! However, I created a second warp object so that the player could go back into the previous room and when I do this, there are two instances of the player. Does anyone know how I can fix this?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому +1

      You must mark your player as persistent, and only have 1 of them throughout your entire game. Then only create the player once, in like a start menu or in the start game event, instead of placing the player in the room because the room resets every time you leave and re-enter.

    • @Sorabotics
      @Sorabotics Рік тому +1

      @@LetsLearnThisTogether got it, thanks! I'm currently trying to put a create instance of the player in the obj_player main create event but the game keeps crashing with an error so I guess I should try a start game event XD

  • @salad-chan3382
    @salad-chan3382 3 роки тому

    So uh i followed everything but- When i collide with the warp i go to the next room but my character isnt visible, it's there because when i got back to the other warp it teleported me to the main room, it doesn't appear in the next room, And yes i do have persistent checked on my character

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      It’s most likely on a layer behind the background or it’s depth got set too high.

  • @knightnapier3462
    @knightnapier3462 3 роки тому

    I'm having an issue with the game where the room transitions but the character spawns at the location where he was rather than the point specified by XPosition and YPosition (if it's on the right, he spawns on the right rather than on the left and vice versa). I've followed both of your versions of this and I'm getting this from both ways

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      Export your project and share it with me through a link on here. I’ll take a look.

    • @knightnapier3462
      @knightnapier3462 3 роки тому +1

      @@LetsLearnThisTogether I got the code working thanks to the tutorial on fading. Thanks for the help!

    • @jeffmcluck6577
      @jeffmcluck6577 2 роки тому +1

      KnightNapier how did you fix this problem? I have the same issue

  • @mrhelpful6202
    @mrhelpful6202 Рік тому

    hey when i go into a room and leave then go into that room again the player warp stops egsisting do you know how to fix this? should i make that persistent to?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      Unless you’ve set your room to be persistent and then deleted the warp, when you go back in the warp will be there. Every time you go into a room that isn’t persistent, it’s recreated from scratch and every instance is placed where it originally was.
      I don’t know why it would be gone or stop working without hearing / seeing more about your project.

    • @mrhelpful6202
      @mrhelpful6202 Рік тому

      @@LetsLearnThisTogether oh i had the room set to persistent thanks

  • @sls_EU
    @sls_EU Рік тому

    hi i have an issue:
    when im taking the warp to go to my nextRoom, only the background and tiles are fading and not my instances
    can you help?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому +1

      When you create the fade, either set its depth to be a very low negative number, or create it on an instance layer you’ve placed above everything else. Otherwise it will only cover the layers of a lower depth.

    • @sls_EU
      @sls_EU Рік тому +1

      @@LetsLearnThisTogetheryep i expected that but I moved on and did something else, thank you for your fast reply!

  • @buttsniffer6914
    @buttsniffer6914 3 роки тому +2

    I'm following the tutorial exactly, even made sure to make the player object persistent, but whenever I go to warp to another room the player does not appear (and I think might be warping to the opposite end of the room out of sight). I have no idea what's going wrong, I made sure to do this tutorial on a fresh file to prevent any potential code conflictions.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      If you export your project and link it here, I'll take a look. I'm also interested in finding unique errors.

    • @aesteroid
      @aesteroid 2 роки тому

      @@LetsLearnThisTogether I've got the same issue. did you get to find any solution to this? what's weird is i can assets attached to my player to warp, but not the player itself

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому

      I don’t think so. If you export your project and send me the link I’ll take a look at it

    • @aesteroid
      @aesteroid 2 роки тому +1

      @@LetsLearnThisTogether I think I figured it out! If I create a warp point before I import a background to the next room, my player appears BEHIND the background. That's why it wasn't appearing. Well, it was, I just couldn't see the guy. After a bunch of trial and error, I managed to get it to work. Hopefully consistently!

    • @fabih5236
      @fabih5236 Рік тому

      @@aesteroid How did you get rid of the problem? Our group is having the exact same issue but we dont know how to move the player out of the background.

  • @newalbacore8352
    @newalbacore8352 Рік тому

    I have something very weird going on, when I change rooms it ignores the coordinates I used for the warp and instead teleports me to the same position I was in the previous room in the new one. I can't figure out why, I have everything coded the same as in the video

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому +1

      The usual problem for this is that you’re still moving when the warp takes effect. So the warp triggers, tries to set your position, but then you move for another frame and it puts you back where you were.
      You’ll need a system to pause your movement when you collide with the warp, and then it should work fine.

    • @newalbacore8352
      @newalbacore8352 Рік тому +1

      @@LetsLearnThisTogether okay, thank you!

    • @illi8584
      @illi8584 Рік тому +1

      @@newalbacore8352 Hello, i have the same Problem, did you fix it with the pause thing? If so, how did you do that?

    • @newalbacore8352
      @newalbacore8352 Рік тому

      @@illi8584 nope still haven’t been able to get it I’m stuck on this issue rn, I somehow managed to take two programing classes but I can’t figure out smth this simple

  • @RealLifeKyurem
    @RealLifeKyurem 3 роки тому

    I followed the tutorial, but the previous room doesn’t disappear when the player collides with the room transition object. Great video, by the way!

    • @Cross-ol9gw
      @Cross-ol9gw 8 місяців тому +1

      Try to check the box on viewport settings "clear viewport background"

  • @hamzaaslam381
    @hamzaaslam381 2 роки тому

    hi , i followed the video properly but the player doesn't spawn on the new points , i also debug it to see the variables but still player spawn on the previous location in the new room

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому

      If you want to export your project to a .yyz and email it to me at aaron@letslearnthistogether.com, I’ll take a look. I like finding new problems.

    • @hamzaaslam381
      @hamzaaslam381 2 роки тому

      @@LetsLearnThisTogether sure will send you

  • @emilkummerfeldt9836
    @emilkummerfeldt9836 3 роки тому

    i have an object in my room. if i take it and go to the next room, and back, my object will come back, and i don't want that. can you help me please?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      In that room’s settings, mark it as persistent. Otherwise each room starts the same way as it did when you enter it.

  • @yourdailyLIFE
    @yourdailyLIFE 6 місяців тому

    Crossing my fingers someone can help. I have tried many different solutions for a universal warp object and no matter what I try, I get 2 players when I re-enter my original room.

  • @Edel99
    @Edel99 3 роки тому

    Will you be doing any GODOT tutorials in the future?

  • @momoj0j003
    @momoj0j003 Рік тому

    my player is just walking trough the object.
    what may be the cause?
    do i have to code the collision for this object on the Player itself?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      You must have code somewhere that tells it what to do for the collision. It can go on the player or the collision object.

    • @momoj0j003
      @momoj0j003 Рік тому

      I checked everything and even downloaded your project… i just startet a new project and copied all in and now it worked…
      Don‘t know why but thank you for your videos and thank you for your fast reply i was shocked!

    • @momoj0j003
      @momoj0j003 Рік тому

      @@LetsLearnThisTogether
      Do i need for every next warp to have a new Object?
      because it seems that the variable can not be changed for every instance but for the object in general...

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      You change the instance variables in the room editor. You only need 1 warp object, and change the data values to go to different places.

  • @saxenart
    @saxenart Рік тому

    What does VK mean?

  • @ladislavtatkotomastik7958
    @ladislavtatkotomastik7958 3 роки тому +1

    sorry I can't speak English :)) only translator :))
    I was very embarrassed before I realized that
    each object name must begin with "obj_any name"
    otherwise it doesn't work by jumping to coordinates
    other.x = xposition;
    other.y = position;
    room_goto (targetRoom); !!!!
    where does one read it ??

  • @dmac2016
    @dmac2016 3 роки тому +1

    Hmm. It only works when I hit the top left of the warp. I am using GMS 2.3 and the older version worked with the older tutorial perfectly.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому +1

      I ran into this problem with someone else’s project. They had both objects marked as solid. Removing that fixed it.

    • @dmac2016
      @dmac2016 3 роки тому +1

      Both were not marked solid

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому +1

      Zip up your project and email it to me at aaron@letslearnthistogether.com.

  • @hchchch1688
    @hchchch1688 Рік тому

    Hello, one question, how do I do so that when my character goes to the next room he is in the position that I want?
    because when he teleports
    to the next room
    It is in the same coordinates as where it started.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      When you change rooms, probably using the code room_goto, set the coordinates immediately after.
      x =
      y =
      If you find that not working, you need to find why. Ensure your object is persistent. Double check you don’t have a second character in the new room.
      If it still isn’t working, then somewhere in your code you’re altering the position of your character. Most likely in the movement code of the player. Ensure your player can’t move after you initiate the room change.

    • @hchchch1688
      @hchchch1688 Рік тому

      @@LetsLearnThisTogether is the setting of the x and y position done in objWarp?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому

      Yeah, I think so. It’s been a bit since I’ve looked at this project.

    • @hchchch1688
      @hchchch1688 Рік тому +1

      @@LetsLearnThisTogether So do I add the coordinates in the collision event with the player?
      sorry for sending so many messages
      Edit
      already solved
      really thank you very much I was almost discouraged from making my game for not finding a tutorial that I could understand thanks again

    • @maniek891231
      @maniek891231 9 місяців тому

      @@hchchch1688 Would be great if you shared how did you solved it though! :)

  • @roqnako
    @roqnako 10 місяців тому

    I fucking love you

  • @technoham9849
    @technoham9849 2 роки тому +1

    I got an glitch that when I warp I'll end up in the other end of the room. this has happened on different methods too and changing the cords doesn't work. please help!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому +1

      If you email me the project at aaron@letslearnthistogether I can check it out.

    • @technoham9849
      @technoham9849 2 роки тому +1

      @@LetsLearnThisTogether how do I send it again

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому +1

      Export your project as a yyz and then email that to me, or upload it to a cloud sharing service and send me that link

    • @technoham9849
      @technoham9849 2 роки тому

      @@LetsLearnThisTogether I sent something to someone so idk if that works or if I even sent it to you

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому +1

      @@technoham9849 I got it. I don't understand the glitch at all, but your End Step event is causing the issue. Change the event to a Begin Step event and your transition will work.

  • @viniboi_4963
    @viniboi_4963 3 роки тому

    My home icon is on my main menu room, but it starts on the first level!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому +1

      Then there must be some code telling it to move to that room.

    • @viniboi_4963
      @viniboi_4963 3 роки тому +1

      @@LetsLearnThisTogether where should i add this code?

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому +2

      What do you mean? You said that your home room is menu, but the game starts on first level.
      Are you saying that it’s automatically changing rooms and you don’t want that? Or you’re saying you need to know how to change to the first level?

    • @viniboi_4963
      @viniboi_4963 3 роки тому +1

      @@LetsLearnThisTogether lol im sorry i wasn't very clear, so, theres the main menu room, and i want the game to start on it, but even when the home icon is on the main menu room, it starts in the first level

    • @viniboi_4963
      @viniboi_4963 3 роки тому +1

      I think my gms is bugged or something because when i make a child room for my main menu, it goes back to starting on the main menu(which is what i want)

  • @jadestormbringer3733
    @jadestormbringer3733 3 роки тому +1

    The x and y positions don't work; they just go to the previous x and y coordinates in the next room.

    • @dmac2016
      @dmac2016 3 роки тому

      I have the same problem...

    • @bridgiemarie7989
      @bridgiemarie7989 2 роки тому

      Have you guys figured this one out yet? Cause I’m having that issue, and I’ve recoded it several times
      Update: I figured it out. I’m not sure why but making sure the box for solid under your characters object is not checked fixed this problem. I’m guessing then being solid messed up the collision with the warp!

  • @lost50
    @lost50 Рік тому +2

    your voice sounds like Ross from Friends

  • @FlowerPrimrose
    @FlowerPrimrose Рік тому

    can you do a non fade next room code pls

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  Рік тому +1

      The code to change rooms is room_goto() if that’s all you need. Pass in the room you want to go. Usually this code goes in a collision event or key press, as you only want it to run once.

    • @FlowerPrimrose
      @FlowerPrimrose Рік тому +1

      @@LetsLearnThisTogether oh thx your the best

    • @FlowerPrimrose
      @FlowerPrimrose Рік тому

      @@LetsLearnThisTogether mello me again I have a question is there any way to make a hallway room without the character turning into a stick

  • @noahclarke9615
    @noahclarke9615 2 роки тому

    for some reason no matter what I do I always end up in the next room but in the same co-ordinates that I was in the last room

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  2 роки тому

      Export your project and you can email it to me at aaron@letslearnthistogether.com

  • @hustllezfrr
    @hustllezfrr 9 місяців тому

    bruh I followed every single step correctly and that dumb warp object doesn't teleport me to the next room

  • @gunseleroglu6772
    @gunseleroglu6772 Рік тому +1

    for everyone asking x , y not working, you have to check your obj_player is solid or not

    • @hustllezfrr
      @hustllezfrr 9 місяців тому

      still doesn't work

    • @gunseleroglu6772
      @gunseleroglu6772 9 місяців тому

      @@hustllezfrr and persistent

    • @gunseleroglu6772
      @gunseleroglu6772 9 місяців тому

      @@hustllezfrr IDK if it's changed but there were boxes that u can assign variables of all rooms and their value

    • @hustllezfrr
      @hustllezfrr 9 місяців тому

      @@gunseleroglu6772 I did all that

  • @hexr1655
    @hexr1655 3 роки тому +1

    why why why you do not make a new video

  • @cwehden
    @cwehden Рік тому

    I can get the doors to work perfectly but the fade out/in code makes the game fade out instantly even when not near a door and gives me this error, I'm very new just learning the basics. My variables are the same as yours but with _ conventions newRoom = new_room etc.. oPlayer isn't anywhere near a door but it seems to be initiating the warp controller even though I'm not colliding with the door, I'm not sure why because the door is miles away so there is no collision happening, at least I think that's the case
    room_goto argument 1 incorrect type (undefined) expecting a Number (YYGI32)
    at gml_Object_oDoorController_Step_0 (line 9) - room_goto(new_room);
    ############################################################################################
    gml_Object_oDoorController_Step_0 (line 9)