
Master the steps to create your 2D games by setting up Unity and C# with Visual Studio Code, and building a Flappy game, a platform game, and a top-down game.
Create three Unity 2D games: a flappy-style runner with coins, a platformer with level selectors and unlocks, and a top-down zombie defense with weapons and power-ups.
Configure Unity by creating a Unity ID, installing Unity Hub, enabling Visual Studio Code, and then creating a 2D project with a C# script on the main camera.
Explore Unity tools that streamline game development, focusing on gameobjects, components, and effects for our projects.
Add and manage components on a game object, such as sprite rendering, a 2D box collider, and a rigid body for gravity and movement.
Attach images to game objects and use the sprite renderer to edit color, toggle visibility, and flip or fade sprites, then manage layering with the order in layer.
Master Unity's bar tools to move, rotate, and scale objects without exact numbers. Use the view, move, rotate, scale, and rec tools for precise layout and map design.
Explore how box collider 2D and rigidbody 2D add gravity and boundaries to 2D game objects, differentiate the player and ground, and use freeze position and rotation for controlled movement.
Learn to create and edit animations in Unity using the animation tab and animator, build test animations, change colors, and drag sprites to support multiple animations for a 2D game.
learn to create and arrange ui components in unity, including canvas setup, screen space options, and common elements like image, text, and button with on click wiring.
Learn to use Unity particle systems to reduce lag in a 2D game, then create and customize one with color, duration, loop, emission, and render material.
Master C# basics in Unity by exploring variables, conditional statements, and functions, with practical examples to solidify understanding and accelerate your 2D game development.
Define basic variables in Unity using ints, strings, and bools; create and edit a C# script, assign public variables, attach it to a game object, and print values to console.
Explore advanced variables in Unity by introducing a float and an int array, setting values, indexing from zero, printing results, and resizing the array.
Learn how to use conditional statements in Unity to control game flow. Implement if and else checks on floats and booleans using operators like >, <, ==, >=, and <=.
Master creating and using functions in Unity 2D, including defining outside of start and update, passing float parameters, calling the function, and printing results to the console.
Explore Unity variables, including vector two and vector three, game objects and transforms, and learn to edit position, rotation, and scale in scripts, set active, and drag components in inspector.
Learn Unity functions with box collider 2D, isTrigger, and on collision enter 2D and on trigger enter 2D to detect collisions, triggers, and tag-based interactions in 2D games.
Build a foundational understanding of C-sharp coding for Unity and reference the official documentation to deepen skills for upcoming projects.
Create a simple flappy style game with a main menu, high score, and play and reset options, where the player avoids pillars, collects coins, and sees a game over screen.
Set up the Flappy game project in Unity by creating a new 2D project, adding art, scripts, and prefabs folders, and adjusting the screen size to a phone aspect ratio.
Import and crop Kenny’s free platformer assets into Unity, slice sprite sheets with the sprite editor, adjust edges, and drag assets into the scene to verify pixel quality.
Build the flappy game main menu by creating the main menu scene, adding start and reset score buttons, a high score display, and background sprites with a scalable canvas.
Create a main menu script on the canvas that adds play game, reset score, and back to main menu functions, using scene management to load scenes 1 and 0.
Create the flappy game scene in Unity by adding ground sprites, clouds, a sky background, and a back button linked to the main menu script.
Create the player sprite, attach a box collider 2D and a rigidbody 2D, then add a ground box collider and test in play mode to ensure proper collision.
Create a Unity 2D player script to jump with space or a full-screen UI button, using Rigidbody2D.AddForce with Vector2.up and impulse.
Create and wire up the flap and death animations for the player in Unity, selecting sprites, creating clips named player flap and player death, and implementing animator transitions.
Build a game over scene in a Unity 2D Flappy game by adding a panel with game over text and restart and main menu buttons, connected to the canvas logic.
Create moving pillars with a gap and ground layers, add box colliders and tag them as ground, then attach a move-left script using Time.deltaTime to destroy pillars after five seconds.
Turn a pillar into a prefab, set up a column spawner script, and spawn duplicates at random heights using a min-max Y range and timer.
Implement a coin scoring system by placing a coin between pillars, updating and displaying score and high score in ui text, saving high score with playerprefs, and providing reset function.
Fix the clouds layer order to render behind the pillars by setting their layer to negative one, and pause on game over with time scale zero, then resume when restarting.
Review the completed flappy game, recapping the main menu, reset score, high score counter, and game over effect, and explore future additions like skins, shooting enemies, and ads.
Develop a simple platform game with a main menu and level unlocks. Implement jumping, player health with hearts, enemy interactions, heart collection, and a win scene across levels.
Create a new 2d Unity project for the platform game and organize assets with folders for animations, prefabs, art, sounds, and scripts, then set a horizontal free aspect screen.
Import Kenny's pixel platformer art into unity, crop and slice sprites, set pixels per unit to 18 with point filtering. Build scene with trees, water, and blocks using tile map.
Create a platform game main menu with play and level select panels, level lock buttons, and sprites to improve visuals; configure the canvas, render mode, and screen size scaling.
Develop a Unity main menu script to manage button navigation, unlock levels (L1–L3), and load scenes using player prefs and the scene manager.
Create the platform game scene in Unity using imported sprites, add a back button with a scene manager script, and implement ground blocks with box colliders.
Create a platform game player sprite with a 2d rigidbody and box collider, add a movement script for left-right and jump, and implement ground raycasts to enable jumping.
Create a player animation in Unity for a 2D platform game, including hurt and running states, set up animator transitions, and implement collision-based knockback.
Create a game over scene with heart indicators, a dark panel, and restart and main menu buttons; wire UI and health-based game over logic.
Create and animate platform game enemies in Unity, including movable foes and stomp-to-defeat enemies, with collider setup, simple animations, and scripts to destroy on player contact.
Create a camera follow script in Unity, attach it to the player, and make the camera follow the player on the map using follow speed, Vector3 positioning, and Time.deltaTime.
Create drop hearts for the platform game, wire a heart script and collider, and update the player script to collect hearts up to a max health of three.
Devise a platform level layout with multiple jump areas, more enemies, and additional hearts for the player to collect, while duplicating enemies and configuring side-to-side and up-down animations.
Build the level complete area and level one scene in Unity 2D by adding a win ground, win tag, and a game win panel linked to the player script.
Fix platform game level cleanup by switching heart collection to triggers for instant disappearance, and add an instant game over ground with a trigger collider.
Create a Unity level unlock system that records level completion with PlayerPrefs and unlocks subsequent levels in the main menu level select, showing locks and enabling level buttons.
Create a level reset button in Unity, implement restart logic to reload the scene, reset scores via player prefs, and ensure only the first level remains unlocked.
Import music from the Unity Asset Store and attach it to a music player object in the main menu and level scenes, looping with adjustable volume.
Review the platform game, detailing scenes like play, level unlock, and level one, with side-scrolling movement, jumping, enemy animations, hearts, and a game over; suggests adding more enemies and art.
Explore a top down zombie defense game with a title screen, coins, and weapon unlocks. Defend a base with projectiles, learn core top down 2D gameplay concepts for beginners.
Create a new 2D Unity project named zombie game, organize folders for art, prefabs, scripts, and animations, and adjust the screen size from the default three aspect.
Select and import Kenny's zombie art, download assets, slice sprites into 64×64 tiles in Unity, adjust filter mode, and preview planes and turrets in a top-down tower defense scene.
Build the main menu in Unity 2D by adding play and reset score buttons, a title and high score text, and decorate with rockets and zombie art.
Create a Unity main menu script that reads the high score from player prefs, updates the text, and provides play game and reset score functions to load scenes.
Design and implement a Unity 2D zombie game scene with sprites and an outer border for players and enemies, plus a back button and game scene script.
Create and place the player sprite, attach a gun as a child, and add a box collider for accurate top-down collision while configuring its size and positioning.
Implement player movement in Unity 2D by rotating to face the mouse and moving toward it with smooth damped motion and a minimum stopping distance.
Create projectiles for the zombie game and script their behavior. Destroy bullets after 1.5 seconds or on collision with enemies, coins, or walls, using a box collider 2D.
Implement a projectile firing system in a top-down Unity game by wiring a bullet prefab, fire point, and Rigidbody2D with an impulse force, triggered by the space key.
Create a coin collection feature by adding a coin sprite with a 2D collider and a script that destroys the coin on player collision, while updating the UI coin count.
Learn to create multiple bullets in Unity by duplicating bullets, adding tags (bullet two, bullet three), adjusting visibility and color, and setting colliders so only the main bullet has physics.
Learn to implement weapon selection in a 2d Unity game by creating UI buttons for each weapon, wiring multiple gun prefabs, and updating gun count to switch between weapons.
Learn to implement weapon unlocks in a zombie game by creating lock buttons, wiring coin-based unlocking logic, and updating the user interface to reflect purchased guns.
Create a camera follow script on the main camera that tracks the player with a configurable follow speed, maintaining a fixed z position and updating every frame.
Create a base with three layers in Unity, each layer with a box collider and a base tag, controlled by a base health script that triggers game over at zero.
Create a three-heart health system by adding heart UI elements, a public playerHealth variable, and a game over scene, then decrement health on enemy collisions and toggle heart visibility accordingly.
Design and wire a game over scene in Unity 2D, adding a panel with restart and main menu buttons and on click actions to load scenes and reset health.
Create and animate a zombie enemy that attacks the base. Implement health, coin drops on defeat, and collision-driven damage from bullets and walls.
Create multiple zombie enemy types with varying health and appearance by duplicating a base enemy, adjusting health and speed, and saving each as prefabs for reuse.
Create an enemy spawner in Unity 2D that spawns zombie prefabs at a spawn point every 15 seconds while base health remains above zero.
Create a round counter in Unity by duplicating the coin text, aligning it, and coding a time-left based counter that activates extra spawners, increments rounds, and updates the UI text.
Implement score saving by updating the game and main menu scripts to save the round count as a high score and display it on the main menu text.
Defend the base in a zombie defense game with a main menu, coin collection, health bar, and a rocket shooting tank. Explore ideas for more enemies, weapons, and bosses.
Complete the course and gain the skills you need to develop your own 2D games with Unity. Leave us a review and visit our official website.
Hello and welcome!
You will learn to create three simple applications to showcase your skills or add to your resume and portfolio for software development. You are not required to have any experience before starting this class, it is for complete beginners and each step will be walked through step by step. Each application you will learn valuable concepts for UI, scripting, and functions. With the knowledge from this course you will be well equipped to make simple applications using Unity engine and C# coding.
Applications being made are:
-Fappy Game(the character flapping to avoid obstacles, high score counter, and a main menu scene)
-Platform Game(platform style game where the player has multiple lives and avoids obstacles moving left and right with a level system)
-Zombie Game(the player avoids zombies while he defends a base, collects coins to unlock weapons, and survives increasing rounds)
Once you complete the applications you will have lots of scripts you can reuse for furthering the work and improving the built application or even try and build your own more original applications with the newly found knowledge.
With these applications you will learn more then enough to create many other style application ranging from other games or even app style utilities with functioning UI capabilities.