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!
Thank you this helped me a lot even years after it was posted!
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!!
Thank You!!!! I didn't know what Persistence was in Gamemaker and this has really helped and will save me time!
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
U are awesome
Thank you! Saved my life
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.
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!)
very useful
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!
This looks perfect ! thank you so much!
At last I can continue with my game! :D
Very helpful. Thank you
THANK YOU THANK YOU THANK YOU THANK YOU
thanl you!!!
This helped a lot! It worked in gms2 for me!
thank you po
awsome. took me forever to fix that
Yo +Gamemaker Game Programming Course what about shops, like if you wanna open a shop in a new room?
0:48 the video starts here
Hello professor, could you explain what x
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.
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 :)
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.
nevermind I fixed the problem by adding the word "if" after and. Sorry to inconvenience you. The tutorial was very, very helpful though, thanks!
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
skip to @1:22
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
Edit: the coordinate that i set for other room were accurate, thats really confuse me
yo the kids in the basement are screaming again!