semikoder
semikoder
  • 22
  • 349 246
How to make The Best First Person Camera in Unity
I've been playing around with different camera configurations in Unity to achieve a non-jittery camera and I think I might've come across the best solution.
Timestamps:
0:00 - Introduction
0:42 - Chapter 1: Understanding the problem
1:45 - Chapter 2: FixedUpdate vs Update
4:56 - Chapter 3: The solution
5:17 - Chapter 4: The solution part 2
6:18 - Chapter 4: The solution part 3
#unity
--
Music used:
Daystar - Lemon Cake
A Hat in Time - Train Rush [Remix] by Qumu
Cinematic - Aylex
Fortune - Kyatto
Lamp - Kyatto
Once - RYU ITO MUSIC
Переглядів: 8 202

Відео

Why I Changed My Game Entirely | Unity Devlog
Переглядів 3,3 тис.4 місяці тому
Yet again, it's been a long time since I uploaded Project Terminal devlog. This time I reworte my entire game... I cannot believe I've done this. Timestamps: 0:00 - Introduction 0:18 - Chapter 1: Movement Juiciness 2:01 - Chapter 2: Enemy and Combat Rewrite #devlog #unity Music used: BuGuMi - Today's diary Sharou - Cassette Tape Dream Go Go Wonderland - beco (Noiseless World) Old World Saga - H...
Why No Game Can Replace Minecraft
Переглядів 1,2 тис.10 місяців тому
In this video, I talk about why Minecraft is one of the greatest game ever created and why most of us consider Minecraft as our childhood game. This video isn't what I normally post on my channel, if you like these type of analysis videos, definitely let me know and I'll consider making more. Timestamps: 0:00 - Intro 0:15 - Why Minecraft is so fun 3:01 - What makes Minecraft so nostalgic? 4:41 ...
I made a HARD Speedrunning Game
Переглядів 909Рік тому
Link to the game: semikoder.itch.io/looped This time, I made a first person, parkour speedrunning game called Looped. Timestamps: 0:00 - Introduction 0:14 - What is a speedrunning game? 1:13 - Looped 2:25 - Little bit of development 3:28 - Gameplay Design 6:01 - Gameplay #devlog #unity #speedrun
AI Learns to Fight | Unity Devlog
Переглядів 1,6 тис.Рік тому
It's been a long time since I uploaded Project Terminal devlog. This time I mainly focused on fixing the combat and the AI. The AI still needs more configuration and training to be done, but it will get there soon! Timestamps: 0:00 - Introduction 0:23 - Chapter 1: Elastic Rope Fix 3:26 - Chapter 2: Combat Rework 5:33 - Chapter 3: Training AI #devlog #unity #ai Music used: Super Mario Galaxy "Ga...
How to make a realistic FPS game in Unity (April Fools)
Переглядів 11 тис.Рік тому
here's a tutorial. Music used: Sonic Mania OST - Mirage Saloon Act 2 Blue Archive OST 7. - Unwelcome School 太田名人 - Push! itachi - swing Pop Conjurer Theme - Conjurer
I Started Making My DREAM Game | Unity Devlog
Переглядів 932Рік тому
I decided to work on a second project... Timestamps: 0:00 - Introduction 0:23 - Chapter 1: Movement 2:42 - Chapter 2: Backpack 5:19 - Chapter 3: Enemies 6:02 - Conclusion 6:28 - Regarding Project Terminal #devlog #unity #gamedev Music used: おぽるぽるMusic - となでいたい A Hat in Time - Train Rush [Remix] by Qumu Blue WednesDay - New Shoes Turbo - Il vento d'oro (eurobeat remix) Lvly - Dive (Instrumental)...
How to generate Free Game Assets using AI
Переглядів 71 тис.Рік тому
In this video, I generated free usable game assets (textures, sprites, spritesheets, etc.) by using various AIs such as DALL E 2, Stable Diffusion, Midjourney and so on. Links: Stable Diffusion Google Colab: github.com/camenduru/stable-diffusion-webui-colab Prompts used: Textures: high quality texture of [desired texture name], blender, substance painter, seamless Sprites: 2d [desired sprite na...
7 Years of Learning Game Development in 7 Minutes
Переглядів 22 тис.Рік тому
In this video, I'll be explaining my 7 years of learning game development in 7 minutes. This video isn't intended to be a "tips and tricks" video, but rather it's a video where I just walk you through my game development journey. #unity #gamedev Music used: Daystar - Puberty on a summer day Qumu - Need to Find a Way Qumu - Awake Now Qumu - Minecraft Sweden [Remix] Safu - Twinkle zukisuzuki - Ye...
I Added a Boss Fight to My Game | Unity Devlog
Переглядів 5 тис.Рік тому
This time I fixed various bugs I didn't fix and kept hidden. Fixing those bugs surprisingly took a long time for me to figure out. Apart from that, I've also started adding a boss fight to my game as I mentioned in my previous devlog. Timestamps: 0:00 - Intro 0:42 - Chapter 1: Fixing Bugs 2:48 - Chapter 2: Lighting Improvements 5:00 - Chapter 3: Boss Fight 7:02 - Chapter 4: Elastic Rope 8:51 - ...
Unity Dev Tries Godot For The First Time
Переглядів 137 тис.2 роки тому
In this video, I, an experienced Unity developer will try out Godot game engine. There had been several controversies regarding Unity Technologies decisions recently, which made some Unity game developers to stay away from Unity. Game developers stated trying out different game engines, especially Godot. Timestamps: 0:00 - Introduction 0:51 - Godot Introduction 3:09 - Actually "Learning" Godot ...
How I Improved My Game Map | Unity Devlog
Переглядів 3,3 тис.2 роки тому
Another video of me trying to make a good map in Unity without any prior level design experience. I don't think I'll make more Project Terminal devlogs where I talk about the map in the main focus (instead, focus on other stuff). Link to the procedural stochastic texturing node I used: github.com/JuniorDjjr/UnityProceduralStochasticTexturingNode Timestamps: 0:00 - Sponsor Message 0:33 - Intro 0...
I Made Crossy Road but it's First Person (ft. GitHub Copilot)
Переглядів 4,1 тис.2 роки тому
Play the game here: semikoder.itch.io/crossy-road-in-first-person Timestamps: 0:00 Intro 0:47 Challenge 1:31 The Making 6:03 Gameplay starts here 6:12 GitHub Copillot Review 7:17 Why I didn't upload last week Music used: Daystar - Why not?
I Entered a Game Jam and Made a Game in 8 Days
Переглядів 5 тис.2 роки тому
Play the game here: semikoder.itch.io/project-biobot (I suggest you to play the game first, before watching the video. I don't cover much about the gameplay in the video) I participated in GoedWare Game Jam #5 and made a game in a week. The theme of the game jam was: "Love, Death & Robots" with a subtheme of "The price of freedom". * at 5:53 I meant to say that cutscene has moving camera in fir...
New Parkour Mechanic & Map Updates | Unity Devlog
Переглядів 4,8 тис.2 роки тому
New Parkour Mechanic & Map Updates | Unity Devlog
I Made a Bad Game in Unity
Переглядів 5 тис.2 роки тому
I Made a Bad Game in Unity
I added Grapple Hook and Map to My Unity Game
Переглядів 5 тис.2 роки тому
I added Grapple Hook and Map to My Unity Game
I made A Minecraft Clone in ONE HOUR
Переглядів 1,2 тис.2 роки тому
I made A Minecraft Clone in ONE HOUR
I added AI and Combat to My Unity Game
Переглядів 7 тис.2 роки тому
I added AI and Combat to My Unity Game
Free FPS animations for Unity3D | Mixamo to FPS Animations
Переглядів 30 тис.2 роки тому
Free FPS animations for Unity3D | Mixamo to FPS Animations
Making of Parkour FPS in Unity3D | Project Terminal Devlog #1
Переглядів 17 тис.2 роки тому
Making of Parkour FPS in Unity3D | Project Terminal Devlog #1

КОМЕНТАРІ

  • @bigboy4432
    @bigboy4432 11 годин тому

    nice vid

  • @steve16384
    @steve16384 3 дні тому

    Tldr; Stable Diffusion is your only option.

  • @MayKayy
    @MayKayy 7 днів тому

    Thank you so much you are best!!

  • @stillzen-dev
    @stillzen-dev 8 днів тому

    wish this existed 2 fookin years ago - too late to change my system now (+ i'm using version 2020) but this will save many devs going forward

  • @JeraldTheBEAR
    @JeraldTheBEAR 10 днів тому

    Oh wow. Kinda forgot about that fixedupdate kinda thing. I’m gonna go cry now

  • @andrescarvajal2981
    @andrescarvajal2981 21 день тому

    i dont have event OnMouseMove :( why?

  • @Arctic.Wolves
    @Arctic.Wolves 23 дні тому

    what about godot?

  • @Ementss
    @Ementss 24 дні тому

    So the best way to make a first person camera is to not make one and use a plugin, great job, why make a 10 minute tutorial on failed solutions if you're just gonna use a plugin.

    • @forcepower7116
      @forcepower7116 12 днів тому

      I kinda agree with you on the use of plugins, but cinemachine, the new input system and textmeshpro are all plugins that should be in Unity from the start if we are honest these 3 plugins are so powerful and Unity itself uses them

  • @salithaanildesilva1196
    @salithaanildesilva1196 Місяць тому

    How do i get the first person template

  • @EuclidStreams
    @EuclidStreams Місяць тому

    just use late update for camera rotation lol, wtf

  • @barsgecer3232
    @barsgecer3232 2 місяці тому

    for a fast paced game enemies feel so slow I mean dont get me wrong when you are fast and enemy is slow it makes you feel faster but there is something that I cant put my finger on

  • @nikz000
    @nikz000 2 місяці тому

    I just interpolated the rotation values between each fixedupdate in update

  • @MichaelH-zb8gg
    @MichaelH-zb8gg 2 місяці тому

    Nice Tutorial. I've updated to 3.0.1 and it works well. The only problem with Cinemachine is setting up player rotation on camera movement. So below is a script to handle the player rotation on camera movement. Put the script below on the player. using UnityEngine; public class PlayerRotate : MonoBehaviour { private Camera mainCamera; private void Start() { // Find the main camera in the scene mainCamera = Camera.main; } private void Update() { // Rotate the player towards the camera every frame RotatePlayerTowardsCamera(); } private void RotatePlayerTowardsCamera() { if (mainCamera != null) { Vector3 cameraForward = mainCamera.transform.forward; cameraForward.y = 0f; // Ignore the y-axis rotation if (cameraForward != Vector3.zero) { Quaternion newRotation = Quaternion.LookRotation(cameraForward); transform.rotation = newRotation; } } } }

    • @ElekriGames
      @ElekriGames 24 дні тому

      if i put that script on the player, he will rotate with the camera, but the jittering is back

    • @MichaelH-zb8gg
      @MichaelH-zb8gg 24 дні тому

      @ElekriGames strange it worked on mine but I'll check it incase I changed any other setting in cinemachine. Will look at it tomorrow.....

    • @MichaelH-zb8gg
      @MichaelH-zb8gg 24 дні тому

      ​@ElekriGames Ok, I see what is wrong. I had two projects runing I've posted the code for use with the character controller. I'll post the code for use with rigidbody tomorrow. Sorry about that....

    • @ElekriGames
      @ElekriGames 24 дні тому

      @@MichaelH-zb8gg if you could sent the code tomorrow it would be great im stuck like a week with this problem

    • @MichaelH-zb8gg
      @MichaelH-zb8gg 24 дні тому

      @@ElekriGames No prob will do...

  • @srydustar5754
    @srydustar5754 2 місяці тому

    It's crazy how you have to do all those steps in Unity and in Unreal you don't 😂

    • @exhilex
      @exhilex Місяць тому

      Totally true

  • @Th3_V3ct0rAT2
    @Th3_V3ct0rAT2 2 місяці тому

    Will it work on mobile devices?

  • @Insomnia1234o00o
    @Insomnia1234o00o 2 місяці тому

    Yes, it does not work and it's trash, why is anyone surprised?

  • @sebastiangeraldohirales4935
    @sebastiangeraldohirales4935 2 місяці тому

    I can only find the cinemachine 2.9 version

    • @GamerBoi9000
      @GamerBoi9000 Місяць тому

      it depends on the unity version you're using. Cinemachine 3.x is available after Unity 2023.1 (you have to use a preview version) and 2023.2 (full release)

  • @vulkan9599
    @vulkan9599 2 місяці тому

    for the slope thing you just check if the y component of your movement direction is positive or negative....if its negative you're going down a slope

  • @Downd
    @Downd 3 місяці тому

    parrying 😈

  • @Downd
    @Downd 3 місяці тому

    What.. 😭

  • @Montigorable
    @Montigorable 3 місяці тому

    Thanks for the solution!

  • @AbdoElazizy-lc9qo
    @AbdoElazizy-lc9qo 3 місяці тому

    Please give me the link to download mobile 😢

  • @StephHami
    @StephHami 3 місяці тому

    how do you add the Cinemachine namespace in my C# scripts

  • @controlledsingularity8084
    @controlledsingularity8084 3 місяці тому

    Here's a short explanation of how to actually do this whitout needing cinemachine or other crap: Step1: create a empty game object. This is the game object you will be moving around in update and represents the target position of your camera. Step2: create a script that interpolates the position and rotation of your camera towards this empty game object, about 0.6-0.8 of the way per frame will do. Step3. Done. You are done.

  • @StephHami
    @StephHami 3 місяці тому

    where do i get cm3

  • @ze1st_
    @ze1st_ 3 місяці тому

    but how did cinemachine fix this?

    • @semikoder
      @semikoder 3 місяці тому

      Cinemachine incorporates the solutions I've mentioned at 8:19

    • @ze1st_
      @ze1st_ 3 місяці тому

      @@semikoder thx. But when i enable interpolation my players movement becomes broken wtf.

  • @problem1O1
    @problem1O1 3 місяці тому

    Cinematic cut-scene tutorial 🙌

  • @ZeonplayzYt
    @ZeonplayzYt 3 місяці тому

    pls make tutorial on how to make cod mw type movement and camera animations

  • @Rauza31
    @Rauza31 3 місяці тому

    usually when utilising a camera with a rigidbody it is good to have it separated because that also prevents the camera jittering

    • @blinkachu5275
      @blinkachu5275 Місяць тому

      It also happens on a CharacterController which isn't a Rigidbody, so that doesn't matter

    • @Rauza31
      @Rauza31 Місяць тому

      @@blinkachu5275 I’ve never experienced this while using a cc before?

  • @Captain_Euphoria
    @Captain_Euphoria 3 місяці тому

    you got a discord ?

    • @semikoder
      @semikoder 3 місяці тому

      Not at the moment, but I'm planning on making a Discord server soon!

    • @Captain_Euphoria
      @Captain_Euphoria 3 місяці тому

      @@semikoderi would like to discuss with you about parkour system

  • @SimonSlav-GameMakingJourney
    @SimonSlav-GameMakingJourney 3 місяці тому

    I would suggest making enemies "fun to play against" and not "convincing/smart". Good luck with your game!

  • @AlguienEnSuCasa
    @AlguienEnSuCasa 4 місяці тому

    04:37 what website is that?

    • @semikoder
      @semikoder 4 місяці тому

      That's Kenney, they provide free high quality assets: kenney.nl/assets

  • @jxhug
    @jxhug 4 місяці тому

    new semikoder vid :DDDDD

  • @Zillious-
    @Zillious- 4 місяці тому

    You could also make it so that when you block at the perfect time the enemy has a slight stagger, allowing the player to perform combos. and same goes for enemy so if your predictable they block and stagger you meaning you have to be more agile and more decisive with your attacks. also adding a very small pause when you hit an attack or a perfect block to give it more juice visually also allowing you a small bit more time to think of your next move.

  • @KamranWali
    @KamranWali 4 місяці тому

    Awesome video! Kudos for re-doing the game. Refactoring can be both daunting and fun. The combat system is looking good especially the enemy push feature. Don't see that features in many games and gives the player a more strategical option. Also from my experience from game dev it is best to first perfect the player game movement and then moving on to other features. That way you won't have to keep refactoring the entire game because the player movement needs to be fixed :) Any way the game is looking good. Looking forward to your next devlog. Keep it up! :)

  • @zhengweizhou1986
    @zhengweizhou1986 4 місяці тому

    bombaclat, nice taste in music

  • @RuthsDev71
    @RuthsDev71 4 місяці тому

    6:47 so survival craft? or cube life survival island?

  • @cubondemais
    @cubondemais 4 місяці тому

    Didn't watch any other video, just this one, but seeing as this looks like a fast paced game, players would like quick reaction challenges. With this in mind I suggest that instead of blocking, the player has to parry by pressing the block button at just the right time. I'd even go as far as saying to remove block entirely, if you don't wanna take damage, parry it. You could also leverage parry mechanics to chain combos and give better combo possibilities if the player parries it perfectly.

    • @semikoder
      @semikoder 4 місяці тому

      I've actually originally had parrying mechanics, but ended up removing it. The problem was that parrying and regular attacking didn't make much of a difference, as enemies were one shot anyway. Perhaps if enemies aren't one shot, then it's definitely something I could reconsider.

  • @oculoids
    @oculoids 4 місяці тому

    2:28 this is why i love game dev, your training robots thats fun

  • @imstillwater8039
    @imstillwater8039 4 місяці тому

    drop kicking would be cool. BUT NO PRESSURE!!!!!!!!!!!!! (just want to see your opinion on it)

  • @ohimdabiggestbird
    @ohimdabiggestbird 4 місяці тому

    i have read lately about how in japan, they have a term for "richness" when comes to flavors, and although they still consider and have the concepts of the 5 tastes (sweet, sour, bitter, salty and umami) they still consider "richness" as kind of a 6th taste, and since i read that, i have been applying this type of logic to everything - what im trying to say, even if u follow all the quote on quote "rules" to making a game, there is one thing that can't be replicated without experience, which in this case is the richness, the reason that drives u back to playing a game after a week, 2 weeks, or heck even a month best example; the dani karlson test release or whatever, great concept, even done very well, yet i downloaded it, played it once, and never opened it again, u might argue "well it barely has any content", my counter argument is, trackmenia the free subscription also gives u very little content and very few levels, i played everything the free version has to offer, yet i everyday open the game like a fridge hoping there is a section that i haven't played yet and is free, because i refuse to buy the paid subscription, you see my point?

  • @Capiosus
    @Capiosus 4 місяці тому

    i think the AI could work if you just made blocking only work for 3 hits and break open if hit for the fourth time Knock-back could also help encourage more movement with the player

  • @An0rak_1
    @An0rak_1 4 місяці тому

    Hey, this is the first vid of you I got recommended so I don't know what's planned, but the game looks cool. One thing about the combat feeling static... I think it needs some of the movement juice as well. Add some slight camera (or whole body) movements when attacking, have the enemies (and you) react more when attacked, either with knockback or something else. Make the camera tilt down when block in like you would tuck in your head irl and make repeated attacks when holding block break the block eventually to stop players from just holding block. I think that could make the combat more engaging.

    • @semikoder
      @semikoder 4 місяці тому

      Knockback is definitely something I'd consider trying out. I also love the idea of camera tilt down when performing the block. Thank you for great ideas!

    • @An0rak_1
      @An0rak_1 4 місяці тому

      @@semikoder No prob, can't wait to see another DevLog:D

  • @dreamingacacia
    @dreamingacacia 4 місяці тому

    This is something I'd called "polishing". By making the thing you made more appealing. It's not "changed the game entirely".

  • @JediMatt13
    @JediMatt13 4 місяці тому

    yo he's back :D your videos have inspired me

  • @rukomusic5616
    @rukomusic5616 4 місяці тому

    see ur improvement is nice, I recommend u make the crouch or slide height change smoothly, look kinda..... instant maybe some animation curve could help :D good luck

  • @sandman76_
    @sandman76_ 4 місяці тому

    good work

  • @Roowiin
    @Roowiin 4 місяці тому

    Great video

  • @harshvardhansinha7688
    @harshvardhansinha7688 4 місяці тому

    Hey, can i get the executable or possibly the game files, I want to contribute to this game

    • @AkramModd
      @AkramModd 4 місяці тому

      It looks like he dosent want to work with you.

  • @aleadbrick1222
    @aleadbrick1222 4 місяці тому

    Looking really good, I’d suggest adding some sort of cooldown system for all the abilities to stop it being ‘spammy’ or being able to block forever. Other than that, I completely forgot about your channel but it’s nice to see you’re still working on this and I’m looking forward to seeing how it develops.