Tips & Tricks for your Programming

Find all our articles about github
  1. Creating a 2d RPG Camera in Unity

    Implementing a camera that follows the player around the map and gets offset near boundaries to avoid showing out of bounds part of the map.

  2. Change a Sprite according to the Camera's Direction and Position in Unity Shadergraph - Part 2

    Implementing billboarding, camera position checks and forward checks to select a suitable sprite from a given tilesheet/spritesheet/spritemap. This enables us to only use quads and avoid manipulating the sprites through script, which should increase performance for scenes with plenty of background characters.

  3. Change a Sprite according to the Camera's Direction and Position in Unity Shadergraph

    Implementing both billboarding and scrolling the tileset/tilemap of the character to update the face being displayed according to the camera's position

  4. Generating Realistic Heights Distributions for Terrain Generation in C# for Unity

    Combining distributions (Normal, Gamma, Uniform...) to fake real-world height data and sampling them using Perlin or Simplex Noise.

  5. Easily Create Complex Movements for GameObjects in Unity using Animation Curves

    Specifying Animation Curves and Cycle Duration for x, y, z position manipulation to create varied movement for an object.

  6. Implementing an Overworld Compass in Unity

    How to create a compass in Unity, to help the player navigate an overworld section in a RPG

  7. Creating a Scrolling Map for RTS and Strategy Games in Unity

    Using Screen Mouse Position to move around the map like in Civilization or Starcraft.

  8. Implementing the ELO Ranking System in C# for Unity

    Explaining how the ELO ranking works and showing how to calculate ranking changes after each match.

  9. How to implement the Dolly Zoom Effect for our Camera in Unity

    Adjusting Camera Distance and Field of View to reproduce the famous Dolly Zoom, as seen in movies such as Vertigo, Goodfellas and Jaws.

  10. How to set up Object Eye Tracking for a 3D model in Unity - Part 2

    A guide/tutorial on how to make your model's eyes track an object by manipulating Texture offset in your shader. Improving the results from Part 1 and fixing issues.