Zigurous
Zigurous
  • 24
  • 1 900 657
How to make Conway's Game of Life in Unity (Complete Tutorial) ⬜⬛
Learn to make John Conway's Game of Life in Unity. Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves. It is Turing complete and can simulate a universal constructor or any other Turing machine.
0:00 - Intro
0:53 - Project Creation
1:43 - Scene Setup
5:46 - Tiles Setup
8:47 - Script Setup
11:55 - Defining a Pattern ScriptableObject
18:34 - Setting the Initial Pattern
26:00 - Creating a Simulation Loop
31:39 - Gathering Cells using Hash Sets
44:24 - Transitioning Cells / Game Rules
54:18 - Info Properties & Code Cleanup
57:42 - Pattern Examples
1:03:02 - Outro
🖥️ Source code and assets: github.com/zigurous/unity-game-of-life-tutorial
❤️ Support my work on Patreon: patreon.com/zigurous
👍 Subscribe for more Unity tutorials: czcams.com/users/zigurous
💬 Join the community Discord: discord.gg/DdYyWVb
⭐ Download my Unity assets: zigurous.com/assets
········································­­·······································­·­····
► Learn more about my work: zigurous.com
► Follow for news and updates: zigurous
#unity #unitytutorial #gamedev #unity3d #unity2d #gamedevelopment #indiegame #indiedev #madewithunity
zhlédnutí: 23 318

Video

