In this Unity tutorial we’ll make 3 more 3D mini games!
● Project Download:
In my opinion learning how to make games should be easy, fast and fun!
● Watch Part 1:
Here is everything we’ll cover this time:
0:00 – Introduction
0:30 – Prefabs
2:44 – GAME 1 – Ball Into Basket
3:41 – Destroy Objects On Click
4:47 – Creating a Basket and a Ball
6:50 – Detecting Ball In Basket
11:30 – GAME 2 – Push Battle
12:43 – Enemies
13:44 – Destroying Enemies
16:19 – Make Enemies Move
19:47 – Spawn Enemies
27:19 – Explosion FX
33:50 – Ramping Up Difficulty
36:18 – Winning
37:41 – GAME 3 – 3D Racer
41:12 – Final Words
Managed to finish your first games?
Congratulations. You’ve now mastered the basics of Unity 3D.
● Join the Game Dev Discord:
Hope you enjoyed. Good luck and see you next time. 🙂
Doofus Loofus
28.07.2022I know this probably won't be seen, but please help, I can't see the camera unless I select it in the scene section on the left.
Celcious
26.07.2022this guy is the reason im so addicted to unity. he is so good at this. thank you
Aaron Smith
26.07.2022I don't understand… I checked my code over and over (especially for the semicolon) and I checked that the tags matched (for the script and basket cube collision), but for the ball/basket game I can't get it to load the next level on collision!
Edit: I fixed it! There wasn't anything wrong with the code or the tags. If you have the same problem as I did, check 10:44 to fix it
Art Parlor
26.07.2022I tried following Brackeys tutorial for Unity, he is very awesome, but your tutorial is much easier to follow, and you have simpler solutions for certain things like camera following!
Dan Explainsstuff
26.07.2022Awesome tutorials! Only ones I’ve understood so far. Please make part 3!!! P.s I would love some 2D tutorials but if that’s too much to ask that’s fine I don’t wanna push you 😊
ProPixelGaming
26.07.2022You really help me code!! you are the best coding youtuber!!! you need more subs!
ProPixelGaming
26.07.2022Destroy this dot! poor dot
Avi G
26.07.2022i just realised guys in 2021 unity if you want to go from one scene to another add that scene to the build manager and then add the the scene name on the object you added the script . hope that helps and avoids confusion for some people
Celcious
26.07.202223:42 it still isnt working for me. can someone help? nvm i fixed it
Yash Chaudhari
26.07.2022The Jitter part of my script isn't working please help
Script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spawnEnemies : MonoBehaviour
{
[SerializeField]
GameObject spawningWhat;
[SerializeField]
float intervals;
[SerializeField]
Vector3 randomize;
float timer = 0f;
void Start()
{
timer = intervals;
}
void Update()
{
timer -= Time.deltaTime;
if (timer <= 0f)
{
Vector3 spawnPos = transform.position;
spawnPos = Vector3.right * randomize.x * (Random.value + 5f);
spawnPos = Vector3.forward * randomize.z * (Random.value + 5f);
spawnPos = Vector3.up * randomize.y * (Random.value + 5f);
timer = intervals;
Instantiate(spawningWhat, spawnPos, Quaternion.identity);
}
}
}
Rodolfo Vitangcol
26.07.2022Business Opportunity in Ruvol
I have invented a Board Game [still unpublished and not yet out in the market] that I believe is guaranteed to be as challenging and exciting as CHESS. I called it “RUVOL.”
It is my hope that one day Ruvol may surpass chess as the “Number One Board Game in the World.”
The weakness of chess is it always starts in fixed positions that the opening moves become “memorizable.” In fact, not a few have so mastered the moves that they can play against their opponents “blindfolded.” It is for this very reason that the great Bobby Fischer introduced his so-called “Fischer Random Chess,” where the starting position of the pieces is “randomized” to make the memorization of openings impracticable. Fortunately, it is also for this reason that I invented Ruvol where “every game” has been calculated to be a challenging one to play.
HOW IS RUVOL PLAYED and HOW YOU CAN MONETIZE IT?
I detailed everything in my YouTube video. Here is the link: https://www.youtube.com/watch?v=jcqth0m3-R0
BIG MONEY POTENTIAL IN RUVOL!
It is worthwhile to note that the people who play chess will be the same people who will play Ruvol. In my Google search, I learned there are around 800 million chess players in the world. Even just a small percentage of these 800 million is good enough to earn big money from Ruvol either as an ONLINE GAME BUSINESS or as a PHYSICAL PRODUCT DISTRIBUTOR.
You may contact me at: rodolfovitangcol@gmail.com.
Thanks and God bless!
RODOLFO MARTIN VITANGCOL
The Ruvol Inventor
Toiletman GamingHD
24.07.2022i've got a "the object of type transform has been destroyed but you are still trying to access it" Error from The AI Script but i managed to fix it by adding
void Update()
{
if (transTowards != null)
{
Rest of ai script code here
}
}
}
jahabo1234
24.07.2022Time.deltaTime isn’t working for me so whenever my spawner is on it spawns enemys super fast. Can someone more experienced than me find a different way to do timers
Timur Khodyakov
24.07.2022I made Destroy on Collision even before jonas started.
Christopher Coutinho
24.07.2022Add constant velocity script? can u pls provide a github link with the script
Timur Khodyakov
24.07.2022how do i make the ball jump
Igor Roggy
24.07.2022Him: Mentions Unity Particle System
Me: Remembers a milkman
NewTex Gamer
24.07.2022it will helpful more if you paste the script here so then all can copy it for there use
NewTex Gamer
24.07.2022public class SpawnNukeScript : MonoBehaviour {
public Transform[] spawnPoints;
public GameObject enemy;
public int spawnTime = 5;
// Use this for initialization
void Start () {
// Call the Spawn function after a delay of the spawnTime and then continue to call after the same amount of time.
InvokeRepeating ("Spawn", spawnTime, spawnTime);
}
// Update is called once per frame
void Update () {
}
void Spawn () {
// Find a random index between zero and one less than the number of spawn points.
int spawnPoints = Random.Range (0, spawnPoints.Length);
// Create an instance of the enemy prefab at the randomly selected spawn point's position and rotation.
Instantiate (enemy, spawnPoints[spawnPoints].position, spawnPoints[spawnPoints].rotation);
}
}
Slayerx20
24.07.2022I know I'm commenting 2 years later, but I just spent 30 minutes looking for how to fix the "Game 3 assests now loaded or put in build settings" thing, and right after I figured it out he said how to fix it. I'm not angry just wanted to possibly let someone know.
Chocco Doggo
24.07.2022This is sooooo helpfull, thanks!
Mr.N1ce
21.07.2022FINALLY I KNOW HOW TO DUPLICATE THE SCRIPTS
Alan Biju
21.07.2022When I open the Solution Explorer it is empty please help me 🙂
Willified
21.07.2022Can anyone answer why my game look so horrible.
Im not just bad at building but the lighting looks horrible and I even have objects that just are completely different colors even though both of them are default material, and by that I mean one is gray and one is like 2x brighter shade of gray.
trey coble
21.07.2022How do you make things look so smooth and good? I do the same thing and the bocks look so weird
Flammexx
21.07.2022I made the Ball into Basket game upgrade upto 8 levels and added a main menu and resume panel!
Maxawesome101
21.07.202212:53
Myelin SheathXD
21.07.2022thx! bro It's been a 3 years since I finished this tutorial series.
I am proudly happy about it!
grisu
21.07.2022How to make controlls with a xbox controller?
Rebot17
21.07.202215:32
Twaas
21.07.2022i dont understand 1 code in this whole tutorial..
nabil elgeziry
19.07.2022the first step made me accidentally delete my previous project from the last tutorial🥲
Small Kitten
19.07.2022only people that have a computer can make a game
Small Kitten
19.07.2022to put something in the same position, just copy the position of the objects position that you….. its self explanatory
Small Kitten
19.07.2022roblox studio
Lawson Axel-Loïc
19.07.2022You helped me so much!! Thank you for all your tutorials!!! 👏👏👏
Riccardo Romeo
19.07.2022if i click on the color barr of color over lifetime there is no pop up opening on screen to modify the opacity 🙁
SSIBENAC
19.07.2022Great stuff – THX! Excellent scripting style! So efficient! and so versatile!
Patataq000
19.07.2022Great tutorial but i have a problem
on the first game I did everything you did and when I press play the cubes launch into the sky
what should I do please someone help
nvm I fixed it
Squidloaf
19.07.2022HOW DID YOU MAKE THE HOUSE
munafen eakten
19.07.2022i really really love your work man!!! best tutorials in youtube 😍😍😍😍👌
Lukman Dadu
17.07.2022Bro your videos are very good but i have one problem and that is when i reach the basket it says 'error cant load the scene check build settings and asset bundle' bro plz tell me how to fix this and what is this asset bundle?
SpoodeyBoi
17.07.202227:23
Ompalompa Lompa
17.07.2022bölld settins <3
DiamondBoy VR
17.07.2022Amogus?
PSE
17.07.2022You ane the BEST!
Rosalba Vázquez García
17.07.2022What do you do in thoes days where you cant work on your game development process?
Billboard Sports Management
17.07.2022Hey mate any idea as to why my Unity crashes whenever I try to add the scripts to my scene?
Trenton Moody
17.07.2022Thank you for your amazing tutorials. Way better than brackys
Soap Js
17.07.2022best two hours of my life by watching both parts