update
This commit is contained in:
parent
bf13a515ea
commit
522cf306f4
Binary file not shown.
|
@ -22,7 +22,7 @@ namespace Catch_the_button {
|
||||||
static Form frm;
|
static Form frm;
|
||||||
static Label eta;
|
static Label eta;
|
||||||
static Panel[] hp_indicators = new Panel[5];
|
static Panel[] hp_indicators = new Panel[5];
|
||||||
const int delay = 2000;
|
static int delay = 2000;
|
||||||
static internal void Init(Label opts, Label ohp, Panel omenu, Label obutton,
|
static internal void Init(Label opts, Label ohp, Panel omenu, Label obutton,
|
||||||
Form oform, Label oeta) {
|
Form oform, Label oeta) {
|
||||||
pts = opts;
|
pts = opts;
|
||||||
|
@ -64,7 +64,7 @@ namespace Catch_the_button {
|
||||||
Hit(new System.Timers.Timer());
|
Hit(new System.Timers.Timer());
|
||||||
}
|
}
|
||||||
static private void Updater_Tick(object sender, EventArgs e) {
|
static private void Updater_Tick(object sender, EventArgs e) {
|
||||||
eta.Text = $"New Position in: {(2000 - stpwch.ElapsedMilliseconds)}ms";
|
eta.Text = $"New Position in: {(delay - stpwch.ElapsedMilliseconds)}ms/{delay}ms";
|
||||||
}
|
}
|
||||||
static private void formResetter_Tick(object sender, EventArgs e) {
|
static private void formResetter_Tick(object sender, EventArgs e) {
|
||||||
frm.BackColor = Color.FromArgb(240, 240, 240);
|
frm.BackColor = Color.FromArgb(240, 240, 240);
|
||||||
|
@ -72,6 +72,7 @@ namespace Catch_the_button {
|
||||||
}
|
}
|
||||||
static internal void Start() { //pressed button start
|
static internal void Start() { //pressed button start
|
||||||
points = miss = 0;
|
points = miss = 0;
|
||||||
|
delay = 2000;
|
||||||
btn.Visible = btn.Enabled = true;
|
btn.Visible = btn.Enabled = true;
|
||||||
menu.Visible = menu.Enabled = false;
|
menu.Visible = menu.Enabled = false;
|
||||||
btn.Size = new Size(50, 50);
|
btn.Size = new Size(50, 50);
|
||||||
|
@ -95,9 +96,15 @@ namespace Catch_the_button {
|
||||||
}
|
}
|
||||||
if (stpwch.ElapsedMilliseconds < 500 && !(obj is Form || obj is System.Timers.Timer)) {
|
if (stpwch.ElapsedMilliseconds < 500 && !(obj is Form || obj is System.Timers.Timer)) {
|
||||||
points += 2;
|
points += 2;
|
||||||
|
if (points % 20 == 0) {
|
||||||
|
delay -= 200;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (stpwch.ElapsedMilliseconds >= 500 && !(obj is Form || obj is System.Timers.Timer)) {
|
else if (stpwch.ElapsedMilliseconds >= 500 && !(obj is Form || obj is System.Timers.Timer)) {
|
||||||
points++;
|
points++;
|
||||||
|
if (points % 20 == 0) {
|
||||||
|
delay -= 200;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (obj is System.Timers.Timer || obj is Form) {
|
else if (obj is System.Timers.Timer || obj is Form) {
|
||||||
points--;
|
points--;
|
||||||
|
@ -125,6 +132,7 @@ namespace Catch_the_button {
|
||||||
Leaderboard.Output();
|
Leaderboard.Output();
|
||||||
|
|
||||||
points = miss = 0;
|
points = miss = 0;
|
||||||
|
delay = 2000;
|
||||||
UpdateText();
|
UpdateText();
|
||||||
btn.Visible = btn.Enabled = false;
|
btn.Visible = btn.Enabled = false;
|
||||||
menu.Visible = menu.Enabled = true;
|
menu.Visible = menu.Enabled = true;
|
||||||
|
@ -142,6 +150,7 @@ namespace Catch_the_button {
|
||||||
|
|
||||||
static private void resetTimer() {
|
static private void resetTimer() {
|
||||||
timer.Stop();
|
timer.Stop();
|
||||||
|
timer.Interval = delay;
|
||||||
timer.Start();
|
timer.Start();
|
||||||
|
|
||||||
etaUpdater.Stop();
|
etaUpdater.Stop();
|
||||||
|
|
46
Catch the button/LeaderDialog.Designer.cs
generated
46
Catch the button/LeaderDialog.Designer.cs
generated
|
@ -35,48 +35,48 @@ namespace Catch_the_button {
|
||||||
// score
|
// score
|
||||||
//
|
//
|
||||||
this.score.AutoSize = true;
|
this.score.AutoSize = true;
|
||||||
this.score.Font = new System.Drawing.Font("SansSerif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
|
this.score.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.score.Location = new System.Drawing.Point(18, 110);
|
this.score.Location = new System.Drawing.Point(13, 124);
|
||||||
this.score.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
this.score.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.score.Name = "score";
|
this.score.Name = "score";
|
||||||
this.score.Size = new System.Drawing.Size(193, 28);
|
this.score.Size = new System.Drawing.Size(238, 36);
|
||||||
this.score.TabIndex = 0;
|
this.score.TabIndex = 0;
|
||||||
this.score.Text = "Your score is: ...";
|
this.score.Text = "Your score is: ...";
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(19, 168);
|
this.label1.Location = new System.Drawing.Point(13, 189);
|
||||||
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(216, 22);
|
this.label1.Size = new System.Drawing.Size(267, 29);
|
||||||
this.label1.TabIndex = 1;
|
this.label1.TabIndex = 1;
|
||||||
this.label1.Text = "Please enter your name";
|
this.label1.Text = "Please enter your name";
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(16, 204);
|
this.label2.Location = new System.Drawing.Point(13, 229);
|
||||||
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(306, 22);
|
this.label2.Size = new System.Drawing.Size(377, 29);
|
||||||
this.label2.TabIndex = 2;
|
this.label2.TabIndex = 2;
|
||||||
this.label2.Text = "(leave blank to not save the score)";
|
this.label2.Text = "(leave blank to not save the score)";
|
||||||
//
|
//
|
||||||
// name
|
// name
|
||||||
//
|
//
|
||||||
this.name.Location = new System.Drawing.Point(21, 252);
|
this.name.Location = new System.Drawing.Point(13, 280);
|
||||||
this.name.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
this.name.Margin = new System.Windows.Forms.Padding(4, 7, 4, 7);
|
||||||
this.name.Name = "name";
|
this.name.Name = "name";
|
||||||
this.name.Size = new System.Drawing.Size(350, 30);
|
this.name.Size = new System.Drawing.Size(373, 34);
|
||||||
this.name.TabIndex = 3;
|
this.name.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// submit
|
// submit
|
||||||
//
|
//
|
||||||
this.submit.Location = new System.Drawing.Point(236, 294);
|
this.submit.Location = new System.Drawing.Point(292, 328);
|
||||||
this.submit.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
this.submit.Margin = new System.Windows.Forms.Padding(4, 7, 4, 7);
|
||||||
this.submit.Name = "submit";
|
this.submit.Name = "submit";
|
||||||
this.submit.Size = new System.Drawing.Size(135, 55);
|
this.submit.Size = new System.Drawing.Size(94, 41);
|
||||||
this.submit.TabIndex = 4;
|
this.submit.TabIndex = 4;
|
||||||
this.submit.Text = "Submit";
|
this.submit.Text = "Submit";
|
||||||
this.submit.UseVisualStyleBackColor = true;
|
this.submit.UseVisualStyleBackColor = true;
|
||||||
|
@ -86,28 +86,28 @@ namespace Catch_the_button {
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label3.Location = new System.Drawing.Point(57, 24);
|
this.label3.Location = new System.Drawing.Point(34, 27);
|
||||||
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(272, 55);
|
this.label3.Size = new System.Drawing.Size(339, 69);
|
||||||
this.label3.TabIndex = 5;
|
this.label3.TabIndex = 5;
|
||||||
this.label3.Text = "Game Over";
|
this.label3.Text = "Game Over";
|
||||||
//
|
//
|
||||||
// LeaderDialog
|
// LeaderDialog
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 22F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(14F, 29F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(387, 372);
|
this.ClientSize = new System.Drawing.Size(407, 415);
|
||||||
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label3);
|
||||||
this.Controls.Add(this.submit);
|
this.Controls.Add(this.submit);
|
||||||
this.Controls.Add(this.name);
|
this.Controls.Add(this.name);
|
||||||
this.Controls.Add(this.label2);
|
this.Controls.Add(this.label2);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Controls.Add(this.score);
|
this.Controls.Add(this.score);
|
||||||
this.Font = new System.Drawing.Font("SansSerif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
|
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
this.Margin = new System.Windows.Forms.Padding(4, 7, 4, 7);
|
||||||
this.Name = "LeaderDialog";
|
this.Name = "LeaderDialog";
|
||||||
this.Text = "Leaderboards";
|
this.Text = "Leaderboards";
|
||||||
this.Load += new System.EventHandler(this.Form2_Load);
|
this.Load += new System.EventHandler(this.Form2_Load);
|
||||||
|
|
364
Catch the button/Main.Designer.cs
generated
364
Catch the button/Main.Designer.cs
generated
|
@ -25,29 +25,29 @@ namespace Catch_the_button {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent() {
|
private void InitializeComponent() {
|
||||||
this.Menu = new System.Windows.Forms.Panel();
|
this.Menu = new System.Windows.Forms.Panel();
|
||||||
|
this.button = new System.Windows.Forms.Label();
|
||||||
|
this.stats = new System.Windows.Forms.Panel();
|
||||||
|
this.timeleft = new System.Windows.Forms.Label();
|
||||||
|
this.hp = new System.Windows.Forms.Label();
|
||||||
|
this.ptsCount = new System.Windows.Forms.Label();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.ldrboard = new System.Windows.Forms.RichTextBox();
|
||||||
|
this.highscore = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.title = new System.Windows.Forms.Label();
|
this.title = new System.Windows.Forms.Label();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.highscore = new System.Windows.Forms.Label();
|
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
|
||||||
this.ldrboard = new System.Windows.Forms.RichTextBox();
|
|
||||||
this.quit = new System.Windows.Forms.Button();
|
this.quit = new System.Windows.Forms.Button();
|
||||||
this.start = new System.Windows.Forms.Button();
|
this.start = new System.Windows.Forms.Button();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
|
||||||
this.ptsCount = new System.Windows.Forms.Label();
|
|
||||||
this.hp = new System.Windows.Forms.Label();
|
|
||||||
this.button = new System.Windows.Forms.Label();
|
|
||||||
this.timeleft = new System.Windows.Forms.Label();
|
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
||||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
|
||||||
this.stats = new System.Windows.Forms.Panel();
|
|
||||||
this.Menu.SuspendLayout();
|
this.Menu.SuspendLayout();
|
||||||
|
this.stats.SuspendLayout();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.groupBox2.SuspendLayout();
|
this.groupBox2.SuspendLayout();
|
||||||
this.stats.SuspendLayout();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// Menu
|
// Menu
|
||||||
|
@ -72,75 +72,112 @@ namespace Catch_the_button {
|
||||||
this.Menu.Size = new System.Drawing.Size(961, 521);
|
this.Menu.Size = new System.Drawing.Size(961, 521);
|
||||||
this.Menu.TabIndex = 0;
|
this.Menu.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// title
|
// button
|
||||||
//
|
//
|
||||||
this.title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.button.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
this.button.BackColor = System.Drawing.Color.LightGray;
|
||||||
this.title.AutoSize = true;
|
this.button.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
this.title.BackColor = System.Drawing.Color.Transparent;
|
this.button.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.title.Font = new System.Drawing.Font("Consolas", 28.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.button.Enabled = false;
|
||||||
this.title.Location = new System.Drawing.Point(302, 98);
|
this.button.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
|
||||||
this.title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.button.Location = new System.Drawing.Point(443, 241);
|
||||||
this.title.Name = "title";
|
this.button.Name = "button";
|
||||||
this.title.Size = new System.Drawing.Size(356, 45);
|
this.button.Size = new System.Drawing.Size(50, 50);
|
||||||
this.title.TabIndex = 0;
|
this.button.TabIndex = 6;
|
||||||
this.title.Text = "Catch the Button";
|
this.button.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
this.title.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.button.Visible = false;
|
||||||
|
this.button.Click += new System.EventHandler(this.button_Click);
|
||||||
|
this.button.MouseEnter += new System.EventHandler(this.button_MouseEnter);
|
||||||
|
this.button.MouseLeave += new System.EventHandler(this.button_MouseLeave);
|
||||||
//
|
//
|
||||||
// label6
|
// stats
|
||||||
//
|
//
|
||||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.stats.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
this.stats.Controls.Add(this.timeleft);
|
||||||
this.label6.AutoSize = true;
|
this.stats.Controls.Add(this.hp);
|
||||||
this.label6.Font = new System.Drawing.Font("Consolas", 127.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.stats.Controls.Add(this.ptsCount);
|
||||||
this.label6.Location = new System.Drawing.Point(388, 16);
|
this.stats.Location = new System.Drawing.Point(3, 3);
|
||||||
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.stats.Name = "stats";
|
||||||
this.label6.Name = "label6";
|
this.stats.Size = new System.Drawing.Size(955, 30);
|
||||||
this.label6.Size = new System.Drawing.Size(178, 200);
|
this.stats.TabIndex = 1002;
|
||||||
this.label6.TabIndex = 11;
|
|
||||||
this.label6.Text = "2";
|
|
||||||
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
||||||
//
|
//
|
||||||
// label5
|
// timeleft
|
||||||
//
|
//
|
||||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.timeleft.AutoSize = true;
|
||||||
this.label5.AutoSize = true;
|
this.timeleft.Location = new System.Drawing.Point(-1, 5);
|
||||||
this.label5.Location = new System.Drawing.Point(15, 396);
|
this.timeleft.Name = "timeleft";
|
||||||
this.label5.Name = "label5";
|
this.timeleft.Size = new System.Drawing.Size(230, 23);
|
||||||
this.label5.Size = new System.Drawing.Size(216, 19);
|
this.timeleft.TabIndex = 7;
|
||||||
this.label5.TabIndex = 10;
|
this.timeleft.Text = "New Position in: ...";
|
||||||
this.label5.Text = "ESC - quit to main menu";
|
|
||||||
//
|
//
|
||||||
// label4
|
// hp
|
||||||
//
|
//
|
||||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.hp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.label4.AutoSize = true;
|
this.hp.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(12, 367);
|
this.hp.Location = new System.Drawing.Point(783, 6);
|
||||||
this.label4.Name = "label4";
|
this.hp.Name = "hp";
|
||||||
this.label4.Size = new System.Drawing.Size(90, 19);
|
this.hp.Size = new System.Drawing.Size(65, 23);
|
||||||
this.label4.TabIndex = 9;
|
this.hp.TabIndex = 1001;
|
||||||
this.label4.Text = "Controls:";
|
this.hp.Text = "HP: 3";
|
||||||
//
|
//
|
||||||
// highscore
|
// ptsCount
|
||||||
//
|
//
|
||||||
this.highscore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.ptsCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.highscore.AutoSize = true;
|
this.ptsCount.AutoSize = true;
|
||||||
this.highscore.Location = new System.Drawing.Point(6, 22);
|
this.ptsCount.Location = new System.Drawing.Point(843, 6);
|
||||||
this.highscore.Name = "highscore";
|
this.ptsCount.Name = "ptsCount";
|
||||||
this.highscore.Size = new System.Drawing.Size(81, 19);
|
this.ptsCount.Size = new System.Drawing.Size(109, 23);
|
||||||
this.highscore.TabIndex = 8;
|
this.ptsCount.TabIndex = 0;
|
||||||
this.highscore.Text = "No Entry";
|
this.ptsCount.Text = "Points: 0";
|
||||||
this.highscore.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
//
|
//
|
||||||
// label3
|
// label7
|
||||||
//
|
//
|
||||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.label7.AutoSize = true;
|
||||||
this.label3.AutoSize = true;
|
this.label7.Location = new System.Drawing.Point(538, 143);
|
||||||
this.label3.Location = new System.Drawing.Point(125, -2);
|
this.label7.Name = "label7";
|
||||||
this.label3.Name = "label3";
|
this.label7.Size = new System.Drawing.Size(131, 23);
|
||||||
this.label3.Size = new System.Drawing.Size(90, 19);
|
this.label7.TabIndex = 16;
|
||||||
this.label3.TabIndex = 7;
|
this.label7.Text = "budget Osu!";
|
||||||
this.label3.Text = "Highscore";
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(47, 209);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(197, 23);
|
||||||
|
this.label2.TabIndex = 15;
|
||||||
|
this.label2.Text = "Click the buttons";
|
||||||
|
//
|
||||||
|
// groupBox1
|
||||||
|
//
|
||||||
|
this.groupBox1.Controls.Add(this.groupBox2);
|
||||||
|
this.groupBox1.Controls.Add(this.highscore);
|
||||||
|
this.groupBox1.Controls.Add(this.label3);
|
||||||
|
this.groupBox1.Location = new System.Drawing.Point(743, 120);
|
||||||
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
this.groupBox1.Size = new System.Drawing.Size(215, 398);
|
||||||
|
this.groupBox1.TabIndex = 12;
|
||||||
|
this.groupBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// groupBox2
|
||||||
|
//
|
||||||
|
this.groupBox2.Controls.Add(this.label1);
|
||||||
|
this.groupBox2.Controls.Add(this.ldrboard);
|
||||||
|
this.groupBox2.Location = new System.Drawing.Point(0, 65);
|
||||||
|
this.groupBox2.Name = "groupBox2";
|
||||||
|
this.groupBox2.Size = new System.Drawing.Size(215, 333);
|
||||||
|
this.groupBox2.TabIndex = 13;
|
||||||
|
this.groupBox2.TabStop = false;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(108, -1);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(131, 23);
|
||||||
|
this.label1.TabIndex = 2;
|
||||||
|
this.label1.Text = "Leaderboard";
|
||||||
//
|
//
|
||||||
// ldrboard
|
// ldrboard
|
||||||
//
|
//
|
||||||
|
@ -155,6 +192,76 @@ namespace Catch_the_button {
|
||||||
this.ldrboard.TabStop = false;
|
this.ldrboard.TabStop = false;
|
||||||
this.ldrboard.Text = "...";
|
this.ldrboard.Text = "...";
|
||||||
//
|
//
|
||||||
|
// highscore
|
||||||
|
//
|
||||||
|
this.highscore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.highscore.AutoSize = true;
|
||||||
|
this.highscore.Location = new System.Drawing.Point(6, 22);
|
||||||
|
this.highscore.Name = "highscore";
|
||||||
|
this.highscore.Size = new System.Drawing.Size(98, 23);
|
||||||
|
this.highscore.TabIndex = 8;
|
||||||
|
this.highscore.Text = "No Entry";
|
||||||
|
this.highscore.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(125, -2);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(109, 23);
|
||||||
|
this.label3.TabIndex = 7;
|
||||||
|
this.label3.Text = "Highscore";
|
||||||
|
//
|
||||||
|
// title
|
||||||
|
//
|
||||||
|
this.title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.title.AutoSize = true;
|
||||||
|
this.title.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.title.Font = new System.Drawing.Font("Consolas", 28.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.title.Location = new System.Drawing.Point(302, 98);
|
||||||
|
this.title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.title.Name = "title";
|
||||||
|
this.title.Size = new System.Drawing.Size(440, 56);
|
||||||
|
this.title.TabIndex = 0;
|
||||||
|
this.title.Text = "Catch the Button";
|
||||||
|
this.title.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.Font = new System.Drawing.Font("Consolas", 127.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label6.Location = new System.Drawing.Point(388, 16);
|
||||||
|
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(223, 251);
|
||||||
|
this.label6.TabIndex = 11;
|
||||||
|
this.label6.Text = "2";
|
||||||
|
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(12, 403);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(263, 23);
|
||||||
|
this.label5.TabIndex = 10;
|
||||||
|
this.label5.Text = "ESC - quit to main menu";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(12, 367);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(109, 23);
|
||||||
|
this.label4.TabIndex = 9;
|
||||||
|
this.label4.Text = "Controls:";
|
||||||
|
//
|
||||||
// quit
|
// quit
|
||||||
//
|
//
|
||||||
this.quit.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
this.quit.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
@ -179,116 +286,9 @@ namespace Catch_the_button {
|
||||||
this.start.UseVisualStyleBackColor = true;
|
this.start.UseVisualStyleBackColor = true;
|
||||||
this.start.Click += new System.EventHandler(this.start_Click);
|
this.start.Click += new System.EventHandler(this.start_Click);
|
||||||
//
|
//
|
||||||
// label1
|
|
||||||
//
|
|
||||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.label1.AutoSize = true;
|
|
||||||
this.label1.Location = new System.Drawing.Point(108, -1);
|
|
||||||
this.label1.Name = "label1";
|
|
||||||
this.label1.Size = new System.Drawing.Size(108, 19);
|
|
||||||
this.label1.TabIndex = 2;
|
|
||||||
this.label1.Text = "Leaderboard";
|
|
||||||
//
|
|
||||||
// ptsCount
|
|
||||||
//
|
|
||||||
this.ptsCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.ptsCount.AutoSize = true;
|
|
||||||
this.ptsCount.Location = new System.Drawing.Point(843, 6);
|
|
||||||
this.ptsCount.Name = "ptsCount";
|
|
||||||
this.ptsCount.Size = new System.Drawing.Size(90, 19);
|
|
||||||
this.ptsCount.TabIndex = 0;
|
|
||||||
this.ptsCount.Text = "Points: 0";
|
|
||||||
//
|
|
||||||
// hp
|
|
||||||
//
|
|
||||||
this.hp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.hp.AutoSize = true;
|
|
||||||
this.hp.Location = new System.Drawing.Point(783, 6);
|
|
||||||
this.hp.Name = "hp";
|
|
||||||
this.hp.Size = new System.Drawing.Size(54, 19);
|
|
||||||
this.hp.TabIndex = 1001;
|
|
||||||
this.hp.Text = "HP: 3";
|
|
||||||
//
|
|
||||||
// button
|
|
||||||
//
|
|
||||||
this.button.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
||||||
this.button.BackColor = System.Drawing.Color.LightGray;
|
|
||||||
this.button.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
||||||
this.button.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
||||||
this.button.Enabled = false;
|
|
||||||
this.button.Font = new System.Drawing.Font("SansSerif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
|
|
||||||
this.button.Location = new System.Drawing.Point(443, 241);
|
|
||||||
this.button.Name = "button";
|
|
||||||
this.button.Size = new System.Drawing.Size(50, 50);
|
|
||||||
this.button.TabIndex = 6;
|
|
||||||
this.button.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
||||||
this.button.Visible = false;
|
|
||||||
this.button.Click += new System.EventHandler(this.button_Click);
|
|
||||||
this.button.MouseEnter += new System.EventHandler(this.button_MouseEnter);
|
|
||||||
this.button.MouseLeave += new System.EventHandler(this.button_MouseLeave);
|
|
||||||
//
|
|
||||||
// timeleft
|
|
||||||
//
|
|
||||||
this.timeleft.AutoSize = true;
|
|
||||||
this.timeleft.Location = new System.Drawing.Point(-1, 5);
|
|
||||||
this.timeleft.Name = "timeleft";
|
|
||||||
this.timeleft.Size = new System.Drawing.Size(189, 19);
|
|
||||||
this.timeleft.TabIndex = 7;
|
|
||||||
this.timeleft.Text = "New Position in: ...";
|
|
||||||
//
|
|
||||||
// groupBox1
|
|
||||||
//
|
|
||||||
this.groupBox1.Controls.Add(this.groupBox2);
|
|
||||||
this.groupBox1.Controls.Add(this.highscore);
|
|
||||||
this.groupBox1.Controls.Add(this.label3);
|
|
||||||
this.groupBox1.Location = new System.Drawing.Point(743, 120);
|
|
||||||
this.groupBox1.Name = "groupBox1";
|
|
||||||
this.groupBox1.Size = new System.Drawing.Size(215, 398);
|
|
||||||
this.groupBox1.TabIndex = 12;
|
|
||||||
this.groupBox1.TabStop = false;
|
|
||||||
//
|
|
||||||
// groupBox2
|
|
||||||
//
|
|
||||||
this.groupBox2.Controls.Add(this.label1);
|
|
||||||
this.groupBox2.Controls.Add(this.ldrboard);
|
|
||||||
this.groupBox2.Location = new System.Drawing.Point(0, 65);
|
|
||||||
this.groupBox2.Name = "groupBox2";
|
|
||||||
this.groupBox2.Size = new System.Drawing.Size(215, 333);
|
|
||||||
this.groupBox2.TabIndex = 13;
|
|
||||||
this.groupBox2.TabStop = false;
|
|
||||||
//
|
|
||||||
// label2
|
|
||||||
//
|
|
||||||
this.label2.AutoSize = true;
|
|
||||||
this.label2.Location = new System.Drawing.Point(47, 209);
|
|
||||||
this.label2.Name = "label2";
|
|
||||||
this.label2.Size = new System.Drawing.Size(162, 19);
|
|
||||||
this.label2.TabIndex = 15;
|
|
||||||
this.label2.Text = "Click the buttons";
|
|
||||||
//
|
|
||||||
// label7
|
|
||||||
//
|
|
||||||
this.label7.AutoSize = true;
|
|
||||||
this.label7.Location = new System.Drawing.Point(538, 143);
|
|
||||||
this.label7.Name = "label7";
|
|
||||||
this.label7.Size = new System.Drawing.Size(108, 19);
|
|
||||||
this.label7.TabIndex = 16;
|
|
||||||
this.label7.Text = "budget Osu!";
|
|
||||||
//
|
|
||||||
// stats
|
|
||||||
//
|
|
||||||
this.stats.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
||||||
this.stats.Controls.Add(this.timeleft);
|
|
||||||
this.stats.Controls.Add(this.hp);
|
|
||||||
this.stats.Controls.Add(this.ptsCount);
|
|
||||||
this.stats.Location = new System.Drawing.Point(3, 3);
|
|
||||||
this.stats.Name = "stats";
|
|
||||||
this.stats.Size = new System.Drawing.Size(955, 30);
|
|
||||||
this.stats.TabIndex = 1002;
|
|
||||||
//
|
|
||||||
// Main
|
// Main
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 23F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(963, 520);
|
this.ClientSize = new System.Drawing.Size(963, 520);
|
||||||
this.Controls.Add(this.Menu);
|
this.Controls.Add(this.Menu);
|
||||||
|
@ -303,12 +303,12 @@ namespace Catch_the_button {
|
||||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Main_KeyDown);
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Main_KeyDown);
|
||||||
this.Menu.ResumeLayout(false);
|
this.Menu.ResumeLayout(false);
|
||||||
this.Menu.PerformLayout();
|
this.Menu.PerformLayout();
|
||||||
|
this.stats.ResumeLayout(false);
|
||||||
|
this.stats.PerformLayout();
|
||||||
this.groupBox1.ResumeLayout(false);
|
this.groupBox1.ResumeLayout(false);
|
||||||
this.groupBox1.PerformLayout();
|
this.groupBox1.PerformLayout();
|
||||||
this.groupBox2.ResumeLayout(false);
|
this.groupBox2.ResumeLayout(false);
|
||||||
this.groupBox2.PerformLayout();
|
this.groupBox2.PerformLayout();
|
||||||
this.stats.ResumeLayout(false);
|
|
||||||
this.stats.PerformLayout();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1,3 @@
|
||||||
test:69
|
test:69
|
||||||
|
helio 2.9:28
|
||||||
|
helo 000:38
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -9,3 +9,14 @@ C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch
|
||||||
C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch the button.csproj.CoreCompileInputs.cache
|
C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch the button.csproj.CoreCompileInputs.cache
|
||||||
C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch the button.exe
|
C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch the button.exe
|
||||||
C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch the button.pdb
|
C:\Users\helio\source\repos\Catch the button\Catch the button\obj\Release\Catch the button.pdb
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\bin\Release\Catch the button.exe.config
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\bin\Release\Catch the button.exe
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\bin\Release\Catch the button.pdb
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch the button.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch_the_button.Main.resources
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch_the_button.LeaderDialog.resources
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch_the_button.Properties.Resources.resources
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch the button.csproj.GenerateResource.cache
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch the button.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch the button.exe
|
||||||
|
C:\Users\vasik\Documents\GitHub\Catch-the-Button-2\Catch the button\obj\Release\Catch the button.pdb
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue