
Create a new 3D URP project in Unity 2022, name it 3D whole course, import the provided assets, remove README and tutorial info, and prepare to discuss the stencil buffer.
Explore how to use the stencil buffer as a mask to carve a hole in a ground plane with a cylinder, including a custom hole mask shader and stencil settings.
Create a real hole by using Unity's collision matrix and a layer switch trigger to toggle between default and no collisions layers.
Refine the hole model by adjusting a Blender object, exporting to Unity, and adding a mesh collider; position and scale along y and x, prepping visuals for the next lesson.
Enhance Unity visuals for a 3d hull mobile game by enlarging the ground, texturing with tiling, adjusting the hole, and creating materials, Blender bevel modifier, and a prefab.
Learn to implement a joystick-like touch control in Unity by calculating and clamping finger movement, normalizing direction, and moving the player with a frame-rate aware speed.
Add Cinemachine to follow the player with a virtual camera, set follow and lookat, adjust offset and damping, and organize the scene with environment and gameplay elements for growth mechanics.
Implement a destroy trigger that increases the hole size when it eats collectibles, passing each object's size to the player size script and destroying the eaten object.
Learn how to implement a growth mechanic in a Unity mobile hole game by increasing the player's size when collecting items, using a scale value, a threshold, and scale increments.
Create a world-space canvas with a circle outline to display a fill ring around player, linking fill amount to the scale value over scale increase threshold and updating on collection.
Learn to smooth game visuals using a tweening library like LeanTween: interpolate the fill amount with lerp, use onUpdate callbacks or lambdas, and prep for smoother size changes.
Learn to smooth the player's size growth using lean tween, target scale with animation curves and ease functions, and preview with in-editor curves and inspector tweaks.
Learn to adapt the camera to the player's size by adjusting the Cinemachine virtual camera's follow offset via a camera manager and player size events with a distance multiplier.
Add a timer to the player using a ui timer container and text mesh pro, displaying minutes and seconds from a duration, triggering level complete or game over.
Enable and disable player movement with a canMove flag and two methods, and subscribe to a timer over event to disable movement when time ends.
Create a game manager in Unity to control gameplay flow with a game state enum and events, enabling movement and starting the timer via a UI play button.
Implement a UI manager to toggle the menu and game panels in response to the game state, and use a one-frame delay to ensure subscriptions occur before events fire.
Create an upgrade panel in a Unity mobile game, replacing the play button with a responsive image trigger and adding three upgrade buttons (timer, size, power) with icons and prices.
Enhance the upgrade button visuals by customizing icons, text layout, and padding, set a minimum width, and create reusable UI prefabs for timer, size, and power upgrades.
Learn to wire upgrade buttons to an upgrades manager. Use events to trigger timer, size, and power upgrades, subscribe and unsubscribe to those events, and update timer and UI while planning data saving.
Learn how to save and load upgrade levels using player preferences, including timer, size, and power upgrades, and initialize buttons with correct level and price displays.
Update upgrade displays to refresh level and price texts on purchases; implement base price and price step with get_upgrade_price, refresh visuals, save data, and test in Unity.
Synchronize player upgrades by firing an on data loaded event from the upgrades manager and updating timer duration, size, and power across scripts.
Implement a coin management system with a data manager: save/load coins via player prefs, a singleton instance, and coin-driven updates to upgrade button interactability via events.
Display and manage coins in a Unity mobile game by linking a top left UI coin counter to the data manager, updating on coin changes, and reflecting purchases through visuals.
Hey there! Have you always wanted to add holes to your mobile game ?
No?
Well, me neither, but trust me, it's a HOLE lot of fun!
In this course, you'll learn how to add those satisfying black holes to any mesh without messing with its geometry. No need to worry about stuff like vertices, triangles, faces, or any complicated algorithms.
I’ll teach you how to use the Stencil Buffer like a pro to achieve that perfect hole-y effect.
But wait, there's more! We'll also add some Physics to make sure everything falls smoothly into your new holes.
Plus, I'll teach you some neat tricks to make the illusion work like a charm.
And that's not all! To make things even cooler, I'll show you how to create your very own joystick control. Because who wouldn't want to be in control of the black hole that swallows everything?
Finally, we are going to use some cute kawaii graphics to make the course more enjoyable. For the occasion, I've specially crafted a Frog-Shaped Hole. You'll definitely find it cute (I hope so at least)
So, what are you waiting for? Grab this course before it's too late and get ready to level up your game dev skills!
Enroll Now !