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.

Did anyone knwo of this exception class???

ive been looking (with many others) into a nice working way to remove the F12 key... without errors. I still havnt accomplished this so go away if thats why your here.

On the other hand i found that you can rescue a class called SystemExit. When used in conjunction with rescue Reset in the main script you can stop F12... but only on the title screen. I dont know if this may be the answer we are looking for as im not that great of a scripter and dont know where to go with this, or if its been known before. Its up to you to find out or correct me... i just thought it wise to post here juuust incase...
 

Zeriab

Sponsor

It's not too late although a bit pointless if you don't add something.
If you for example had added that Hangup is thrown when more than 10 seconds has passed without Graphics.update being called. That would have been useful and you would have shown off your knowledge ^_^
 

e

Sponsor

Exceptions are for the weak.
Real men use segfaults (sometimes kernel panics too).

By the way, if you know of more "useful" tidbits such as these thrown exceptions, you should post it in the Scripter's Corner. I'm sure it'd help someone out.
 

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