How to make 2048 in Unity (Complete Tutorial) 🥈🧩
zhlédnutí 71KPřed rokem
Learn to make the popular puzzle game 2048 in Unity. 2048 is a puzzle game written by Italian web developer Gabriele Cirulli and published on GitHub. The objective of the game is to slide numbered tiles on a grid to combine them until reaching the number 2048. It was originally written in JavaScript and CSS over a weekend, and released on March 9th, 2014 as free and open-source software. 0:00 -...
How to make Wordle in Unity (Complete Tutorial) 📚✏️
zhlédnutí 35KPřed rokem
Learn to make the popular daily word game Wordle in Unity. Wordle is a web-based word game created and developed by Welsh software engineer Josh Wardle, and owned and published by The New York Times Company since 2022. Players have six attempts to guess a five-letter word, with feedback given for each guess in the form of colored tiles indicating when letters match or occupy the correct positio...
How to make Dino Game in Unity (Complete Tutorial) 🦖🌵
zhlédnutí 58KPřed rokem
Learn to make the 2D Google Chrome "Dinosaur Game" in Unity. The Dinosaur Game is a browser game developed by Google and built into the Google Chrome web browser. The player guides a pixelated Tyrannosaurus rex across a side-scrolling landscape, avoiding obstacles to achieve a higher score. The game was created by members of the Chrome UX team in 2014. 0:00 - Intro 0:39 - Project Creation 1:23 ...
How to make Super Mario Bros in Unity (Part 5) - Pipes, Underground, Castle
zhlédnutí 21KPřed rokem
Learn to make the classic 2D arcade game Super Mario Bros in Unity. Super Mario Bros is a platformer game developed and published by Nintendo for the NES game console. Players control Mario as they traverse the Mushroom Kingdom to rescue Princess Peach from Bowser. They traverse side-scrolling stages while avoiding hazards such as enemies and pits with the aid of power-ups such as the Super Mus...
How to make Super Mario Bros in Unity (Part 4) - Block Items, Coins, Powerups
zhlédnutí 16KPřed rokem
Learn to make the classic 2D arcade game Super Mario Bros in Unity. Super Mario Bros is a platformer game developed and published by Nintendo for the NES game console. Players control Mario as they traverse the Mushroom Kingdom to rescue Princess Peach from Bowser. They traverse side-scrolling stages while avoiding hazards such as enemies and pits with the aid of power-ups such as the Super Mus...
How to make Super Mario Bros in Unity (Part 3) - Enemies, Player Death, Level Reset
zhlédnutí 24KPřed rokem
Learn to make the classic 2D arcade game Super Mario Bros in Unity. Super Mario Bros is a platformer game developed and published by Nintendo for the NES game console. Players control Mario as they traverse the Mushroom Kingdom to rescue Princess Peach from Bowser. They traverse side-scrolling stages while avoiding hazards such as enemies and pits with the aid of power-ups such as the Super Mus...
How to make Super Mario Bros in Unity (Part 2) - Movement/Physics
zhlédnutí 55KPřed 2 lety
Learn to make the classic 2D arcade game Super Mario Bros in Unity. Super Mario Bros is a platformer game developed and published by Nintendo for the NES game console. Players control Mario as they traverse the Mushroom Kingdom to rescue Princess Peach from Bowser. They traverse side-scrolling stages while avoiding hazards such as enemies and pits with the aid of power-ups such as the Super Mus...
How to make Super Mario Bros in Unity (Part 1) - Level Design
zhlédnutí 78KPřed 2 lety
Learn to make the classic 2D arcade game Super Mario Bros in Unity. Super Mario Bros is a platformer game developed and published by Nintendo for the NES game console. Players control Mario as they traverse the Mushroom Kingdom to rescue Princess Peach from Bowser. They traverse side-scrolling stages while avoiding hazards such as enemies and pits with the aid of power-ups such as the Super Mus...
How to make Fruit Ninja in Unity (Complete Tutorial) 🍉🔪
zhlédnutí 59KPřed 2 lety
Learn to make the mobile arcade game Fruit Ninja in Unity. Fruit Ninja is a mobile game developed by Halfbrick Studios that released in April 2010 on the iOS App Store. In Fruit Ninja, the player slices fruit with a blade controlled via the touch screen. As the fruit is thrown onto the screen, the player swipes their finger across the screen to create a slicing motion, attempting to slice the f...
How to make Bomberman in Unity (Complete Tutorial) 💣💥
zhlédnutí 59KPřed 2 lety
Learn to make the classic 2D arcade game Bomberman in Unity. Bomberman is a video game franchise originally released in Japan in July 1983. Bomberman gameplay involves strategically placing down bombs, which explode in multiple directions after a certain amount of time, in order to destroy obstacles and kill enemies and other players. 0:00 - Intro 0:58 - Project Creation 1:43 - Importing Sprite...
How to make Centipede in Unity (Complete Tutorial) 🐛🍄
zhlédnutí 21KPřed 2 lety
Learn to make the classic 2D arcade game Centipede in Unity. Centipede is a 1981 fixed shooter arcade game developed and published by Atari. The primary objective is to shoot all the segments of a centipede that winds down the playing field. 0:00 - Intro 0:41 - Project Creation 1:25 - Importing Sprites 3:32 - Camera Setup 6:49 - Blaster Setup 8:40 - Blaster Movement 17:28 - Movement Barriers 22...
How to set up Visual Studio Code for Unity
zhlédnutí 160KPřed 2 lety
Visual Studio Code is a source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality. Visual Studio Code can be a great companion to Unit...
How to make Minesweeper in Unity (Complete Tutorial) 💣🏳️
zhlédnutí 36KPřed 2 lety
Learn to make the classic 2D puzzle game Minesweeper in Unity. Minesweeper is a single-player puzzle game that originated in the 1960s. The objective of the game is to clear a rectangular board containing hidden "mines" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field. 0:00 - Intro 0:55 - Project Creation 1:56 - Importing Sprites ...
How to make Donkey Kong in Unity (Complete Tutorial) 🦍🍌
zhlédnutí 46KPřed 2 lety
Learn to make the classic 2D arcade game Donkey Kong in Unity. Donkey Kong is a 1981 arcade platform video game released by Nintendo. Its gameplay maneuvers Mario across platforms to ascend a construction site and rescue Pauline from the giant gorilla named Donkey Kong, all while avoiding or jumping over obstacles. It is the first game in both the Donkey Kong and Mario franchises. 0:00 - Intro ...
How to make Flappy Bird in Unity (Complete Tutorial) 🐤💨
zhlédnutí 245KPřed 2 lety
How to make Flappy Bird in Unity (Complete Tutorial) 🐤💨
How to make Frogger in Unity (Complete Tutorial) 🐸🚘
zhlédnutí 35KPřed 2 lety
How to make Frogger in Unity (Complete Tutorial) 🐸🚘
How to make Brick Breaker in Unity (Complete Tutorial) 🧱🏓
zhlédnutí 76KPřed 2 lety
How to make Brick Breaker in Unity (Complete Tutorial) 🧱🏓
How to make Tetris in Unity (Complete Tutorial) 🧩🧱
zhlédnutí 153KPřed 2 lety
How to make Tetris in Unity (Complete Tutorial) 🧩🧱
How to make Pacman in Unity (Complete Tutorial) 🟡🍒
zhlédnutí 138KPřed 3 lety
How to make Pacman in Unity (Complete Tutorial) 🟡🍒
How to make Space Invaders in Unity (Complete Tutorial) 👾🛸
zhlédnutí 86KPřed 3 lety
How to make Space Invaders in Unity (Complete Tutorial) 👾🛸
How to make Asteroids in Unity (Complete Tutorial) 🚀🌑
zhlédnutí 101KPřed 3 lety
How to make Asteroids in Unity (Complete Tutorial) 🚀🌑
How to make Pong in Unity (Complete Tutorial) 🏓💥
zhlédnutí 121KPřed 3 lety
How to make Pong in Unity (Complete Tutorial) 🏓💥
How to make Snake in Unity (Complete Tutorial) 🐍🍎
zhlédnutí 184KPřed 3 lety
How to make Snake in Unity (Complete Tutorial) 🐍🍎

