Skip to content

Commit

Permalink
improve icons
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanmula committed Jan 17, 2021
1 parent b669c0e commit 1f6061d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Artifact of Impatience - Risk of rain 2 Mod
# Artifact of Impatience

## Description

Adds an artifact that removes shield (lighting) elites.

## Dependencies
## Changelog

### v0.0.1

unzip https://github.com/harbingerofme/RoR2Libs/archive/master.zip in /libs
* Initial release
Binary file modified icon.pdn
Binary file not shown.
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions libs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Dependencies

unzip https://github.com/harbingerofme/RoR2Libs/archive/master.zip here
2 changes: 1 addition & 1 deletion src/ArtifactOfImpatience.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static Sprite LoadSprite(Byte[] resource)
Texture2D texture = new Texture2D(128, 128, TextureFormat.RGBA32, false);
texture.LoadImage(resource, false);

return Sprite.Create(texture, new Rect(), new Vector2());
return Sprite.Create(texture, new Rect(0, 0, texture.width, texture.height), new Vector2(0.5f, 0.5f)); ;
}
}
}
Binary file modified src/Resources/artifact_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Resources/artifact_enabled.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 1f6061d

Please sign in to comment.