Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - mmm_bot

#1
So, I have a code that check whether the player click the letter A, for example - But this will not work when the PC is set to a language that's not English. I use this to check whether the player clicked A:
Code: ags

function on_key_press(eKeyCode keycode) {
[...}
 if (keycode ==  eKeyA)


Is there another way to check for a key press? I would like to avoid a message like "Please set your language to English to enable Caps Lock" if possible...

Thanks! :)
#2
Hey, I just finished working on a menu, but I had a small of question - in my New Game option, I basically just transported the character into the starting room. This will obviously work the first time a player starts the game, but what if someone plays for a while, then goes back to the main menu and then start a new game? Wouldn't some variables or things like that be out of place? If this is a problem, is there a way to reset the game easily once a players goes back to the main menu so that I don't have to worry about it?

Thanks a lot :)
#3
Hey, I guess this might be a stupid question, but it's really bugging me - Everytime I save my game and then load it, the music continues from where it was the moment I saved the game. Is this a bug or some strange feature? Is there a way to make the music track start from the beginning when a player loads a game?

Thanks in advance!
SMF spam blocked by CleanTalk