If you would like to give away Threema as a present to friends or family members, please refer to this guide.
If you would like to use Threema in your organization, please turn to Threema Work, which was specifically designed for this purpose and can be distributed to any number of users without effort.
Schools may use Threema Education, while nonprofit organizations benefit from a special offer.
public static function savePrefs() { // existing saves... FlxG.save.data.fullscreen = fullscreen; }
Then in Main.hx → create() :
ClientPrefs.fullscreen = FlxG.fullscreen; ClientPrefs.savePrefs(); In OptionsMenu.hx , add a BoolOption : psych engine fullscreen
Add this code to Main.hx or Controls.hx to allow toggling fullscreen with a key (e.g., ). 1. Add the toggle function In Main.hx , inside the create() or update() function:
function toggleFullscreen() { #if desktop if (FlxG.fullscreen) { FlxG.fullscreen = false; FlxG.resizeWindow(1280, 720); // Your default window size } else { FlxG.fullscreen = true; } #end } In ClientPrefs.hx or directly in Main.hx : public static function savePrefs() { // existing saves
#if desktop FlxG.fullscreen = ClientPrefs.fullscreen; #end And in toggleFullscreen() :
function showFullscreenMessage() { var text = new FlxText(0, 0, 0, "Fullscreen: " + (FlxG.fullscreen ? "ON" : "OFF"), 24); text.screenCenter(); text.setFormat("VCR OSD Mono", 24, FlxColor.WHITE, CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK); text.lifetime = 1.5; add(text); } Then call showFullscreenMessage() inside toggleFullscreen() . In ClientPrefs.hx : Add the toggle function In Main
override function update(elapsed:Float) { super.update(elapsed); // Toggle fullscreen with F11 if (FlxG.keys.justPressed.F11) { toggleFullscreen(); } }