Skip to content

Commit

Permalink
Merge pull request #7 from triplezeta/glass
Browse files Browse the repository at this point in the history
minor glass resprite, changes block drawables bounds
  • Loading branch information
MarkSuckerberg authored Aug 23, 2023
2 parents f66f44c + 7853c0f commit b984da2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blocktest/Code/Block System/Block.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public virtual void LoadSprite(ContentManager content)
{
string path = @"Graphics\Blocks\" + blockName.ToLower().Replace(" ", "");
try {
blockSprite = new Drawable(path, new Rectangle(1, 1, 8, 8));
blockSprite = new Drawable(path, new Rectangle(1, 1, 10, 10)); //this might need to be expanded in the future in case we decide to make use of the full 12x12 tiles on our spritesheets
if (!blockSmoothing) {
return;
}
Expand Down
Binary file modified Blocktest/Content/Graphics/Blocks/glass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b984da2

Please sign in to comment.