[work] update worklist
This commit is contained in:
26
WORK.md
26
WORK.md
@@ -1,23 +1,17 @@
|
|||||||
* bonuses
|
* death game bonus
|
||||||
* death game bonuses
|
|
||||||
* tanks and bullets speed balancing
|
* tanks and bullets speed balancing
|
||||||
* game series
|
|
||||||
* clean player state on restart in classic type
|
* clean player state on restart in classic type
|
||||||
* network series
|
* network series
|
||||||
* map packs
|
* map pack version (or hash)
|
||||||
* import in game
|
* bot upgrade
|
||||||
* save imported in local storage
|
|
||||||
* database
|
|
||||||
* improve bots
|
|
||||||
* A star
|
|
||||||
* game config validate
|
* game config validate
|
||||||
* additional weapon
|
|
||||||
* mine z-order
|
* mine z-order
|
||||||
* spawn mine on tank back
|
* mine spawn position
|
||||||
* check mine exist when spawn mine
|
* mine spawn on other mine
|
||||||
* double rocket
|
* double rocket
|
||||||
* display count
|
* display ammo count (panel)
|
||||||
|
* display ammo count (screen gamepad)
|
||||||
* bonus ammo
|
* bonus ammo
|
||||||
* screen gamepad (button enabled, count label)
|
* game panel rework
|
||||||
* ui:
|
* pause
|
||||||
* game frame layouts
|
* game state: config, map, entities, players
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ const editor = new Project(
|
|||||||
],
|
],
|
||||||
meta: {
|
meta: {
|
||||||
filename: 'editor',
|
filename: 'editor',
|
||||||
|
pack: 'ru.m.tankz.editor',
|
||||||
width: 1024,
|
width: 1024,
|
||||||
height: 768,
|
height: 768,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,12 +7,14 @@ class Const {
|
|||||||
public static var FPS:Int;
|
public static var FPS:Int;
|
||||||
public static var BUILD:String;
|
public static var BUILD:String;
|
||||||
public static var VERSION:String;
|
public static var VERSION:String;
|
||||||
|
public static var NAME:String;
|
||||||
public static var DEBUG:Bool;
|
public static var DEBUG:Bool;
|
||||||
|
|
||||||
public static function init():Void {
|
public static function init():Void {
|
||||||
FPS = Std.parseInt(Lib.current.stage.application.meta.get("fps"));
|
FPS = Std.parseInt(Lib.current.stage.application.meta.get("fps"));
|
||||||
BUILD = CompilationOption.get("build");
|
BUILD = CompilationOption.get("build");
|
||||||
VERSION = Lib.current.stage.application.meta.get("version");
|
VERSION = Lib.current.stage.application.meta.get("version");
|
||||||
|
NAME = Lib.current.stage.application.meta.get("name");
|
||||||
DEBUG = Capabilities.isDebugger;
|
DEBUG = Capabilities.isDebugger;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import ru.m.tankz.sound.SoundManager;
|
|||||||
|
|
||||||
public function init():Void {
|
public function init():Void {
|
||||||
resources.text.put('version', '${Const.VERSION}');
|
resources.text.put('version', '${Const.VERSION}');
|
||||||
|
resources.text.put('name', '${Const.NAME}');
|
||||||
switcher = switcherView;
|
switcher = switcherView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ views:
|
|||||||
layout.hAlign: center
|
layout.hAlign: center
|
||||||
views:
|
views:
|
||||||
- $type: haxework.view.form.LabelView
|
- $type: haxework.view.form.LabelView
|
||||||
text: Tank'z
|
text: $r:text:name
|
||||||
style: font
|
style: font
|
||||||
font.size: 100
|
font.size: 100
|
||||||
geometry.margin.bottom: 30
|
geometry.margin.bottom: 30
|
||||||
|
|||||||
@@ -63,19 +63,19 @@ abstract PlayerId(Array<Dynamic>) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract PackId(Array<Dynamic>) {
|
abstract PackId({type:GameType, name:String}) {
|
||||||
public static inline var DEFAULT = "standard";
|
public static inline var DEFAULT = "standard";
|
||||||
|
|
||||||
public var type(get, never):GameType;
|
public var type(get, never):GameType;
|
||||||
public var name(get, never):String;
|
public var name(get, never):String;
|
||||||
|
|
||||||
public function new(type:GameType, name:String = DEFAULT) {
|
public function new(type:GameType, name:String = DEFAULT) {
|
||||||
this = [type, name];
|
this = {type: type, name: name};
|
||||||
}
|
}
|
||||||
|
|
||||||
private inline function get_type():GameType return this[0];
|
private inline function get_type():GameType return this.type;
|
||||||
|
|
||||||
private inline function get_name():String return this[1];
|
private inline function get_name():String return this.name;
|
||||||
|
|
||||||
@:from static public inline function fromArray(value:Array<Dynamic>):PackId {
|
@:from static public inline function fromArray(value:Array<Dynamic>):PackId {
|
||||||
return new PackId(value[0], value[1]);
|
return new PackId(value[0], value[1]);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user