Click here to Skip to main content
15,895,922 members
Articles / Desktop Programming / Windows Forms

EmuEngine

Rate me:
Please Sign up or sign in to vote.
3.51/5 (12 votes)
4 Dec 20061 min read 62.7K   610   27  
With the EmuEngine, you can create simple 2D games in C#.
namespace Test
{
  partial class Form1
  {
    /// <summary>
    /// Erforderliche Designervariable.
    /// </summary>
    private System.ComponentModel.IContainer components = null;

    /// <summary>
    /// Verwendete Ressourcen bereinigen.
    /// </summary>
    /// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
    protected override void Dispose(bool disposing)
    {
      if (disposing && (components != null))
      {
        components.Dispose();
      }
      base.Dispose(disposing);
    }

    #region Vom Windows Form-Designer generierter Code

    /// <summary>
    /// Erforderliche Methode für die Designerunterstützung.
    /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
    /// </summary>
    private void InitializeComponent()
    {
      this.components = new System.ComponentModel.Container();
      this.timer1 = new System.Windows.Forms.Timer(this.components);
      this.label1 = new System.Windows.Forms.Label();
      this.label2 = new System.Windows.Forms.Label();
      this.doubleBufferedPanel1 = new DoubleBufferedPanel.DoubleBufferedPanel();
      this.SuspendLayout();
      // 
      // timer1
      // 
      this.timer1.Interval = 10;
      this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
      // 
      // label1
      // 
      this.label1.AutoSize = true;
      this.label1.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
      this.label1.Location = new System.Drawing.Point(85, 501);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(20, 23);
      this.label1.TabIndex = 1;
      this.label1.Text = "0";
      // 
      // label2
      // 
      this.label2.AutoSize = true;
      this.label2.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
      this.label2.ForeColor = System.Drawing.Color.Red;
      this.label2.Location = new System.Drawing.Point(7, 498);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(72, 27);
      this.label2.TabIndex = 2;
      this.label2.Text = "Punkte";
      // 
      // doubleBufferedPanel1
      // 
      this.doubleBufferedPanel1.BackColor = System.Drawing.SystemColors.ControlText;
      this.doubleBufferedPanel1.Location = new System.Drawing.Point(12, 12);
      this.doubleBufferedPanel1.Name = "doubleBufferedPanel1";
      this.doubleBufferedPanel1.Size = new System.Drawing.Size(574, 483);
      this.doubleBufferedPanel1.TabIndex = 3;
      // 
      // Form1
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.ClientSize = new System.Drawing.Size(598, 525);
      this.Controls.Add(this.doubleBufferedPanel1);
      this.Controls.Add(this.label2);
      this.Controls.Add(this.label1);
      this.Name = "Form1";
      this.Text = "Form1";
      this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
      this.ResumeLayout(false);
      this.PerformLayout();

    }

    #endregion

    private System.Windows.Forms.Timer timer1;
    private System.Windows.Forms.Label label1;
    private System.Windows.Forms.Label label2;
    private DoubleBufferedPanel.DoubleBufferedPanel doubleBufferedPanel1;
  }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Germany Germany
-School
-Apprenticeship Software Developer first year
-Coding for 1 year Smile | :) .

Comments and Discussions