VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Unity FPS Survival Game Tutorial - First Person Shooter Game Dev

Unity FPS Survival Game Tutorial - First Person Shooter Game Dev

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
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: https://github.com/beaucarnes/unity_fps/tree/master/assets -Full Project: https://github.com/beaucarnes/unity_fps/tree/master/complete_project Tutorial created by Awesome Tuts. Check out Awesome Tuts Youtube channel: https://www.youtube.com/channel/UC5c-DuzPdH9iaWYdI0v0uzw On the Awesome Tuts website, you can learn to create a game in 40 minutes: https://www.awesometuts.com/from-scratch-to-game-ws 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
Date: 2022-03-14

Comments and reviews: 10


I will try to make this work on a Gamepad and show edits as I go.
At 1:00:00 to get jump to work with a controller use GetButtonDown instead of KeyCode. Here is what I did. Fire1 will be left control on keyboard and south button on gamepad.
void PlayerJump()-
--
if(character_Controller.isGrounded && Input.GetButtonDown(-Fire1-)) -
--
vertical_Velocity = jump_Force;-
--
-
At 1:23:15
Go to Edit>>Project Settings>> Input Manager. Duplicate Arrary Element of Mouse X and Mouse Y by right clicking on originals.
Here change Type to Joystick Axis, Axis to 4th axis(Joysticks) on Mouse X. On Mouse Y add the same Type, but change Axis to 5th axis(Joysticks). You should have 2 Mouse X's and Mouse Y's on Input Manager now.

reply

Morning Hive mind - im coming into this really fresh faced - im on unity 2020 and have VS 2019 for scripting. Seem to have hit a snag earlier than i was hoping. Currently at timestamp 37.03 on this tutorial - im looking at Visual Studio on my machine - and basically i cant find Character_Controller - infact i cant find Character anything - do i need to load Unity specific language libraries into VS19? i can find alot about charactercontrolelrs online, but nothing specific to this dilemma. and help greatly appreciated.xxx
reply

This is a Greate Video i had Watch for learn UNITY. Its quite clear for infor and each step. Thanks so much for your 8H video again.
And I am wondering at -HEALTH SCRIPT-, when I turn on the -Is Kinematic- on -Rigidbody-, the -Revolver- will detect the Cannibal when I shoot him, but when I turn it off, It can't detect the Boar or Cannibal. Can you help me with this error please>? Thanks so much, and again for your Greate Tutorial Video.

reply

Made it to the end of the video!!! I got through it easier than the Beginner's Unity Tutorial video. But some things didn't work and I thought I copied everything from the video exactly. I'll check. They might be glitches for all I know.
Also, the first time through the whole video, I didn't nearly absorb all the coding info. I'll need to rewatch a lot.

reply

I am still having some issues with my hit detection for my axe. I did everything you did, however, the hit is not detecting when i give small radius, and only when i set the radius to something absurd, such as 1000. i am also having troubles with my guns as the box collider on the enemy is not picking up the raycast sent by the gun.
reply

If you are watching this in 2022, just a heads up, I recommend you change the code slightly in the Crouch function to ---if (Input.GetKeyDown(KeyCode.C) && character_Controller.isGrounded)--- so that your player cannot crouch while mid jump. This prevents the player from crouching if they are mid jump!
reply

5:52:00 This part is confusing. I don't see where the pasted component values came from. It didn't work for me
Update: Oh okay it doesn't matter greatly?
6:05:15 It always works when I attack the boar but not always with the cannibal. Why?

reply

Did anyone have a problem with Cannibal raycasting and killing it? I think i have that because for some reason when i am doing animation from animation tab, my cannibal get position at around 0,0,0. Anyone has idea what do and how to fix that?
reply

Please I have a problem. I have done all for the cannibal but the hit function just works for the board. Sometimes, it works once for the cannibal after that, it doesn't work anymore. Even after I restart unity. Please help...
reply

if(chase_Distance != current_Chase_Distance) --
chase_Distance = current_Chase_Distance;-
-
when this code will be executed, i can not find when the condition is true in EnemyController scrpit

reply
Add a review, comment






Other channel videos