mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-02 03:46:48 +00:00
Split the help tab into smaller message boxes
This commit is contained in:
56
PCK-Studio/Forms/Editor/AnimationEditor.Designer.cs
generated
56
PCK-Studio/Forms/Editor/AnimationEditor.Designer.cs
generated
@@ -40,8 +40,12 @@
|
||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.bulkAnimationSpeedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.changeTileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.howToInterpolation = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editorControlsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.setBulkSpedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.InterpolationCheckbox = new MetroFramework.Controls.MetroCheckBox();
|
||||
this.AnimationPlayBtn = new MetroFramework.Controls.MetroButton();
|
||||
this.AnimationStopBtn = new MetroFramework.Controls.MetroButton();
|
||||
@@ -50,7 +54,7 @@
|
||||
this.MipMapLabel = new MetroFramework.Controls.MetroLabel();
|
||||
this.MipMapNumericUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.pictureBoxWithInterpolationMode1 = new PckStudio.PictureBoxWithInterpolationMode();
|
||||
this.exportJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.javaAnimationSupportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.menuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.MipMapNumericUpDown)).BeginInit();
|
||||
@@ -160,6 +164,14 @@
|
||||
this.importJavaAnimationToolStripMenuItem.Text = "Import Java Animation";
|
||||
this.importJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.importJavaAnimationToolStripMenuItem_Click);
|
||||
//
|
||||
// exportJavaAnimationToolStripMenuItem
|
||||
//
|
||||
this.exportJavaAnimationToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
|
||||
this.exportJavaAnimationToolStripMenuItem.Name = "exportJavaAnimationToolStripMenuItem";
|
||||
this.exportJavaAnimationToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.exportJavaAnimationToolStripMenuItem.Text = "Export Java Animation";
|
||||
this.exportJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.exportJavaAnimationToolStripMenuItem_Click);
|
||||
//
|
||||
// changeTileToolStripMenuItem
|
||||
//
|
||||
this.changeTileToolStripMenuItem.Image = global::PckStudio.Properties.Resources.changeTile;
|
||||
@@ -170,11 +182,36 @@
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.howToInterpolation,
|
||||
this.editorControlsToolStripMenuItem,
|
||||
this.setBulkSpedToolStripMenuItem,
|
||||
this.javaAnimationSupportToolStripMenuItem});
|
||||
this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
||||
this.helpToolStripMenuItem.Text = "Help";
|
||||
this.helpToolStripMenuItem.Click += new System.EventHandler(this.helpToolStripMenuItem_Click);
|
||||
//
|
||||
// howToInterpolation
|
||||
//
|
||||
this.howToInterpolation.Name = "howToInterpolation";
|
||||
this.howToInterpolation.Size = new System.Drawing.Size(200, 22);
|
||||
this.howToInterpolation.Text = "Interpolation";
|
||||
this.howToInterpolation.Click += new System.EventHandler(this.howToInterpolation_Click);
|
||||
//
|
||||
// editorControlsToolStripMenuItem
|
||||
//
|
||||
this.editorControlsToolStripMenuItem.Name = "editorControlsToolStripMenuItem";
|
||||
this.editorControlsToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.editorControlsToolStripMenuItem.Text = "Editor Controls";
|
||||
this.editorControlsToolStripMenuItem.Click += new System.EventHandler(this.editorControlsToolStripMenuItem_Click);
|
||||
//
|
||||
// setBulkSpedToolStripMenuItem
|
||||
//
|
||||
this.setBulkSpedToolStripMenuItem.Name = "setBulkSpedToolStripMenuItem";
|
||||
this.setBulkSpedToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.setBulkSpedToolStripMenuItem.Text = "Set Bulk Speed";
|
||||
this.setBulkSpedToolStripMenuItem.Click += new System.EventHandler(this.setBulkSpeedToolStripMenuItem_Click);
|
||||
//
|
||||
// InterpolationCheckbox
|
||||
//
|
||||
@@ -289,13 +326,12 @@
|
||||
this.pictureBoxWithInterpolationMode1.TabIndex = 16;
|
||||
this.pictureBoxWithInterpolationMode1.TabStop = false;
|
||||
//
|
||||
// exportJavaAnimationToolStripMenuItem
|
||||
// javaAnimationSupportToolStripMenuItem
|
||||
//
|
||||
this.exportJavaAnimationToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
|
||||
this.exportJavaAnimationToolStripMenuItem.Name = "exportJavaAnimationToolStripMenuItem";
|
||||
this.exportJavaAnimationToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.exportJavaAnimationToolStripMenuItem.Text = "Export Java Animation";
|
||||
this.exportJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.exportJavaAnimationToolStripMenuItem_Click);
|
||||
this.javaAnimationSupportToolStripMenuItem.Name = "javaAnimationSupportToolStripMenuItem";
|
||||
this.javaAnimationSupportToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.javaAnimationSupportToolStripMenuItem.Text = "Java Animation Support";
|
||||
this.javaAnimationSupportToolStripMenuItem.Click += new System.EventHandler(this.javaAnimationSupportToolStripMenuItem_Click);
|
||||
//
|
||||
// AnimationEditor
|
||||
//
|
||||
@@ -351,5 +387,9 @@
|
||||
private MetroFramework.Controls.MetroLabel MipMapLabel;
|
||||
private System.Windows.Forms.NumericUpDown MipMapNumericUpDown;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportJavaAnimationToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem howToInterpolation;
|
||||
private System.Windows.Forms.ToolStripMenuItem editorControlsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem setBulkSpedToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem javaAnimationSupportToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
@@ -548,15 +548,6 @@ namespace PckStudio.Forms.Editor
|
||||
}
|
||||
}
|
||||
|
||||
private void helpToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("Simply drag and drop frames in the tree to rearrange your animation.\n\n" +
|
||||
"The \"Interpolates\" checkbox enables the blending animation seen with some textures in the game, such as Prismarine.\n\n" +
|
||||
"You can preview your animation at any time by simply pressing the \"Play Animation\" button!\n\n" +
|
||||
"You can edit the frame and its speed by double clicking a frame in the tree. If you'd like to change the entire animation's speed, you can do so with the \"Set Bulk Animation Speed\" button in the \"Tools\" tab.\n\n" +
|
||||
"Porting animations from Java packs are made simple with the \"Import Java Animation\" button found in the \"Tools\" tab!", "Help");
|
||||
}
|
||||
|
||||
private void changeTileToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (ChangeTile diag = new ChangeTile())
|
||||
@@ -605,5 +596,27 @@ namespace PckStudio.Forms.Editor
|
||||
currentAnimation.BuildTexture().Save(fn.Remove(fn.Length - 7));
|
||||
MessageBox.Show("Your animation was successfully exported at " + fn, "Successful export");
|
||||
}
|
||||
|
||||
private void howToInterpolation_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("The Interpolation effect is when the animtion smoothly translates between the frames instead of simply displaying the next one. This can be seen with some vanilla Minecraft textures such as Magma and Prismarine.\n\nThe \"Interpolates\" checkbox at the bottom controls this.", "Interpolation");
|
||||
}
|
||||
|
||||
private void editorControlsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("Simply drag and drop frames in the tree to rearrange your animation.\n\n" +
|
||||
"You can also preview your animation at any time by simply pressing the \"Play Animation\" button!", "Editor Controls");
|
||||
}
|
||||
|
||||
private void setBulkSpeedToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("You can edit the frame and its speed by double clicking a frame in the tree. If you'd like to change the entire animation's speed, you can do so with the \"Set Bulk Animation Speed\" button in the \"Tools\" tab", "How to use Bulk Animation tool");
|
||||
}
|
||||
|
||||
private void javaAnimationSupportToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("You can import any valid Java Edition tile animations into your pck by opening an mcmeta.\n\n" +
|
||||
"You can also export your animation as an Java Edition tile animation. It will also export the actual texture in the same spot.", "Java Edition Support");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user