mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-03 04:04:16 +00:00
35 lines
849 B
Haxe
35 lines
849 B
Haxe
package funkin.util;
|
|
|
|
import lime.app.Application;
|
|
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;
|
|
|
|
public static final COUNTDOWN_VOLUME = 0.6;
|
|
|
|
public static final VERSION_SUFFIX = ' PROTOTYPE';
|
|
public static var VERSION(get, null):String;
|
|
|
|
#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
|
|
static function get_VERSION():String
|
|
{
|
|
return 'v${Application.current.meta.get('version')}' + VERSION_SUFFIX;
|
|
}
|
|
#end
|
|
}
|