Revision | f67716a9e6c26c3ac4deba3eb270f933012c78c3 (tree) |
---|---|
Time | 2022-01-10 04:46:47 |
Author | sebastian_bugiu |
Commiter | sebastian_bugiu |
Changed font colour to green.
@@ -15,7 +15,7 @@ | ||
15 | 15 | toggle: { parent: default, checked: default-round-down } |
16 | 16 | }, |
17 | 17 | TextButtonStyle: { |
18 | - default: { parent: default, font: default-font, fontColor: white, disabledFontColor: gray }, | |
18 | + default: { parent: default, font: default-font, fontColor: green, disabledFontColor: gray }, | |
19 | 19 | toggle: { parent: default, checked: default-round-down, downFontColor: red } |
20 | 20 | }, |
21 | 21 | ScrollPaneStyle: { |
@@ -23,7 +23,7 @@ | ||
23 | 23 | }, |
24 | 24 | SelectBoxStyle: { |
25 | 25 | default: { |
26 | - font: default-font, fontColor: white, background: default-select, | |
26 | + font: default-font, fontColor: green, background: default-select, | |
27 | 27 | scrollStyle: default, |
28 | 28 | listStyle: { font: default-font, selection: default-select-selection } |
29 | 29 | } |
@@ -33,7 +33,7 @@ | ||
33 | 33 | default-horizontal: { handle: default-splitpane } |
34 | 34 | }, |
35 | 35 | WindowStyle: { |
36 | - default: { titleFont: default-font, background: default-window, titleFontColor: white }, | |
36 | + default: { titleFont: default-font, background: default-window, titleFontColor: green }, | |
37 | 37 | dialog: { parent: default, stageBackground: dialogDim } |
38 | 38 | }, |
39 | 39 | ProgressBarStyle: { |
@@ -45,13 +45,13 @@ | ||
45 | 45 | default-vertical: { parent: default-vertical } |
46 | 46 | }, |
47 | 47 | LabelStyle: { |
48 | - default: { font: default-font, fontColor: white } | |
48 | + default: { font: default-font, fontColor: green } | |
49 | 49 | }, |
50 | 50 | TextFieldStyle: { |
51 | - default: { selection: selection, background: textfield, font: default-font, fontColor: white, cursor: cursor } | |
51 | + default: { selection: selection, background: textfield, font: default-font, fontColor: green, cursor: cursor } | |
52 | 52 | }, |
53 | 53 | CheckBoxStyle: { |
54 | - default: { checkboxOn: check-on, checkboxOff: check-off, font: default-font, fontColor: white } | |
54 | + default: { checkboxOn: check-on, checkboxOff: check-off, font: default-font, fontColor: green } | |
55 | 55 | }, |
56 | 56 | ListStyle: { |
57 | 57 | default: { fontColorUnselected: white, selection: selection, fontColorSelected: white, font: default-font } |
@@ -64,7 +64,7 @@ | ||
64 | 64 | }, |
65 | 65 | TextTooltipStyle: { |
66 | 66 | default: { |
67 | - label: { font: default-font, fontColor: white }, | |
67 | + label: { font: default-font, fontColor: green }, | |
68 | 68 | background: default-pane, wrapWidth: 150 |
69 | 69 | } |
70 | 70 | }, |
@@ -2,6 +2,7 @@ | ||
2 | 2 | |
3 | 3 | import com.badlogic.gdx.Gdx; |
4 | 4 | import com.badlogic.gdx.ScreenAdapter; |
5 | +import com.badlogic.gdx.graphics.Color; | |
5 | 6 | import com.badlogic.gdx.graphics.GL20; |
6 | 7 | import com.badlogic.gdx.graphics.OrthographicCamera; |
7 | 8 | import com.badlogic.gdx.scenes.scene2d.Actor; |
@@ -38,8 +39,10 @@ | ||
38 | 39 | Skin skin = new Skin(Gdx.files.internal("uiskin.json")); |
39 | 40 | |
40 | 41 | //create buttons |
41 | - Label title = new Label("HotShot", skin); | |
42 | + Label title = new Label("Hotshot", skin); | |
42 | 43 | title.setAlignment(Align.center); |
44 | +// Label.LabelStyle titleStyle = new Label.LabelStyle(title.getStyle().font, Color.GREEN); | |
45 | +// title.setStyle(titleStyle); | |
43 | 46 | title.setFontScale(2.0f); |
44 | 47 | TextButton resumeGame = Utility.createTextButton("Resume Game", skin); |
45 | 48 | TextButton newGame = Utility.createTextButton("New Game", skin); |
@@ -90,7 +90,7 @@ | ||
90 | 90 | table.add(medium).fillX().uniformX(); |
91 | 91 | table.row().pad(10, 20, 0, 20); |
92 | 92 | table.add(hard).fillX().uniformX(); |
93 | - table.row().pad(10, 20, 0, 20); | |
93 | + table.row().pad(20, 20, 0, 20); | |
94 | 94 | table.add(backButton).fillX().uniformX(); |
95 | 95 | |
96 | 96 | final SpaceRocket game = SpaceRocket.getGame(); |
@@ -2,5 +2,5 @@ | ||
2 | 2 | app.id=com.headwayent.spacerocket |
3 | 3 | app.mainclass=com.headwayent.spacerocket.IOSLauncher |
4 | 4 | app.executable=IOSLauncher |
5 | -app.build=6 | |
5 | +app.build=7 | |
6 | 6 | app.name=Hotshot 2D |