https://github.com/shamim-akhtar/constant-size-sprite
Sometimes, we require sprites to remain the same size on the screen no matter the zoom factor of our camera. In this tutorial, we will learn to implement a constant size sprite in Unity2D so that zooming in or zooming out won’t change the sprite’s size.
https://github.com/shamim-akhtar/constant-size-sprite
gamedev unity2d
Last synced: about 2 months ago
JSON representation
Sometimes, we require sprites to remain the same size on the screen no matter the zoom factor of our camera. In this tutorial, we will learn to implement a constant size sprite in Unity2D so that zooming in or zooming out won’t change the sprite’s size.
- Host: GitHub
- URL: https://github.com/shamim-akhtar/constant-size-sprite
- Owner: shamim-akhtar
- Created: 2021-08-29T01:03:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-01T01:59:01.000Z (over 3 years ago)
- Last Synced: 2025-01-17T22:25:37.122Z (3 months ago)
- Topics: gamedev, unity2d
- Language: C#
- Homepage: https://faramira.com/implement-constant-size-sprite-in-unity2d/
- Size: 12.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Implement Constant Size Sprite in Unity2D
In this tutorial, we will learn to implement a constant size sprite in Unity2D so that zooming in or zooming out won’t change the sprite’s size.
## Try the WebGL Version
[](https://faramira.com/downloads/constant-size-sprite/)