Files
tankz/src/client/haxe/ru/m/tankz/view/StartFrame.yaml

37 lines
1.0 KiB
YAML

---
views:
- $type: haxework.view.VGroupView
skinId: container
layout.margin: 10
views:
- $type: haxework.view.LabelView
text: Tank'z
skinId: font
fontSize: 100
geometry.margin.bottom: 30
- $type: haxework.view.ButtonView
skinId: button
+onPress: $code:startGame('classic')
text: Classic
- $type: haxework.view.ButtonView
skinId: button
+onPress: $code:startGame('dota')
text: DotA
- $type: haxework.view.ButtonView
skinId: button
+onPress: $code:startGame('death')
text: DeathMatch
- $type: haxework.view.HGroupView
skinId: panel
views:
- id: settings
$type: haxework.view.ButtonView
skinId: button.settings
+onPress: $code:swicther.change('settings')
- $type: haxework.view.SpriteView
geometry.size.width: 100%
- $type: haxework.view.LabelView
geometry.padding: [20, 5]
skinId: text.box
text: $r:text:version