GameMaker How To Set Player Position When Switching Rooms

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • GameMaker tutorial / lesson with completed project files at gameprogrammingcourse.com in the RESOURCES section.
    How to set the position of the player in a new room when changing rooms. Good to use for adventure games when player is going from right side of one room and entering left side of new room. Works when entering one room from several different rooms.
    Check out hundreds of other GameMaker tutorials and lessons at GameProgrammingCourse.com
    All these gamemaker tutorials will work with Gamemaker Studio GMS or Gamemaker Studio 2 GMS.
    Go to the Resource Page of www.gameprogram... to download the Project Files for these tutorials!

КОМЕНТАРІ • 29

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

    Thank you this helped me a lot even years after it was posted!

  • @mikelurreizti617
    @mikelurreizti617 5 років тому +1

    I've been trying this all fucking day, I wasn't able to make it work. I was missing the "persistent" option, didn't know it at all. Your video helped me, thank you man!!

  • @Nico15037
    @Nico15037 7 років тому +1

    Thank You!!!! I didn't know what Persistence was in Gamemaker and this has really helped and will save me time!

  • @KarpoCottage
    @KarpoCottage 8 років тому

    I made some adjustments for the game I'm making. But this is the first tutorial I've found that worked well without any issues! I'm so happy! Thank you! :D

  • @toto-juan6328
    @toto-juan6328 4 роки тому +1

    U are awesome

  • @wastelandtravelers
    @wastelandtravelers 4 роки тому +1

    Thank you! Saved my life

  • @mrdaxtercrane
    @mrdaxtercrane 8 років тому +1

    Cheers for solving a issue I was wonder how to solve. Our university class for GameMaker never taught command line items. Just the blocks. Made jumping to and from rooms when you have more than a linear number of rooms a struggle.

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

    Thank you for the comment about persistence. The game maker docs leave something to be desired, so this clarified the use case of that option quite a bit. (I guess in hindsight it should have been obvious!)

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

    very useful

  • @tazmily8300
    @tazmily8300 5 років тому

    This helped me a lot. While I thought something relative to this would be the solution, you really helped me solidify that. Thank you for your example!

  • @dassedare
    @dassedare 7 років тому +2

    This looks perfect ! thank you so much!
    At last I can continue with my game! :D

  • @billiamdubois
    @billiamdubois 7 років тому +1

    Very helpful. Thank you

  • @emanu1674
    @emanu1674 6 років тому +1

    THANK YOU THANK YOU THANK YOU THANK YOU

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

    thanl you!!!

  • @Hexablu
    @Hexablu 5 років тому

    This helped a lot! It worked in gms2 for me!

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

    thank you po

  • @charleshacker1435
    @charleshacker1435 7 років тому

    awsome. took me forever to fix that

  • @CodingWithEjay
    @CodingWithEjay 7 років тому +1

    Yo +Gamemaker Game Programming Course what about shops, like if you wanna open a shop in a new room?

  • @rungeon83
    @rungeon83 5 років тому +2

    0:48 the video starts here

  • @MrDannyGunn
    @MrDannyGunn 8 років тому

    Hello professor, could you explain what x

    • @gamemakergameprogrammingco4786
      @gamemakergameprogrammingco4786  8 років тому +1

      if x position of player is less than 600 then player is on the left side of the room... assuming room is about 1200 wide.

    • @MrDannyGunn
      @MrDannyGunn 8 років тому

      OH ...I thought that was it but I have been watching your videos and I think new information just was not going into my brain at that point.Thanks I really enjoy your videos I have taken a few programming classes so I feel like I am back in the classroom :)

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

    What if I want to have multiple room exits? I have been trying to figure this out for hours but nothing works. Can you please help? this is my last resort.

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

      nevermind I fixed the problem by adding the word "if" after and. Sorry to inconvenience you. The tutorial was very, very helpful though, thanks!

  • @anshulmakhloga5720
    @anshulmakhloga5720 7 років тому

    Hey
    I have problem with my player when I'm playing my games after few second player got disappear can u help me please to solve this problem

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

    skip to @1:22

  • @zakinaufal8155
    @zakinaufal8155 5 років тому

    Help, i set the player at, example
    X=300
    Y=350
    For the prev room but when i go back, its not accurate, the player was spawn in x=450 and y=370, its makes me hard to find the accurate coordinate, i don't know whats wrong wheter the room or what else, sorry for bad english, please help

    • @zakinaufal8155
      @zakinaufal8155 5 років тому

      Edit: the coordinate that i set for other room were accurate, thats really confuse me

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

    yo the kids in the basement are screaming again!