Unity FPS Survival Game Tutorial - First Person Shooter Game Dev - arcadeshootinggames.info

Unity FPS Survival Game Tutorial – First Person Shooter Game Dev

freeCodeCamp.org
Views: 468918
Like: 11122
Learn how to make a first-person shooter in Unity. Making a FPS in Unity is easy for beginners. This 8-hour tutorial covers everything you need to know to make a basic first person shooter game.

💻Assets:
💻Full Project:

Tutorial created by Awesome Tuts. Check out Awesome Tuts Youtube channel:

On the Awesome Tuts website, you can learn to create a game in 40 minutes:

The creator of the assets is Winterbyte and these are the assets from their Ultimate Survival Asset Pack. Please NOTE that these assets can be used only for EDUCATIONAL purposes to follow this tutorial, you can’t use them to create a commercial game or share the assets with others.

⭐️Contents⭐️
⌨️ (0:00:00) Intro And Game Preview
⌨️ (0:04:21) Importing Level And Configuring Lights In The Game
⌨️ (0:10:19) Creating FPS Player
⌨️ (0:35:35) Coding Player’s Movement And Jump
⌨️ (1:02:07) FPS Mouse Look And Mouse Controls
⌨️ (1:33:14) Player’s Sprint And Crouch
⌨️ (1:49:01) Player’s Footsteps Sound
⌨️ (2:18:47) Animating Player’s FPS Hands And Weapons
⌨️ (2:41:27) Weapon Handler (script for controlling the attributes of weapons)
⌨️ (2:57:05) Weapon Manager (script for controlling the switching between weapons in our game)
⌨️ (3:10:36) Player Attack (script for controlling the shooting with the selected weapon)
⌨️ (3:36:52) Creating The Zoom Effect With Animations And Scripting
⌨️ (4:07:02) Creating Arrow And Spear Bullet Prefabs
⌨️ (4:36:27) Configuring And Animating Our Cannibal Enemy
⌨️ (4:50:40) Creating Enemy Animation Script
⌨️ (4:57:30) Enemy Controller (the script that will control the enemy’s AI and make him move and attack the player)
⌨️ (5:40:04) Configuring And Creating The Boar Enemy
⌨️ (5:51:10) Detecting And Dealing Damage
⌨️ (6:14:52) Creating Health Script
⌨️ (6:49:02) Creating Player And Enemies Sound Effects And Shoot Effects Sounds
⌨️ (7:21:13) Creating Player Stats UI
⌨️ (7:32:38) Displaying Health And Stamina Using Player Stats UI
⌨️ (7:46:45) Creating Enemy Manager(the script that will spawn the enemies) and adding Finishing Touches To Our Game

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:

