Subversion Repositories AndroidProjects

Rev

Rev 762 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
532 chris 1
Menu "MainMenu"
524 chris 2
{
3
	origin 0, 0;
725 chris 4
	fadeTime 0;
622 chris 5
 
1010 chris 6
	/*Image "background"
725 chris 7
	{
8
		position 0, 0;
9
		size 1500, 800;
10
		align left, top;
11
		texture "data/textures/landscape.png";
12
		color 1, 1, 1, 1;
13
		filter linear, linear;
1010 chris 14
	}*/
725 chris 15
 
622 chris 16
	Label "title"
17
	{
762 chris 18
		position 240, 50;
622 chris 19
		size 200, 40;
20
		align center, center;
21
		font "scoring";
22
		caption "SELECT GAME MODE:";
23
		scale 3;
24
	}
25
 
524 chris 26
 
27
	SegmentButton "Endless"
28
	{
762 chris 29
		position 240, 130;
30
		size 400, 100;
524 chris 31
		caption "Endless";
32
		align center, center;
33
		texture "data/textures/simplebutton.png";
34
		pushTexture "data/textures/simplebutton_pushed.png";
35
		scale 3;
36
		font "scoring";
37
		color 1, 1, 1, 1;
38
		pushColor 1, 1, 1, 1;
39
		pushOffset 0, 2;
532 chris 40
		onTouch "submenu_endless";
530 chris 41
 
42
		pushSound "menu_push";
524 chris 43
	}
44
 
45
	SegmentButton "Puzzle"
46
	{
762 chris 47
		position 240, 230;
48
		size 400, 100;
524 chris 49
		caption "Puzzle";
50
		align center, center;
51
		texture "data/textures/simplebutton.png";
52
		pushTexture "data/textures/simplebutton_pushed.png";
53
		scale 3;
54
		font "scoring";
55
		color 1, 1, 1, 1;
56
		pushColor 1, 1, 1, 1;
57
		pushOffset 0, 2;
622 chris 58
		onTouch "submenu_puzzle";
530 chris 59
 
60
		pushSound "menu_push";
524 chris 61
	}
62
 
63
	SegmentButton "Time Trial"
64
	{
762 chris 65
		position 240, 330;
66
		size 400, 100;
524 chris 67
		caption "Time Trial";
68
		align center, center;
69
		texture "data/textures/simplebutton.png";
70
		pushTexture "data/textures/simplebutton_pushed.png";
71
		scale 3;
72
		font "scoring";
73
		color 1, 1, 1, 1;
74
		pushColor 1, 1, 1, 1;
75
		pushOffset 0, 2;
622 chris 76
		onTouch "submenu_timetrial";
530 chris 77
 
78
		pushSound "menu_push";
524 chris 79
	}
80
 
81
	SegmentButton "Options"
82
	{
762 chris 83
		position 240, 480;
528 chris 84
		size 400, 80;
524 chris 85
		caption "Options";
86
		align center, center;
87
		texture "data/textures/simplebutton.png";
88
		pushTexture "data/textures/simplebutton_pushed.png";
89
		scale 3;
90
		font "scoring";
91
		color 1, 1, 1, 1;
92
		pushColor 1, 1, 1, 1;
93
		pushOffset 0, 2;
94
		onTouch "showOptions";
530 chris 95
 
96
		pushSound "menu_push";
524 chris 97
	}
98
 
525 chris 99
	SegmentButton "HowToPlay"
524 chris 100
	{
762 chris 101
		position 240, 560;
528 chris 102
		size 400, 80;
524 chris 103
		caption "How to play";
104
		align center, center;
105
		texture "data/textures/simplebutton.png";
106
		pushTexture "data/textures/simplebutton_pushed.png";
107
		scale 3;
108
		font "scoring";
109
		color 1, 1, 1, 1;
110
		pushColor 1, 1, 1, 1;
111
		pushOffset 0, 2;
732 chris 112
		onTouch "switchState SimpleTutorialState";
530 chris 113
 
114
		pushSound "menu_push";
524 chris 115
	}
528 chris 116
 
762 chris 117
	SegmentButton "Credits"
118
	{
119
		position 240, 640;
120
		size 400, 80;
121
		caption "Credits";
122
		align center, center;
123
		texture "data/textures/simplebutton.png";
124
		pushTexture "data/textures/simplebutton_pushed.png";
125
		scale 3;
126
		font "scoring";
127
		color 1, 1, 1, 1;
128
		pushColor 1, 1, 1, 1;
129
		pushOffset 0, 2;
130
		onTouch "switchState CreditsState";
131
 
132
		pushSound "menu_push";
133
	}
134
 
528 chris 135
	SegmentButton "ToTitle"
136
	{
137
		position 240, 720;
138
		size 400, 80;
139
		caption "Back to Title";
140
		align center, center;
141
		texture "data/textures/simplebutton.png";
142
		pushTexture "data/textures/simplebutton_pushed.png";
143
		scale 3;
144
		font "scoring";
145
		color 1, 1, 1, 1;
146
		pushColor 1, 1, 1, 1;
147
		pushOffset 0, 2;
148
		onTouch "switchState TitleState";
530 chris 149
 
531 chris 150
 
530 chris 151
		pushSound "menu_push";
528 chris 152
	}
524 chris 153
 
532 chris 154
 
524 chris 155
}