Projects made with Cat Like Coding tutorials to learn Unity
Simple Clock: Code | Tutorial - Game Objects and Scripts
- Build a clock with simple objects.
- Write a C# script.
- Rotate the clock's arms to show the time.
- Animate the arms.
Visualizing Math: Code | Tutorial - Building a Graph
- Create a prefab.
- Instantiate a line of cubes.
- Show a mathematical function.
- Create a custom shader.
- Make the graph move.
Sculpting with Numbers: Code | Tutorial - Mathematical Surfaces
- Support multiple function methods.
- Use a delegate and enumeration.
- Display 2D functions with a grid.
- Define surfaces in 3D space.
Details Through Recursion: Code | Tutorial - Constructing a Fractal
- Instantiate game objects.
- Work with recursion.
- Use coroutines.
- Add randomness.
Measuring Performance: Code | Tutorial - Frames Per Second
- Use physics to create an ever-growing atomic nucleus.
- Use the profiler to investigate performance.
- Measure and display the frame rate.
- Prevent the creation of temporary strings.
- Stabilize the frame rate by averaging multiple frames.
- Colorize the frame rate display.
Player-Controlled Motion: Code | Tutorial - Sliding a Sphere
- Put a sphere with a trail on a plane.
- Position the sphere based on player input.
- Control velocity and acceleration.
- Limit the sphere's position and make it bounce off edges.
Pushing a Sphere Around: Code | Tutorial - Physics
- Control the velocity of a rigidbody sphere.
- Support vertical movement via jumping.
- Detect the ground and its angle.
- Use a ProBuilder to create test scenes.
- Move along slopes.
Staying in Touch: Code | Tutorial - Surface Contact
- Stick to the ground instead of launching off a ramp.
- Perform a raycast.
- Configure multiple layers and their interaction.
- Navigate stairs.
- Make use of steep contacts.
Relative Control: Code | Tutorial - Orbit Camera
- Create an orbiting camera.
- Support manual and automatic camera rotation.
- Make movement relative to the camera.
- Prevent the camera from intersecting geometry.
Creating, Saving, and Loading: Code | Tutorial - Persisting Objects
- Spawn random cubes in response to a key press.
- Use a generic type and virtual methods.
- Write data to a file and read it back.
- Save the game state so it can be loaded later.
- Encapsulate the details of persisting data.
Fabricating Shapes: Code | Tutorial - Object Variety
- Create a factory for shapes.
- Save and load shape identifiers.
- Support multiple materials and random colors.
- Enable GPU instancing.
Object Pools: Code | Tutorial - Reusing Objects
- Destroy shapes.
- Automate creation and destruction.
- Build a simple GUI.
- Track memory allocations with the profiler.
- Use objects pools to recycle shapes.
Loading Levels: Code | Tutorial - Multiple Scenes
- Create a scene in play mode.
- Move objects between scenes.
- Work with multiple scenes.
- Support game levels.
Level Variety: Code | Tutorial - Spawn Zones
- Create a spawn zone and transform it.
- Use gizmos to visualize spawn zones.
- Support a different spawn zone per scene.
- Connect objects from different scenes.
- Create multiple spawn zone types.
Saving All That Matters (Skipped) | Tutorial - More Game State
- Keep track of randomness.
- Save level data.
- Loop through spawn zones.
- Create a rotating level object.
Variety of Randomness (Skipped) | Tutorial - Configuring Shapes
- Make shapes rotate and move.
- Centralize game updates.
- Add configuration per spawn zone.
- Improve the inspector.
Where Shapes Come From (Skipped) | Tutorial - More Factories
- Create composite shapes.
- Support multiple colors per shape.
- Select factories per spawn zone.
- Keep track of a shape's origin factory.
Modular Functionality (Skipped) | Tutorial - Shape Behavior
- Define abstract and concrete behavior for shapes.
- Only include behavior when needed.
- Create a generic method and class.
- Use conditional compilation.
- Add a method to an enumeration.
- Make shapes oscillate.
Shape Relationships (Skipped) | Tutorial - Satellites
- Spawn multiple shapes at once.
- Make a shape orbit another shape.
- Keep track of references to specific shape instances.
- Enforce a shape population limit.
Growth and Death (Skipped) | Tutorial - Lifecycle
- Make shapes grow and shrink.
- Allow behavior to kill shapes.
- Delay killing until after the game update loop.
- Replace immediate shape destruction with shrinking.
Spawn, Kill, and Life Zones (Skipped) | Tutorial - More Complex Levels
- Make spawning automatic.
- Create zones antithetical to or essential for life.
- Control which zones affect which shapes.
- Centralize level object updates and add editor support.
- Use partial classes.













