A bunch of glowmasks
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -39,5 +40,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<AgedLaboratoryConsoleItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/AgedLaboratoryConsoleGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 240 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
@@ -44,5 +45,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<AgedLaboratoryDisplayItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/AgedLaboratoryDisplayGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1005 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -32,5 +33,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 16, 32, ModContent.ItemType<AgedLaboratoryScreenItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/AgedLaboratoryScreenGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 530 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -39,5 +40,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<AgedLaboratoryServerItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/AgedLaboratoryServerGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 682 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -38,5 +39,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<AgedReinforcedCrateItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/AgedReinforcedCrateGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 470 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -39,5 +40,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<LaboratoryConsoleItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/LaboratoryConsoleGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 503 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
@@ -44,5 +45,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<LaboratoryDisplayItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/LaboratoryDisplayGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 560 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -32,5 +33,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 16, 32, ModContent.ItemType<LaboratoryScreenItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/LaboratoryScreenGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 388 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -39,5 +40,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<LaboratoryServerItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/LaboratoryServerGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 468 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
@@ -44,5 +45,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<LaboratoryTerminalItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/LaboratoryTerminalGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 553 B |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Placeables.DraedonStructures;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -38,5 +39,20 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 32, 32, ModContent.ItemType<ReinforcedCrateItem>());
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
int xFrameOffset = Main.tile[i, j].frameX;
|
||||
int yFrameOffset = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/DraedonStructures/ReinforcedCrateGlow");
|
||||
Vector2 drawOffest = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawPosition = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + drawOffest;
|
||||
Color drawColour = Color.White;
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
if (!trackTile.halfBrick() && trackTile.slope() == 0)
|
||||
spriteBatch.Draw(glowmask, drawPosition, new Rectangle(xFrameOffset, yFrameOffset, 18, 18), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
else if (trackTile.halfBrick())
|
||||
spriteBatch.Draw(glowmask, drawPosition + new Vector2(0f, 8f), new Rectangle(xFrameOffset, yFrameOffset, 18, 8), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 194 B |