I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: Junior Nintendista on April 21, 2015, 04:41:42 PM

Title: GD.M. Bug
Post by: Junior Nintendista on April 21, 2015, 04:41:42 PM
On that released version 1.0 of IWKT Creator, I had deleted the codes and the button you press to activate the God Mode, but I just use the "G" button to god mode, but then was the "Ctrl" that was activating the way, this is a bug?
Title: Re: GD.M. Bug
Post by: Anon70000 on April 21, 2015, 05:02:56 PM
I've decompiled your game if you don't mind.
Here's explanation.
if(muteki=0 && global.Debug_Muteki_Mode=0){ // <- if these two = 0, player dies (this is killPlayer Script)
In SetGlobalOptions:
global.Debug_Muteki=1
global.Debug_Muteki_Key=vk_control // <- Control activates this parametr which cancels death basically


I also suggest you use full-rectangle collision mask in menu, because aiming straight at buttons is annyoing
Title: Re: GD.M. Bug
Post by: Junior Nintendista on April 21, 2015, 05:07:52 PM
I deleted this code in SetGlobalOptions, and so far have not had the problem.