

It isn't useful, but hopefully this code example is simple enough to show how it works. All that means is you start in the air and die. It provides an option to "skydive" during worldgen. Private void ButtonMouseOut(UIMouseEvent evt, UIElement listeningElement)

Private void DeleteMouseOver(UIMouseEvent evt, UIElement listeningElement)

Private void PlayMouseOver(UIMouseEvent evt, UIElement listeningElement) Private void CloseButtonClicked(UIMouseEvent evt, UIElement listeningElement) Private void PlayButtonClicked(UIMouseEvent evt, UIElement listeningElement) UIImageButton closeButton = new UIImageButton(buttonDeleteTexture) ĬloseButton.OnClick += new MouseEvent(CloseButtonClicked) ĬloseButton.OnMouseOver += new UIElement.MouseEvent(DeleteMouseOver) ĬloseButton.OnMouseOut += new UIElement.MouseEvent(ButtonMouseOut) Texture2D buttonDeleteTexture = ModLoader.GetTexture("Terraria/UI/ButtonDelete") PlayButton.OnMouseOut += new UIElement.MouseEvent(ButtonMouseOut) PlayButton.OnMouseOver += new UIElement.MouseEvent(PlayMouseOver) PlayButton.OnClick += new MouseEvent(PlayButtonClicked) UIImageButton playButton = new UIImageButton(buttonPlayTexture) Texture2D buttonPlayTexture = ModLoader.GetTexture("Terraria/UI/ButtonPlay") _buttonLabel = new UIText("", 1f, false) UITextPanel text = new UITextPanel("Would you like to go Sky diving?") Main.spawnTileY = 100 // Do things based on choiceĬontinueWorldGen = false // reset for next world genĬoinCounterPanel.BackgroundColor = new Color(73, 94, 171) Internal static bool continueWorldGen = false Terramap windows is an interactive terraria v1.4 world map viewer that loads quickly and lets you pan. Internal class InterruptModWorld : ModWorld TERRARIA MAP VIEWER HOW TO TERRARIA MAP VIEWER APK MOD TERRARIA MAP VIEWER INSTALL Terraria is celebrating its 10th anniversary and has added a secret map. Autoload = true, // We need Autoload to be true so our ModWorld class below will be loaded.
