2022-03-11 06:30:01 +00:00
|
|
|
package funkin.util;
|
|
|
|
|
|
|
|
import flixel.util.FlxColor;
|
2022-04-18 23:36:09 +00:00
|
|
|
import lime.app.Application;
|
2022-03-11 06:30:01 +00:00
|
|
|
|
|
|
|
class Constants
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The scale factor to use when increasing the size of pixel art graphics.
|
|
|
|
*/
|
|
|
|
public static final PIXEL_ART_SCALE = 6;
|
|
|
|
|
|
|
|
public static final HEALTH_BAR_RED:FlxColor = 0xFFFF0000;
|
|
|
|
public static final HEALTH_BAR_GREEN:FlxColor = 0xFF66FF33;
|
2022-03-13 18:36:03 +00:00
|
|
|
|
|
|
|
public static final COUNTDOWN_VOLUME = 0.6;
|
|
|
|
|
|
|
|
public static final VERSION_SUFFIX = ' PROTOTYPE';
|
|
|
|
public static var VERSION(get, null):String;
|
|
|
|
|
2022-04-18 23:36:09 +00:00
|
|
|
public static final FREAKY_MENU_BPM = 102;
|
|
|
|
|
2022-09-07 23:07:08 +00:00
|
|
|
// Change this if you're making an engine.
|
|
|
|
public static final TITLE = "Friday Night Funkin'";
|
|
|
|
|
2022-03-15 00:48:45 +00:00
|
|
|
#if debug
|
|
|
|
public static final GIT_HASH = funkin.util.macro.GitCommit.getGitCommitHash();
|
2022-06-09 06:27:20 +00:00
|
|
|
public static final GIT_BRANCH = funkin.util.macro.GitCommit.getGitBranch();
|
2022-03-15 00:48:45 +00:00
|
|
|
|
|
|
|
static function get_VERSION():String
|
|
|
|
{
|
2022-06-09 06:27:20 +00:00
|
|
|
return 'v${Application.current.meta.get('version')} (${GIT_BRANCH} : ${GIT_HASH})' + VERSION_SUFFIX;
|
2022-03-15 00:48:45 +00:00
|
|
|
}
|
|
|
|
#else
|
2022-03-13 18:36:03 +00:00
|
|
|
static function get_VERSION():String
|
|
|
|
{
|
|
|
|
return 'v${Application.current.meta.get('version')}' + VERSION_SUFFIX;
|
|
|
|
}
|
2022-03-15 00:48:45 +00:00
|
|
|
#end
|
2022-04-18 23:36:09 +00:00
|
|
|
|
|
|
|
public static final URL_KICKSTARTER:String = "https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game/";
|
2022-09-07 23:07:08 +00:00
|
|
|
public static final URL_ITCH:String = "https://ninja-muffin24.itch.io/funkin/purchase";
|
2022-03-11 06:30:01 +00:00
|
|
|
}
|