Komentáře

  • @MariaS-k3j
    @MariaS-k3j Před 12 hodinami

    how to add sound effects?

  • @Ranmakgames
    @Ranmakgames Před 13 hodinami

    19:31 How did you write this ⩾ I copied from the site, pasted it, but the vs code does not save and the error CS1026 😐

  • @TGMS77
    @TGMS77 Před 4 dny

    Slow enough to understand and fast enough to make me feel smart for getting it xD Great video!

  • @RohitKumarRag
    @RohitKumarRag Před 5 dny

    How can we add like this " If There Game is over there will be a new Button on game over scene if user click on this button then it will Resume the game after watching a Rewarded Ads" I am Just Want to add that user can see rewarded ads and get revive or resume to the present game, it will not reset the game.

  • @PrinceDade
    @PrinceDade Před 7 dny

    Thank you so mucj man. I'm starting to learn how to code in Unity 3D and I should say that I love your way of explaining things. Did you do also any 3D game or only 2D games?

  • @RohitKumarRag
    @RohitKumarRag Před 7 dny

    How can we add Swipe up Down Left Right for Android Mobile in this game

  • @truthreveal26
    @truthreveal26 Před 7 dny

    thank you so much. it was helpful and to the point tutorial.

  • @noobemath
    @noobemath Před 8 dny

    Thanks I'm learning a lot from this. at 20:26 I wish you showed us another way to change the speed of the snake rather than changing Fixed Timestep. It won't cause problems here but I think it's a bad habit maybe.

  • @valuche5105
    @valuche5105 Před 8 dny

    Hi, I know this vid has been up for a while but I'm having issues with GhostHome. I basically copied everything down to the T but my Ghosts don't come outside of the home area at all. Do you know a solution?

  • @kripak8144
    @kripak8144 Před 8 dny

    Fantastic tutorials, for me learning practical stuff is much more useful than dry theory with documentation, and the way you break the whole game into small digestible pieces, and how eloquently you explain each part and connect it all together is just fascinating. Huge props for your organization and explanation skills, they're exceptional

  • @barrierwins
    @barrierwins Před 9 dny

    how did u gett dark blocks or sum i don't know

  • @iamQuicklearner
    @iamQuicklearner Před 10 dny

    I am glad to tell you that your snake game tutorial helped me in 2024!

  • @YaBoy-o1f
    @YaBoy-o1f Před 14 dny

    This channel is amazing and the tutorials as well. Have never seen a channel that calmly explains everything in detail, providing many good lessons. I have 0 experience in Unity or C#, and i did it while having fun and getting the best support. I encourage everyone to try it and support his Chanel. Amazing Work

  • @hoseinaghatvlearn5708

    very good

  • @othrys5458
    @othrys5458 Před 15 dny

    Clearly one of the best tutorials on CZcams. Keep it up!

  • @NotGamerMX
    @NotGamerMX Před 15 dny

    Bro where can i get sprites

  • @JinjoJinjoJinjo
    @JinjoJinjoJinjo Před 20 dny

    For anyone following I thing it's a good idea to set the sprite pivot on most things to be the bottom left so everything aligns with unity's grid and makes placed a repeated tile like the ground much easier!

  • @AAHyo
    @AAHyo Před 20 dny

    I just tried to make tetris with just rigidbodys and changing the transform.position every second. it's an absolut mess xD

  • @rozalindachesebro
    @rozalindachesebro Před 22 dny

    I literally came to this video to see how you handled the bunker physics because I'm making my own clone of Space Invaders, only to realize that's one of the only things you left out of here lol

  • @surajmadhushan584
    @surajmadhushan584 Před 22 dny

    Thank you so much , nuce tutorial, learn a lot

  • @Redsam121
    @Redsam121 Před 22 dny

    I think this game needs an AI for the enemy, so you play against the computer.

  • @_samuro_
    @_samuro_ Před 24 dny

    thank you for this lesson! I really rethought things that I couldn't understand before

  • @DEFYED
    @DEFYED Před 25 dny

    Great tutorial. Very concise and well explained. Thank you!

  • @anuraagchandra2548
    @anuraagchandra2548 Před 25 dny

    The background music is so irritating bro. It ruined the video for me.

  • @nicolasfonseca1660
    @nicolasfonseca1660 Před 25 dny

    LEGEND!

  • @Huedini74
    @Huedini74 Před 27 dny

    I started playing around with Game Maker, then UE5, then Godot, and now Unity. Programming has been the biggest hurdle for me, so I am also watching other C# tutorials. This has been a very well-paced tutorial and explained well. Thank you!

  • @alsowow
    @alsowow Před 28 dny

    A fun tip for people who just finished the tutorial is to add some more things to your game with the things you learned throughout the tutorial! like a simple highscore counter for example

  • @maxlamina
    @maxlamina Před 29 dny

    I wish his UI was a bit bigger. It's hard to know what he's doing sometimes

  • @sushwetabhattacharya
    @sushwetabhattacharya Před 29 dny

    My texts (as in the numbers 2, 4, 8 ) are appearing as blurred/ pixelated how to resolve this?

  • @danthon1267
    @danthon1267 Před měsícem

    34:03 OH NO I'm not supposed to be here

  • @os8323
    @os8323 Před měsícem

    2:06:39

  • @os8323
    @os8323 Před měsícem

    2:02:11

  • @styline_0947
    @styline_0947 Před měsícem

    Does anyone else have this issue when the character touches the ground it starts colliding with the ground and starts shaking or something. Like in this part 35:38 his player isn't moving but mine is going up and down like shaking. If yes please reply on how to fix it.

  • @danielabe4703
    @danielabe4703 Před měsícem

    if anyone is struggling with the score and play button then its probably on debug mode and you have to turn it off

  • @elyyy.o_o
    @elyyy.o_o Před měsícem

    🙌hands down! good teacher thank u so muchhhhh!

  • @macmartinez2
    @macmartinez2 Před měsícem

    Excellent video. THNKS😁

  • @Kmir-uh2wk
    @Kmir-uh2wk Před měsícem

    This is an amazing tutorial. Thank you so much. Keep it up.

  • @Yomammaisfugly
    @Yomammaisfugly Před měsícem

    ytr

  • @gabrielbrito534
    @gabrielbrito534 Před měsícem

    Alguém me ajuda eu estou preso na parte do fantasma vermelho que não anda à volta do mapa Alguém pode ajudar

  • @alexanderthegreat4817
    @alexanderthegreat4817 Před měsícem

    3:07:36

  • @DepasuEmiroglue
    @DepasuEmiroglue Před měsícem

    bagaimana caranya jika Player yang lain adalah AI? apakah itu bisa?dan bagaimana menulis scriptnya? :) terimakasihhhh

  • @tak2218
    @tak2218 Před měsícem

    So im at 2:56:00 and my ghost wont leave home, i also have ResetState error in PacmanEaten and " 'Ghost_Clyde' is inactive". How can i fix this?

  • @robledes
    @robledes Před měsícem

    It's a shame that this channel has stopped having content. I hope one day its creator will take it up again since his tutorials are excellent.

  • @alexanderthegreat4817
    @alexanderthegreat4817 Před měsícem

    2:53:51

  • @explorerarupam4017
    @explorerarupam4017 Před měsícem

    It only works for me i think i tried it and it worked😅

  • @explorerarupam4017
    @explorerarupam4017 Před měsícem

    Wow 😮

  • @asmrwithus9368
    @asmrwithus9368 Před měsícem

    Hey guys! Im currently 25 minutes in to the video, but my script for the playerpaddle dosent work.(I cant control it) I dont know what i did wrong. Can someone pls help me.?I am using Visual studio code. Here is the code: using UnityEngine; public class PlayerPaddle : Paddle { private Vector2 _direction; private void Updte() { if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.UpArrow)){ _direction = Vector2.up; } else if(Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.DownArrow)){ _direction = Vector2.down; } else { _direction = Vector2.zero; } } private void FixedUpdate() { if(_direction.sqrMagnitude != -1) { _rigidbody.AddForce(_direction * this.speed); } } } Thanks for your help.

    • @francescotesti3017
      @francescotesti3017 Před měsícem

      Try by using the axis You first create a public float called VerticalSpeed, by writing public float VerticalSpeed; And a speed by writing Public float speed = 1.0f; ( of course you can change the number whenever you want). Then, in the void update method you write VerticalSpeed = Input.GetAxis("Vertical") ( it must have capital "V", otherwise it won't work). Then, you will write transform.Translate(Vector2.up * Time.deltaTime * VerticalSpeed * speed); And, it should work, hopefully, I hope I've helped you.

  • @elabtech_DIY
    @elabtech_DIY Před měsícem

    thank u

  • @huzaifaarsalan
    @huzaifaarsalan Před měsícem

    thanks a lot for this.

  • @user-kk9le4yc1f
    @user-kk9le4yc1f Před měsícem

    I need to do same tetris program, but i also need to show next falling piece, and i dont kow how i can do that.