51
Game Design / Re: How do you add God mode into your fangame? (For testing purposes)
« Last post by PiranhaTooth on September 15, 2018, 03:24:49 PM »You'd want to create a global variable called global.godMode or something and on keyboard_check_pressed(whatever key you want godmode toggle to be) toggle it from false to true, or true to false. Then you want to go to where the player collides with objPlayerKiller and encase that code in an if-statement checking if global.godMode == false. That's the quickest and easiest way to do it.