Happy New Year 2025!
1:00
Ай бұрын
How to Double Jump in Unity 2D!
4:32
Swipe Movement in Unity - Tutorial
12:51
Пікірлер
@gugbug
@gugbug 11 күн бұрын
Amongus
@Jorr042
@Jorr042 14 күн бұрын
thank you, you saved my programming grade
@kozmobotgames
@kozmobotgames 14 күн бұрын
@@Jorr042 you are welcome! I will try to make more tutorials every week and also introduce new tutorial series. I also plan to begin learning Godot and C++. This year will become much more productive!
@merlinjongkrijak9321
@merlinjongkrijak9321 14 күн бұрын
Thank you, brother
@kozmobotgames
@kozmobotgames 15 күн бұрын
Useful tip: you can put a line *rb2d.gravityScale = 0* and that will disable gravity for the bullets. Also make sure to put Physics2D instead of Physics in AddForce line of code!
@kozmobotgames
@kozmobotgames 15 күн бұрын
Useful tip: you can put a line *rb2d.gravityScale = 0* and that will disable gravity for the bullets. Also make sure to put Physics2D instead of Physics in AddForce line of code!
@BalazsBozsik8
@BalazsBozsik8 15 күн бұрын
i cant see no ground option in include layers
@kozmobotgames
@kozmobotgames 15 күн бұрын
Is the layer that you want to apply the nav mesh actually called Ground? If not, you need to see how is it called and then use that name of layer.
@neerajramnj7598
@neerajramnj7598 15 күн бұрын
Make a video on object pooling
@LittlesmileyVR-CactusJam
@LittlesmileyVR-CactusJam 16 күн бұрын
ty it worked for my vr game too
@yess6267
@yess6267 17 күн бұрын
im sorry but this griffin looks extremely goofy, i cant stop laughin at the result. great video tho
@IsraelRodriguez-s6l
@IsraelRodriguez-s6l 20 күн бұрын
Great Vid but when I wrote the script word by word I kept getting an error message that say's "Transform does not contain a definition for 'Position' ."
@kozmobotgames
@kozmobotgames 20 күн бұрын
I have already defined this in previous comments: write *position* instead of *Position*
@onlinefool9931
@onlinefool9931 22 күн бұрын
Thanks!
@GrassVR-t7b
@GrassVR-t7b 26 күн бұрын
where is the GitHub link
@kozmobotgames
@kozmobotgames 23 күн бұрын
github.com/kozmobotgames
@STORM-qw2gq
@STORM-qw2gq 27 күн бұрын
How to do it on 3d I tried using raycast but it only works if i use this [mouse.current.position.read value] for mouse position But when i use this [Actions.Player.Look.ReadValue<vector2>();] It didn't work why?
@kozmobotgames
@kozmobotgames 27 күн бұрын
Working with 3D project requires the use of x and z axis for rotation, do it like this: float angle = Mathf.Atan2(rotateDirection.x, rotateDirection.z) * Mathf.Rad2Deg; transform.rotation = Quaternion.Euler(new Vector3(0, angle, 0);
@STORM-qw2gq
@STORM-qw2gq 27 күн бұрын
@kozmobotgames I also did that it not working properly
@kozmobotgames
@kozmobotgames 27 күн бұрын
@@STORM-qw2gq please check what are the axes of rotation in your main camera and player objects. Maybe your configuration is different.
@STORM-qw2gq
@STORM-qw2gq 27 күн бұрын
​@@kozmobotgames the problem happens when I try to get mouse position like [Actions.Player.Look.ReadValue<Vector 2>();] But when I get mouse position like [mouse.current.poisition.ReadValue();] it works
@DanaSydonia
@DanaSydonia Ай бұрын
This is really great man, and the C# is recent enough that I'm not having the dramas I was having with an older Tute. Thank you!
@kozmobotgames
@kozmobotgames Ай бұрын
@@DanaSydonia you're welcome! In 2025 there will definitely be more tutorials!
@mateuszg4360
@mateuszg4360 Ай бұрын
could you provide source code?
@STORM-qw2gq
@STORM-qw2gq Ай бұрын
How to rotate player towards mouse position using new input system 😅
@kozmobotgames
@kozmobotgames Ай бұрын
Great idea! I think this can be the first tutorial in 2025 😀
@kozmobotgames
@kozmobotgames 27 күн бұрын
Here is the tutorial: kzbin.info/www/bejne/iIvCiHeKna-ImJY
@Ezzzy69
@Ezzzy69 Ай бұрын
What is the gamemanager script
@Muhammad-xr4yy
@Muhammad-xr4yy Ай бұрын
Thank you soo much dear! you saved my life :D
@kozmobotgames
@kozmobotgames 22 күн бұрын
You're welcome!
@juckya9660
@juckya9660 Ай бұрын
Why arent you using FixedUpdate? Wouldnt that make all the deltatime code pointless and make the physics interactions more consistent
@kozmobotgames
@kozmobotgames Ай бұрын
@@juckya9660 yes, it would make the code more consistent, but I didn't know anything about FixedUpdate, how it affects functionality in games. I use FixedUpdate for saving a position and respawning player when it is under the respawn threshold.
@juckya9660
@juckya9660 Ай бұрын
@kozmobotgames I'm quite new but from my knowledge it's often used for physics calculations.
@dylanwalter-gb7kq
@dylanwalter-gb7kq Ай бұрын
If you have trouble finding the Input Actions asset, install the Input Actions Package from the Package Manager!
@liarstrap
@liarstrap Ай бұрын
i cant find input actions.
@dylanwalter-gb7kq
@dylanwalter-gb7kq Ай бұрын
Had the same issue. To solve; search for "Input Actions" in the package manager and install (restart unity after)
@amalkabalan89
@amalkabalan89 Ай бұрын
AMOGUS
@Medsel5
@Medsel5 Ай бұрын
keep up buddy ! tip: try to enhance your mic's quality
@manojkumarthakur9302
@manojkumarthakur9302 Ай бұрын
You'll blow someday
@manojkumarthakur9302
@manojkumarthakur9302 Ай бұрын
Keep it up buddy
@kozmobotgames
@kozmobotgames Ай бұрын
@@manojkumarthakur9302 thank you!
@visceralvore
@visceralvore Ай бұрын
Hi, could you make first person stealth tutorial? If a player is in the shadows, AI doesn't see him and player can knock down an enemy.
@kozmobotgames
@kozmobotgames Ай бұрын
@visceralvore great idea! Although I already planned a tutorial for swipe movement next week, it will come immediately after.
@visceralvore
@visceralvore Ай бұрын
@@kozmobotgames Thank you.
@ONLYANOOBIE
@ONLYANOOBIE Ай бұрын
SOOOOOO UNDERRATED,i love your content!
@kozmobotgames
@kozmobotgames Ай бұрын
@ONLYANOOBIE thank you so much! This game is still under construction, so I think I can finish it in just one month.
@ONLYANOOBIE
@ONLYANOOBIE Ай бұрын
@@kozmobotgamesit seems good! when it release i want play it!
@hayallersehri7
@hayallersehri7 Ай бұрын
rb.velocity :))))
@MohitKumar-o4i9b
@MohitKumar-o4i9b 2 ай бұрын
r u teaching us or just doing it !???
@kozmobotgames
@kozmobotgames 2 ай бұрын
@@MohitKumar-o4i9b actually, I am teaching how to do certain things in Unity.
@Thelightningbat
@Thelightningbat 2 ай бұрын
After the scripting, there's an error that says "Assets/MovementScript.cs(19,44): error Too many characters in character literal"
@kozmobotgames
@kozmobotgames 2 ай бұрын
If some of the if statements and other parts of code use characters such as && or ||, it might be an error if there are too many characters, so you have to check how many times do you use these characters.
@touchyshark
@touchyshark 2 ай бұрын
Bro I love you, I can't tell you how much time you have saved for me, you are the best!
@kozmobotgames
@kozmobotgames 2 ай бұрын
@@touchyshark thank you so much!
@yale3d
@yale3d 2 ай бұрын
it is impossible that a simple button click is this fvckin' complicated.
@AndersonBarros-jk8py
@AndersonBarros-jk8py 2 ай бұрын
Character Setup Modeling Rigging Layout Animation Lighting Rendering Compositing
@avanishpatitripathi1562
@avanishpatitripathi1562 2 ай бұрын
Man! you have no idea how desperately I was searching for this... Thank you!!!
@vsgaming1634
@vsgaming1634 2 ай бұрын
Love your videos and they are really helpful. I want to become a professional game developer, any tips or career guidance
@kozmobotgames
@kozmobotgames 2 ай бұрын
@@vsgaming1634 if you want to become a professional game developer, you can check out some courses for Unity engine. If you are good at game design, you can be a designer. But if you know programming better than designing game assets, you can be a programmer.
@mutlugameofhalit
@mutlugameofhalit 3 ай бұрын
So I understand how to save values but, what about class' references and other stuff that related to each others? How can we handle them?
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@mutlugameofhalit just make sure that a class reference is defined with the name of the class. For example, if a class is named MovementScript, put a reference to it by saying public MovementScript mScript. You can call it in any way, but you would better like to pick values from these scripts.
@mutlugameofhalit
@mutlugameofhalit 3 ай бұрын
@@kozmobotgames i mean, i am asking about this save system
@DerickBackupBox
@DerickBackupBox 3 ай бұрын
Somehow, I can't Test with this Tutorial and there's an Error Popping out, CS1002: ; expected or Needing the Transform.translate to have Vector3 or Vector3 is a Type
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@DerickBackupBox maybe you should write it like Transform.Translate(), as it is described in Unity Documentation.
@DerickBackupBox
@DerickBackupBox 3 ай бұрын
@@kozmobotgames i got another Problem, No Overload Method
@SondaPower
@SondaPower 3 ай бұрын
3:31 is not because you are calling Time.timeScale = 0 in Update? -I don't know yet but: I think that if statement should be called in the "LoseHealth()" method.
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@SondaPower I agree with you! I just need to update the script file in my GitHub repository.
@Charvey544
@Charvey544 3 ай бұрын
I keep falling through the ground
@A_Name_11
@A_Name_11 3 ай бұрын
Great video. Too, I really like the jazz bass; It's refreshing to hear and provides the entire video with a cool, fun vibe.
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@A_Name_11 thank you so much!
@Aggelosyea
@Aggelosyea 3 ай бұрын
roblox studio is also a more recomended game engine to learn as a starter it's easier
@lemonpopstudios7228
@lemonpopstudios7228 3 ай бұрын
Curious if anyone has found a way to make the player rotate in the direction of movement?
@TafagamanuVaipapaAsiata
@TafagamanuVaipapaAsiata 3 ай бұрын
Is it continue using another video?
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@TafagamanuVaipapaAsiata yes and the video is called Enemy Shooting in Unity
@CelsiusGD
@CelsiusGD 3 ай бұрын
bru i did everything u did exactly and the camera shows nothing bru
@CelsiusGD
@CelsiusGD 3 ай бұрын
2 minutes later u heart my comment lol
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@CelsiusGD please check the Z position of all objects in your project. Move it below 0 or if it still doesn't reveal, then you should move it above 0.
@CelsiusGD
@CelsiusGD 3 ай бұрын
I DID
@Isaac-mp5eq
@Isaac-mp5eq 3 ай бұрын
Thank you, Kozmobot, for this incredible tutorial!!! Your explanation was super clear, and the step-by-step approach made it easy to follow along. This is by far the best save system tutorial I've seen for Unity, everything just clicked into place. You've saved me a lot of time and frustration. Keep up the great work!
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@Isaac-mp5eq Thank you so much!
@VasionGamingHD
@VasionGamingHD 3 ай бұрын
Please could you include a download to the follow script in the descrpition?
@kozmobotgames
@kozmobotgames 3 ай бұрын
I changed the description and now it includes the C# script link.
@VasionGamingHD
@VasionGamingHD 3 ай бұрын
I don't see it?
@VasionGamingHD
@VasionGamingHD 3 ай бұрын
There is no new file in the github called FollowScript ?
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@VasionGamingHD in the first paragraph it says "Download", but here is the script link: github.com/kozmobotgames/Character3D
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@VasionGamingHD I uploaded the script called EnemyFollow
@GDK-2
@GDK-2 3 ай бұрын
where can I find the on-screen button script if i didn't make it?
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@GDK-2 you can find all scripts on Github: github.com/kozmobotgames
@GDK-2
@GDK-2 3 ай бұрын
@@kozmobotgames but there is no on-screen button script
@GDK-2
@GDK-2 3 ай бұрын
ok i found it!
@kozmobotgames
@kozmobotgames 3 ай бұрын
@@GDK-2 that script does not exist as a separate file. To add controls for your player, you need to add a button after adding a canvas element and you also need to add an on-screen button component by going to your button, clicking add component and searching for on-screen button component. Make sure that you have already installed the Input System package.
@ANN-ix4rk
@ANN-ix4rk 3 ай бұрын
@@GDK-2 where was it