390 Comments

  1. Can someone help me lmao. When start to type CharacterController it only gives me the option to select the namespace after I press space which results in two. However it I erase the first one (the one I typed) and finishing typing the rest of the code I get an error saying that namespace cannot be found

  2. I have a question I want to ask how far cry enemy ai work when enemy see than they will be attack other wise they can,t be attack anybody have answer about it so please tell me

  3. Awesome tutorial this helped me a lot. Thank you.

  4. Can you create Moba game like mobile legend aov something like that

  5. Please Help!
    Can't get shoot/attack animations and crosshair working after ZoomInAndOut Function, they are working fine commenting zoom function but cant aim.

    Error:
    NullReferenceException: Object reference not set to an instance of an objectPlayerAttack.Awake () (at Assets/Scripts/Player Scripts/PlayerAttack.cs:26)

  6. I have to say… this is by FAR the most comprehensive and understandable Unity tutorial I've EVER seen. It's been a joy watching this and learning over the past couple of weeks.

  7. Hey, Really Nice turtorial really enoying it. I'm up to 3:24:06 where you just went into the Animator, I can't see any of my Animations. It's just a empty black grid, but my animations still work, but from here I can't edit the settings? What should I do

  8. does our unity editor supports windows 10?. and yes i am using a windows 10 latest version.can i use a version compatible for macintosh on windows or linux compatible version?

  9. Wallah bottom blasted, nice video bro

  10. Man you really helped me alot about understand C# and Unity. It is so fantastic. I just had a light in my head, I feel like I'm understanding things rn. I'm so grateful

  11. Give the man some support, he took 8 hours out of his day JUST to teach you, good job man! 😀

  12. bruh why is your unity so laggy? c'mon mac! you can do it!

  13. Me: Oh this seems like a good video

    Also me: checks length of video

    Me: Thicc

  14. thanks a lot for this great tutorial

  15. This video was so helpful. I sware that there are no other tutorials that actually explain what the code does

  16. Hello, my friend.
    Currently, I'm currently using unity 2020. And I have a problem with weapon shooting and aiming. All I set is good but I don't know why it's not working properly.

  17. 8hours Or 8 months that got a little out of hand 😂😂

  18. with the help of desc
    I completed the game within an hour lol

  19. Great effort sir but asset file got corrupted ,please do something

  20. where did you get these models and sounds from?

  21. if you cant apply changes to your prefab go to your player, go to overrides on the right corner and click on apply all

  22. Anyone getting an issue with the enemy where the attack animation makes the enemies coordination go to (0,0,0) and any ideas how to fix it?

  23. where can i find the gdd of the game ?

  24. ima doing it anyway : 8 HOURS!!!!!!!!!!!!!!!!!!!!!!!!1

  25. Day 2 – made 35 minute and 15 seconds progress. Nice tutorial

  26. i don't know what to say 8 hour? DUDE YOU"RE LEGEND!

  27. on creating the canibal enemy, when i playing the animation, the canibal is transforming its axis to 0,0,0
    how can i fix it??
    please help..

  28. So I need a little help understanding something….. First let me say just how much I appreciate this video. I actually have it save on my phone and am working on this as I watch the video. Fahir you are the freakin man!!! I have watched almost every video you ever done (and liked on all).
    Question: I am using the latest ver. of unity 2021…something and most everything seems to work as normal, however, the alignment of the weapons is off, if I use 2018 ver. it lines up fine with the given numbers. What changes in the updated Unity would cause this and how can I formulate the new set of position numbers?

  29. 8 hours free tutorial. Much much appreciated

  30. Grunn: Indie PS1-Style Survival Horror Game says:

    Damn, what a resource! So generous of you to share your knowledge with us. Thanks a bunch! I'm actually looking to create tank control kind of shooting like in the old Resident Evil games. Wonder how that would work.. but I'm guessing I can still learn some things from this 🙂 Thanks!

  31. i want to try it out. so if i download the complete project. Does that mean it has been all completed and ready to just play it out? thx

  32. U should upload Story your GAMESS ON YOUTUBEEe.

  33. Gday Mate, Great Tutorial and explanations of what the code does step by step. A little issue with my animations, I followed and have gone back over several times but can't work out where I went wrong. I am at the 3hr 50min mark, My Assault Rifle Shoot Animation works perfectly and I followed the same steps for the other weapons but I have no recoil shoot animation on the Revolver or Shotgun, and the Attack Animation for the axe will attack once on start but that's it, the idle animation keeps filling then restarting. Clicking the Mouse button does nothing (Only on the A-Rifle), Any advice for this Aussie Code Novice.

  34. Generally I don't comment in videos but this one is just awesome you don't know how much you help beginners!

  35. 1:23:45 Can you tell me why we need to create both lookRoot.localRotation and playRoot.localRotation but not only create one of them? I typed playerRoot.localRotation only and replace those two "0f" with look_Angles.x and current_Roll_Angle and it still works.

  36. New to this, I'm having errors when using visual studio, but the code looks the same (first time coding so honestly no idea). Anyone have any tips?

  37. doesn't work in any version i nearly killed myself because of this

Leave a Reply

Your email address will not be published. Required fields are marked *