http://engine.wohlnet.ru/pgewiki/Player_%28class%2 has Player.pauseKeyPressingSAJewers wrote:Is there a way to fix "A World 1 Level" From Episode 1 by disallowing the player from entering the pause menu?
EDIT: Also, Is it possible to have no P-Switch music, like in ASMT/A2MT?
How To: Overwrite or lock player inputTrue, if the player is pressing the pause key. Can be overwritten with the Event onInputUpdate, to lock or reverse controls (LunaLua ≥v0.7)
Code: Select all
function onInputUpdate()
if(player.pauseKeyPressing) then
player.pauseKeyPressing = false;
end
end
Doesn't sound replacement work the same way as with sprites? Can't you put a silent sound file with the same name as the P-switch sound file into your level folder?