This repository is dedicated to gameplay programmers / developers in Unity. These Little Big Tips could help in the day-by-day challenges situations and save some time!
Here you can find code snippets of gameplay mechanics, design-patterns, algorithms, shaders and more.
Most of the Little Big Tips are based on these playable demonstrations that can be seen in action here.
Suggestions and contributions are very welcome!
- pathfinder using Breadth First Search
- command pattern
- component pattern
- flyweight pattern
- object pool pattern
- observer pattern
- singleton pattern
- state pattern
- airplane movement
- drop item by chance
- explode the rocket
- hit damage calculation
- land the rocket
- raycast 3D click / touch detection
- raycast patrol detection
- roll the ball
- simple cooldown
- simple damage shake