Flash End-of-Life, Ruffle Integration!
This game runs on Adobe Flash. Effective Jan. 2021, Adobe began blocking its flash player's use everywhere. Kongregate is now partnering with Ruffle to make some of our Flash content playable again. Please note: If you are using Ruffle, badges will not work normally. In order to earn a badge in a Flash game, you will need to complete the badge, then submit a screenshot (showing both proof of completion and your username) as a missing badge report using the report missing achievement option. Also, please join us in the Kongregate Discord for all the latest Kongregate news!
Tutorial: How to disable right clicking!
by BHBProd
Tutorial: How to disable right clicking!
Tutorial: How to disable right clicking! のタグ
説明
This code will make someone auto lose when right clicking:
var myMenu:ContextMenu = new ContextMenu();//create a new context menu called myMenu
function rightClick() {//create a new function called right click
gotoAndStop('cheatFrame');//when the right click button is pressed, go to the cheatFrame
}//
myMenu.onSelect = rightClick;//when the right click menu is brought up, execute the rightClick function
this.menu = myMenu;//make the neccesary changes to go to the cheating frame
遊び方
Go through the tutorial!
コメント
chaos548
Apr. 20, 2011
Stage.showMenu=false <-- DONE!
hamvvar
Oct. 28, 2010
Alright, but if you do implement this code you should also make sure that your game has built in toggles for "Show All" and Hi/Lo Quality.
A lot of games leave out the option to toggle quality and this can be a real shitty decision.
ita133
Oct. 29, 2010
lame
BLUEALEX7
Oct. 28, 2010
You know people can hold the left click and do it.