Pandemonium
Pandemonium
  • 41
  • 2 792 706
STOP Making This Unity Mistake!
Today I want to share a quick Unity tip on how to easily and properly modify script execution order of your singleton classes in order to avoid null references.
➤ Help me out by supporting the channel on Patreon: www.patreon.com/pandemonium_games
Social Media & other stuff:
➤ Join the Discord Channel: discord.gg/eVDD5m9
➤ Instagram: pandemonium_games
➤ Twitter: PandemoniumNick
➤ Itch: nickbota.itch.io/
0:00 Intro
1:35 Outro
Tags: I Wish I Knew This Before Starting my Unity Game,unity quick tip,unity game,game development,unity tutorial,unity beginner tips,unity for beginners,unity script execution order,unity singleton pattern,unity null refs,Starting my Unity Game,unity coding tips,unity quick tips,unity singleton base class,unity singleton,indie game dev,unity programming tips,unity programming,I wish I knew this Unity tip,I wish I knew Unity,unity nullreferenceexception,unity
zhlédnutí: 1 222

Video

I Made a Game in 2.5 DAYS
zhlédnutí 2,3KPřed rokem
Short story about the most recent game I made for GameDev.TV's game jam. ➤ Support the channel on Patreon for 5$ and get the complete project: www.patreon.com/pandemonium_games ➤ You can play the game here: pandemonium-games.itch.io/dreamscape The main takeaway here is to focus on prototyping early and coming up with the mechanics first if you want to make a fun game. My approach was opposite s...
Unity 3D Hyper Casual Game Tutorial - #3 CAMERA MOVEMENT
zhlédnutí 16KPřed rokem
In this episode of our Hyper Casual Game Tutorial we're going to implement camera movement and rotation. ➤ Support the channel on Patreon: www.patreon.com/pandemonium_games Social Media & other stuff: ➤ Play Hyper Crusher: play.google.com/store/apps/details?id=com.PandemoniumGames.HyperCrusher ➤ Free GitHub Project: github.com/nickbota/HyperCrusher ➤ Join the Discord Channel: discord.gg/eVDD5m9...
Unity 2D Platformer for Complete Beginners - #15 PAUSE MENU
zhlédnutí 47KPřed rokem
In this episode we'll add the ability to pause the game and a pause menu with some cool options like changing the volume of the sounds and music. We'll also discuss regions and PlayerPrefs. ➤ Support the channel on Patreon: www.patreon.com/pandemonium_games Subscribe and turn on the notifications if you don't want to miss the next episode! ➤ Complete project: github.com/nickbota/Unity-Platforme...
Working in Unity Be Like
zhlédnutí 2,3KPřed rokem
Don't take this seriously, just meming a bit😁 ➤ Support the channel on Patreon: www.patreon.com/pandemonium_games Credits: ➤ Mr Bean Waiting: czcams.com/video/hgDisbBapFM/video.html&ab_channel=MrBean ➤ Sweaty Speedrunner: czcams.com/video/Jb9Ebe_rA8M/video.html&ab_channel=BobuxDoesMemes ➤ Detecting Objects with Raycasts by World of Zero: czcams.com/video/vqc9f7HU-Vc/video.html&ab_channel=Worldo...
Unity 3D Hyper Casual Game Tutorial - #2 GRAPHICS
zhlédnutí 18KPřed rokem
In this episode of our Hyper Casual Game Tutorial we're going to upgrade the graphics! ➤ Support the channel on Patreon: www.patreon.com/pandemonium_games Episode Resources: ➤ Player Model: www.mediafire.com/file/2yti9z1famergl6/PlayerModel_Rigged.fbx/file ➤ Arrow Texture: www.mediafire.com/file/s3muxsoydjmm454/RoadTexture.png/file ➤ Finish Line: www.mediafire.com/file/2h4u3bo668ou1p8/FinishLin...
Unity 3D Hyper Casual Game Tutorial - #1 MOVEMENT
zhlédnutí 37KPřed rokem
In this episode of our Hyper Casual Game Tutorial we're going to set up the movement system and explore the Path Creator asset. ➤ Support the channel on Patreon: www.patreon.com/pandemonium_games ➤ Play Hyper Crusher: play.google.com/store/apps/details?id=com.PandemoniumGames.HyperCrusher ➤ Path Creator Asset: assetstore.unity.com/packages/tools/utilities/b-zier-path-creator-136082 ➤ Free GitHu...
Unity 3D Hyper Casual Game Tutorial
zhlédnutí 21KPřed rokem
➤ Support the channel on Patreon: www.patreon.com/pandemonium_games ➤ Play Hyper Crusher: play.google.com/store/apps/details?id=com.PandemoniumGames.HyperCrusher We're finally launching a new series on how to make a hyper casual runner game in Unity! Stay tuned, full series incoming. ➤ Sebastian's Channel: czcams.com/users/SebastianLague ➤ Free GitHub Project: github.com/nickbota/HyperCrusher ➤...
Unity How to Use PUBLIC Variables
zhlédnutí 4,9KPřed 2 lety
Let's take a look at how to use public variables properly. Subscribe and turn on the notifications if you don't want to miss the next video! ➤ Discord : discord.gg/eVDD5m9 ➤ Patreon: www.patreon.com/pandemonium_games?fan_landing=true ➤ Instagram: pandemonium_games ➤ Twitter: PandemoniumNick ➤ Itch: nickbota.itch.io/ #pandemonium #unitycoding #unity3d #unity Tags: unit...
Unity 2D Platformer for Complete Beginners - #14 GAME OVER
zhlédnutí 44KPřed 2 lety
In this episode we'll add a proper game over scenario and a game over screen with some options. ➤ Font: mega.nz/file/OodiRZYY#ctiGxgrES_R2FcFL11gzCEMox-g8W3mIbI8-UfndTao ➤ Game Over Sound: mega.nz/file/qwt3wYYK#NdQxCrt0Vzq0MDzdNWGdb9Q7sZJAzIS9P8y9osVQQ24 ➤ Complete project: github.com/nickbota/Unity-Platformer-Episode-14 Subscribe and turn on the notifications if you don't want to miss the next...
Unity 2D Platformer for Complete Beginners - #13 CHECKPOINTS & RESPAWN
zhlédnutí 47KPřed 2 lety
In this episode we'll add checkpoints and the ability to respawn the player after dying. ➤ Checkpoint Sound: mega.nz/file/KxNSRS6L#Sw4eB5LEKRVbNyfz0aleRH3B-Te36AHKm7RVOLID-xc ➤ Complete project: github.com/nickbota/Unity-Platformer-Episode-13 Subscribe and turn on the notifications if you don't want to miss the next episode! ➤ Discord : discord.gg/eVDD5m9 ➤ Patreon: www.patreon.com/pandemonium_...
Unity 2D Platformer for Complete Beginners - #12 ADVANCED JUMPING
zhlédnutí 35KPřed 2 lety
In this episode we'll add the following features to our 2D platformer: controllable jump height, coyote time, double jumping (triple jumping etc.) and finally fix the wall jumping. ➤ Complete project: github.com/nickbota/Unity-Platformer-Episode-12 Subscribe and turn on the notifications if you don't want to miss the fourth episode! ➤ Discord : discord.gg/eVDD5m9 ➤ Patreon: www.patreon.com/pand...
I Made a Christmas Game in 3 Hours (But I'm 3 Weeks Late)
zhlédnutí 4,3KPřed 2 lety
I made a Christmas game in 3 hours about Santa catching presents. I dunno, it's pretty stupid but hey, this is my own game jam, I make the rules! This is kind of a devlog and a new format so let me know what you think about this idea and it we should continue it or not. ➤ Play Hectic Santa here: pandemonium-games.itch.io/hectic-santa ➤ Vote if this becomes a tutorial here: czcams.com/users/post...
Unity 2D Platformer for Complete Beginners - #11 AUDIO
zhlédnutí 49KPřed 2 lety
Unity 2D Platformer for Complete Beginners - #11 AUDIO
Unity 2D Platformer for Complete Beginners - #10 ENEMIES
zhlédnutí 156KPřed 2 lety
Unity 2D Platformer for Complete Beginners - #10 ENEMIES
LEVEL/CAR/WEAPON Selection with Unity Scriptable Objects
zhlédnutí 24KPřed 2 lety
LEVEL/CAR/WEAPON Selection with Unity Scriptable Objects
Unity 2D Platformer for Complete Beginners - #9 TRAPS
zhlédnutí 92KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #9 TRAPS
Unity 2D Platformer for Complete Beginners - #8 IFRAMES
zhlédnutí 62KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #8 IFRAMES
Unity 2D Platformer for Complete Beginners - #7 HEALTH SYSTEM
zhlédnutí 133KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #7 HEALTH SYSTEM
Unity 2D Platformer for Complete Beginners - #6 CAMERA MOVEMENT
zhlédnutí 88KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #6 CAMERA MOVEMENT
Unity 2D Platformer for Complete Beginners - #5 GRAPHICS
zhlédnutí 99KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #5 GRAPHICS
Unity 2D Platformer for Complete Beginners - #4 SHOOTING
zhlédnutí 189KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #4 SHOOTING
Unity SHOP SYSTEM Tutorial
zhlédnutí 31KPřed 3 lety
Unity SHOP SYSTEM Tutorial
DOOM Status Bar Face Unity UniRx
zhlédnutí 6KPřed 3 lety
DOOM Status Bar Face Unity UniRx
Unity 2D Platformer for Complete Beginners - #3 WALL JUMPING
zhlédnutí 192KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #3 WALL JUMPING
Unity EASY SAVE Tutorial
zhlédnutí 26KPřed 3 lety
Unity EASY SAVE Tutorial
Unity 2D Platformer for Complete Beginners - #2 ANIMATION
zhlédnutí 333KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #2 ANIMATION
Unity 2D Platformer for Complete Beginners - #1 PLAYER MOVEMENT
zhlédnutí 840KPřed 3 lety
Unity 2D Platformer for Complete Beginners - #1 PLAYER MOVEMENT
Undertale DIALOGUE in Unity (Episode 2)
zhlédnutí 16KPřed 4 lety
Undertale DIALOGUE in Unity (Episode 2)
SELECTION MENU in Unity
zhlédnutí 46KPřed 4 lety
SELECTION MENU in Unity

Komentáře

  • @concertence
    @concertence Před 12 hodinami

    what if i replace the current dragon character, to my own character?

  • @sterben5792
    @sterben5792 Před 13 hodinami

    Okay so whenever I shoot a fireball, it goes through the wall, instead of exploding. I have set the fireballs to "IsTrigger" and my code is exactly the same as shown in the video. I have also added animation events at 0.25 for all fireballs, selecting the Deactivate() method. Please help me out cuz I've been stuck here for a couple of days now, tryna fix this error :(

  • @akunrandom730
    @akunrandom730 Před 16 hodinami

    Why isn't my jump as high as yours?

  • @gnasimmunir
    @gnasimmunir Před 19 hodinami

    I followed the tutuorial but now what i do there is no win game system, no score counting, no high score thing, what i do now

  • @concertence
    @concertence Před dnem

    when it moves i literally scream *It's alive!!!*

  • @couchbrogames7499
    @couchbrogames7499 Před dnem

    good tutorial

  • @fundaygamet9437
    @fundaygamet9437 Před 2 dny

    Hey, thanks for the tutorial series! It's really helpful. Although I was just wondering if you can help me with this error (at 2:16) in the video. I did the code, yet I keep getting error CS1001, saying that "Identifier expected" for the line where "public void MoveToNewRoom(Transform_newRoom)" is. Here is my code public class CameraController : MonoBehaviour { [SerializeField] private float speed; private float currentPosX; private Vector3 velocity = Vector3.zero; private void Update () { transform.position = Vector3.SmoothDamp(transform.position, new Vector3(currentPosX, transform.position.y, transform.position.z), ref velocity, speed * Time.deltaTime); } public void MoveToNewRoom(Transform_newRoom) { currentPosX = _newRoom.position.x; } } Help would be greatly appreciated-been stuck on this error for days!😅

    • @PandemoniumGameDev
      @PandemoniumGameDev Před 2 dny

      Hey there, can you tell me what line exactly it points you to when you double click on the error? DM me on Discord if it's easier

  • @dkordy
    @dkordy Před 2 dny

    If it happens that at the moment when you are injured and you have the last health, if you run into a saw and you accidentally pick up a heart that happens to be nearby, the player will die but you will be given a heart. So it's a bug - and it should be fixed.

    • @dkordy
      @dkordy Před 2 dny

      And I think it would be good to add some max-health. I mean why those eight extra sprites that are hidden? unless maybe in the future you will add that there is a maxhealth?

  • @n5studios30
    @n5studios30 Před 2 dny

    i am having a animat event has no function name specfied kindly help me

  • @ONLYANOOBIE
    @ONLYANOOBIE Před 3 dny

    great and easy explanaition,you are a god in coding!

  • @scornfulape
    @scornfulape Před 3 dny

    So when i got to the code and type in the rigidbody thing it like didnt work so what do i do?

  • @Paul-Jean
    @Paul-Jean Před 3 dny

    Thanks for these useful advices, I'd like to know if coroutines are more optimized than invoke? (I'm not sure of the method for measuring this) And especially what happens if you disable and enable the script/component or the entire game object concerned? Does the invoke or coroutine stop automatically?

  • @tritorch
    @tritorch Před 3 dny

    Hi there, i'm looking to hire someone to help make a game for my son. Are you interested?

  • @YETOHMUSTTH
    @YETOHMUSTTH Před 4 dny

    Dude this is just the best way to teach. Straight up necessary implementation.

  • @saini_plays4357
    @saini_plays4357 Před 7 dny

    i am facing the issue and that is i am not getting the true value even when i am facing towards the wall

  • @goofyahhkiller
    @goofyahhkiller Před 8 dny

    what is this intro brother 😭😭

  • @leonidzolotarov5059
    @leonidzolotarov5059 Před 10 dny

    It woks, thank you

  • @Alzheimer-CROISSANT
    @Alzheimer-CROISSANT Před 11 dny

    The problem i found was that it kept saying all compiler erros have to be fixed before you can enter playmode! Any tips

  • @paulzickermann2913
    @paulzickermann2913 Před 11 dny

    Where does the EnemyProjectile in: projectiles[FindFireball()].GetComponent<EnemyProjectile>().ActivateProjectile(); come from?

  • @yongqin7293
    @yongqin7293 Před 12 dny

    hi why is my firepoint always spawning on the right even if my player is facing to the left and the fireball is going to the right direction

  • @ninjakiwigames5418
    @ninjakiwigames5418 Před 13 dny

    A reminder if the health bar doesn't work for you: Link the scripts to your player!

  • @janlip0849
    @janlip0849 Před 13 dny

    thanks man this helps a lots for a poor plebian like me who wants to create a simple free games <3 quick question how can you move the character i cant seem to move them using W,A,S,D i followed every steps in the tutorial

  • @Dlusinyants
    @Dlusinyants Před 14 dny

    Hey guys. Just wanted to add a quick comment about a problem I spent a while trying to solve here. My projectile was firing very quickly and then the explosion animation was popping up way too fast and before it collided with the wall. After checking and seeing that I have a speed set on all of my fireballs and a cooldown of 0.5 on my player, I had to dig deeper to find the root cause of my issue. It turns out that when you have the box collider enabled on your fireballs, you MUST set the squares around each of them tightly (frame every fireball closely) for them to move properly and explode when collision occurs. Hope this helps someone out there.

  • @andreasiano5953
    @andreasiano5953 Před 14 dny

    I realized that when I kill the enemy it also triggers the game over canvas

  • @Lucas-mo1ko
    @Lucas-mo1ko Před 14 dny

    If you're experiencing some issues with render order of each object, try to add Sorting Layers , where you can actually order them to have a better control over what is in front and what is behind a scene

  • @weathyx123
    @weathyx123 Před 15 dny

    hi im on the first episode of your hyper casual game series in the movement part how do you connect the curly brackets with dotted lines thanks

  • @LAZzZ2502
    @LAZzZ2502 Před 18 dny

    Is this web application or desktop application?

    • @PandemoniumGameDev
      @PandemoniumGameDev Před 17 dny

      @@LAZzZ2502 you mean Unity or the game itself? Unity is desktop. The game is desktop by default but you can easily port it to web and other platforms

    • @LAZzZ2502
      @LAZzZ2502 Před 13 dny

      Thank you for your help please guide me further if I ask any questions

  • @FreeUkiyo
    @FreeUkiyo Před 18 dny

    Im pretty behind but when i shoot my fireballs they come out perfect but my character gets stuck in its animation ive tried playing around with the attack animator and nothings helped does anyone know what could be the issue here? maybe its something with the code? I know idle>attack has no exit time and attack>idle does which is how i have it but its the same result it gets stuck in animation. Please help Thank you!

  • @alekplayer1
    @alekplayer1 Před 18 dny

    so when i start writing the script it wont recongnize rigidbody2d(it wont show it in green text) im new to codeing so i have zero clue as to what to do

    • @PandemoniumGameDev
      @PandemoniumGameDev Před 18 dny

      @@alekplayer1 take a look at the pinned comment, point 1 specifically

    • @alekplayer1
      @alekplayer1 Před 18 dny

      @@PandemoniumGameDev sorry about that. guess i need glasses

    • @PandemoniumGameDev
      @PandemoniumGameDev Před 18 dny

      @@alekplayer1 you're good, happens to everyone

  • @daryelcetz1410
    @daryelcetz1410 Před 19 dny

    I closed the project and saved it. Now i opened again and i can't jump and i don't know why :(

  • @ShadowCraft1118
    @ShadowCraft1118 Před 19 dny

    whenever my enemy attacks the player he just doesnt move afterwards , i tried using if (idleTimer >= 2) anim.setBool("moving", true); and also tried if(idleTimer >= 2) MoveInDirection(1); but nothing worked can someone help me

  • @T4RIHCIBEKIR
    @T4RIHCIBEKIR Před 20 dny

    How can i lock the cars again

  • @hideShort
    @hideShort Před 21 dnem

    Hello, Im doing a 2d game and I want to know how can I do some loadout system, for example like when you play csgo or cod, when you want to switch guns etc etc...

  • @iseeeverything
    @iseeeverything Před 22 dny

    I got to this part and have been stuck for about 3 hours. Instead of respawning at the checkpoint, my player dies at the spike, but the death animation dont play. The player can still move around, and the health bar does not regenerate. Did I mess up somewhere?

  • @programmkia
    @programmkia Před 22 dny

    come onnnn where is the new part is oneeee yearrrs brooo😢😂

  • @iseeeverything
    @iseeeverything Před 22 dny

    Hello! Can you please make a quick guide on how to play a random sound when the player is hurt? For example, if player is hurt, they play one of four random sound effects instead of just one.

  • @the-man-1520
    @the-man-1520 Před 22 dny

    When do you add the Enemy Projectile?

  • @YourFriendElijah
    @YourFriendElijah Před 23 dny

    Walking code isn’t working for me, not useful at all

  • @codeyds6769
    @codeyds6769 Před 23 dny

    Bro you saved me this is by far the best tutorial on movement you earned a sub

  • @emminate
    @emminate Před 23 dny

    didnt even work on the first try :/ dialogueline dont even work

  • @iqrajabeen223
    @iqrajabeen223 Před 25 dny

    why can't you upload full game sir

  • @KingBob_Stinky
    @KingBob_Stinky Před 25 dny

    1:47

  • @RYTG
    @RYTG Před 25 dny

    its fun, i keep bumping into issues and by not giving up and fixing my own mistakes, i made it trough :p guys if you bump into issues you probably typed something wrong, just check the code, if it gives you an error, look at the lines its telling you the error is on or google the error to figure out what its refering to. the next episode is mush easyer trust me.

  • @RYTG
    @RYTG Před 25 dny

    man , there is such a huge difference in difficulty between the scripting and the visual side, this episode was EASY compared to the other ones :p

  • @OlekBylewski
    @OlekBylewski Před 27 dny

    unity is still downloading (0/3) after w days

  • @ShadowCraft1118
    @ShadowCraft1118 Před 27 dny

    my health bar aint taking damage can someone please help me ive tried everything

  • @ShadowCraft1118
    @ShadowCraft1118 Před 28 dny

    for some reason after making the level i couldnt attack does anyone know why?

  • @merableamber
    @merableamber Před 28 dny

    Health.cs(16,17):error CS0111: Type 'Health' already defines a member called 'TakeDamage' with the same parameter types Health.cs(10,18):error CS0111: Type 'Health' already defines a member called 'Awake' with the same parameter types I'm struggling with this an I don't know what to do about it, please help🙏

  • @OfficialKairoStudio
    @OfficialKairoStudio Před 28 dny

    Please make part 4!!

  • @DREWGRATITUDE
    @DREWGRATITUDE Před 28 dny

    Best tutorial video I could find, you actually explain what the code is doing :)