Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Function Keys

By default, F2 shows the frames/second of the game and F1 shows system options. The problem is, F9 shows a list of all the switches in the game and if the player messes with them, they could ruin the game.:eek:
So, is there a way where i can control/choose what each function key does?

:thumb:thx in advance:thumb:
 

Ayame

Member

Yup, some certain functions you can use in play test can not be use when you run the game.exe file, for example hold the ctrl to go through everything, and that F9 :) So dont worry XD
 
so..those functions do nothing?

okay..well then CAN i make them do something? For example, i want the user to press mayb F1 and then get a list of buttons and what they do..
 
F1 will still work in realtime mode, only F9 and the CTRL thing will be disabled. So, F1 should work for your user (under the Keyboard or Gamepad tabs) unless you've added more keys through scripting.
 

Zeriab

Sponsor

F2 is disabled along with Ctrl and F9 when you don't play it from the editor.

F1 and F12 works both from the editor and normally

F1 - Options dialog (separate window)
F2 - FPS display in the application window name
F9 - Debug menu where you can change the values of switches and variables
F12 - 'Restarts' the game. You can get weird scripting errors from this -_-
Ctrl - Through on Player
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top