2022-03-11 01:30:01 -05:00
|
|
|
package funkin.util;
|
|
|
|
|
2022-03-13 14:36:03 -04:00
|
|
|
import lime.app.Application;
|
2022-03-11 01:30:01 -05:00
|
|
|
import flixel.util.FlxColor;
|
|
|
|
|
|
|
|
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 14:36:03 -04:00
|
|
|
|
|
|
|
public static final COUNTDOWN_VOLUME = 0.6;
|
|
|
|
|
|
|
|
public static final VERSION_SUFFIX = ' PROTOTYPE';
|
|
|
|
public static var VERSION(get, null):String;
|
|
|
|
|
2022-03-14 20:48:45 -04:00
|
|
|
#if debug
|
|
|
|
public static final GIT_HASH = funkin.util.macro.GitCommit.getGitCommitHash();
|
|
|
|
|
|
|
|
static function get_VERSION():String
|
|
|
|
{
|
|
|
|
return 'v${Application.current.meta.get('version')} (${GIT_HASH})' + VERSION_SUFFIX;
|
|
|
|
}
|
|
|
|
#else
|
2022-03-13 14:36:03 -04:00
|
|
|
static function get_VERSION():String
|
|
|
|
{
|
|
|
|
return 'v${Application.current.meta.get('version')}' + VERSION_SUFFIX;
|
|
|
|
}
|
2022-03-14 20:48:45 -04:00
|
|
|
#end
|
2022-03-11 01:30:01 -05:00
|
|
|
}
|