Y
yonseo
Guest
Goal: Open a Menu when pressing tab key
Problem: I created a script for the menu and launch that script in the player object.
Problem: When the player presses tab a message will appear and it works. What does not work is the commented code
I want to be able to change rooms to the menu room when the player presses tab. When I test this code it freezes player movement and no room change.
Problem: I created a script for the menu and launch that script in the player object.
Problem: When the player presses tab a message will appear and it works. What does not work is the commented code
Code:
room_goto();
Code:
journal = keyboard_check(vk_tab)
if (journal == 1){
show_message("You pressed the Tab key.");
//room_goto(room_Menu);
}