Пікірлер
@benjs9264
@benjs9264 13 күн бұрын
2024 and still works
@alexeuan1101
@alexeuan1101 26 күн бұрын
thx you my friend!
@aimojorma7674
@aimojorma7674 27 күн бұрын
Very helpful, thanks!
@Sebastian-jl1co
@Sebastian-jl1co Ай бұрын
Thanksssssssssss
@diegocolmenares1144
@diegocolmenares1144 2 ай бұрын
Wtfff 2024 it's the best fix ever
@mikwns3722
@mikwns3722 2 ай бұрын
brilliant easy to understand I'm just getting back in to unity, the other tutorials are so complicated, fast
@molinaa01
@molinaa01 3 ай бұрын
sos crack
@coolbluelights
@coolbluelights 4 ай бұрын
I got mine in some weird mode where the sky and everything is black and the terrain shows up as green... how do I get it out of this mode?
@itsmy0406
@itsmy0406 4 ай бұрын
is it same function for another game?
@rachidgerrouji925
@rachidgerrouji925 4 ай бұрын
May 2024: Still the best video so far! Thanks mate!!!
@topthoughts3426
@topthoughts3426 5 ай бұрын
Thanks you really saved me
@javlontursunov6527
@javlontursunov6527 5 ай бұрын
How are u seeing what is the in the scene, cuz I can see when u r exploring there is an eye icon but I am not able to see that
@CarbonTaxLOL
@CarbonTaxLOL 6 ай бұрын
Amazing video, btw how did you create this voice over lol?
@collegeadvice_tips
@collegeadvice_tips 7 ай бұрын
This it fam: using System; using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Created by Pavlos Mavris. /// This script will handle the checkpoint system and will be responsible to save and load /// the last checkpoint that the player has passed through. /// Check the tutorial for more explanation at kzbin.info/www/bejne/aIelo2WJndCLd7s /// </summary> public class CheckpointController : MonoBehaviour { [SerializeField] private GameObject _checkpointsParent; public GameObject[] _checkPointsArray; private Vector3 _startingPoint; //todo Uncomment this code if you have a rigidbody on your player and you want to stop it from moving private Rigidbody _rigidbody; private const string SAVE_CHECKPOINT_INDEX = "Last_checkpoint_index"; private void Awake() { /* Uncomment this code if you have a rigidbody on your player and you want to stop it from moving We set the "_rigidbody" variable with the actual Rigidbody component of the player.*/ _rigidbody = GetComponent<Rigidbody>(); LoadCheckpoints(); } void Start() { int savedCheckpointIndex = -1; savedCheckpointIndex = PlayerPrefs.GetInt(SAVE_CHECKPOINT_INDEX, -1); if (savedCheckpointIndex != -1) { _startingPoint = _checkPointsArray[savedCheckpointIndex].transform.position; } else { _startingPoint = gameObject.transform.position; } RespawnPlayer(); } void Update() { if(transform.position.y <= -10f) // We check the position of the player at the Y axis { RespawnPlayer(); } } private void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("CheckPoint")) { int checkPointIndex = -1; checkPointIndex = Array.FindIndex(_checkPointsArray, match => match == other.gameObject); if (checkPointIndex != -1) { PlayerPrefs.SetInt(SAVE_CHECKPOINT_INDEX,checkPointIndex); _startingPoint = other.gameObject.transform.position; other.gameObject.SetActive(false); } } } private void RespawnPlayer() { gameObject.transform.position = _startingPoint; //todo Uncomment this code if you have a rigidbody on your player and you want to stop it from moving _rigidbody.velocity = Vector3.zero; _rigidbody.angularVelocity = Vector3.zero; } private void LoadCheckpoints() { _checkPointsArray = new GameObject[_checkpointsParent.transform.childCount]; int index = 0; foreach (Transform singleCheckpoint in _checkpointsParent.transform) { _checkPointsArray[index] = singleCheckpoint.gameObject; index++; } } }
@Emmanuel-o8l
@Emmanuel-o8l 7 ай бұрын
Tnx boss you just go Change the code Tnx a lot
@EmadShadiz
@EmadShadiz 8 ай бұрын
not work
@ss886.k4
@ss886.k4 8 ай бұрын
hay guys when i open the fc3editor , it said cannot find essential information in the registery , i have widows 10 , and i download DODI repacks
@daddydevil5668
@daddydevil5668 9 ай бұрын
Thanks ❤️❤️
@MarianAshraf-l7i
@MarianAshraf-l7i 9 ай бұрын
how can i make it an infinite procedural terrain?
@Richartichaut
@Richartichaut 9 ай бұрын
Thank you very much !
@Vanya_Unity
@Vanya_Unity 9 ай бұрын
dont work sucker script
@uacser
@uacser 10 ай бұрын
Thx!
@muhammadzaidnuriyanto7179
@muhammadzaidnuriyanto7179 10 ай бұрын
Thank You Bro!
@XtremeStarStudio-he1vd
@XtremeStarStudio-he1vd 10 ай бұрын
Thank you for the video, it was very cool ❤
@alcijr649
@alcijr649 11 ай бұрын
Thank you and love the video. I already subscribe.
@outsir592
@outsir592 Жыл бұрын
Thanks
@Suddaofficial.45
@Suddaofficial.45 Жыл бұрын
Thanks saho 😊🎉
@Atharva630
@Atharva630 Жыл бұрын
Bro i can't change my resolution on far cry 4 it has stuck on 1920x1080 screen resolution i changed it using notepad but nothing happen can you help me how do i change my resolution
@Suddaofficial.45
@Suddaofficial.45 Жыл бұрын
@@Atharva630 you go this pc documents and then go my game folder and rename last second file and delete last 3 letter
@ankitsharma-ud7tq
@ankitsharma-ud7tq Жыл бұрын
will it work if i put more checkpoints and will it save checkpoints when getting out of play mode
@mistersali2501
@mistersali2501 Жыл бұрын
What i want to start the game from the beginning?
@mistersali2501
@mistersali2501 Жыл бұрын
Hi, So I have A Problem. Did Everything like in the video(Except:The Flag is an 3d cube but also named flag_med ).I have an 1st Person JumpnRun Game and Added the Checkpoint. So, When I go on the Checkpoint it Dissapears, fine, that worked. Buuuut when my Player(PlayerCapsule) falls however from the platform, it doesnt respawn. It just falls and falls and falls. Im hoping for a Response :/
@ankitsharma-ud7tq
@ankitsharma-ud7tq Жыл бұрын
You have to put an collider down the world and if player collide with it then you can apply death function its simple to code
@vikrantdevil44
@vikrantdevil44 Жыл бұрын
Gameprofile file not showing
@talha_xxl
@talha_xxl Жыл бұрын
thank you bro!
@galmor1660
@galmor1660 Жыл бұрын
Have seen some rather complicated terrain videos but that one is completely for newbies, by watching this once, I actually can do the exact same once I open unity. Thanks alot.
@broski145
@broski145 Жыл бұрын
Is that sarcasm?
@screechingscrimble
@screechingscrimble Жыл бұрын
Trying my hardest to follow along with the video but even at 100 volume on both my monitor and windows I can't hear you at all unfortunately, regardless though, I actually understand your tutorial better than most videos I've tried so thank you :)
@maplspearcutethings3506
@maplspearcutethings3506 Жыл бұрын
Thanks a lot of the tutorial! It is one of the most beginner-friendly tutorials i have ever seen
@lokesh8062
@lokesh8062 Жыл бұрын
Great man you nailed it
@satyadev2011
@satyadev2011 Жыл бұрын
It is not working for me
@messii644
@messii644 Жыл бұрын
muchas gracias
@Davimations
@Davimations Жыл бұрын
seruisly tho god send
@Davimations
@Davimations Жыл бұрын
thanks i started a few days ago and this realy helps
@shortfilms5733
@shortfilms5733 Жыл бұрын
Huge respect man.
@khaleddergamer9075
@khaleddergamer9075 Жыл бұрын
Das war sehr einfach zu machen 👍
@khaleddergamer9075
@khaleddergamer9075 Жыл бұрын
danke für es Video es ist sehr gut für mein spiel und mein spiel heisst parkuhr Game probierts aus
@estimoondust358
@estimoondust358 Жыл бұрын
I have one game idea long time in mind, recently started to make it, followed this video and all was good until 6:59 when to add trees, perhaps with 2 years the store has gone so messy, I get all red lines when download them. :D and still no trees.
@apagumada4088
@apagumada4088 Жыл бұрын
Thank you ❤❤❤❤❤
@JairoFlores-jx3kv
@JairoFlores-jx3kv Жыл бұрын
1:34
@fmb6321
@fmb6321 Жыл бұрын
obrigado
@chrisdoodle9426
@chrisdoodle9426 Жыл бұрын
Good video man
@uilianfurlan4074
@uilianfurlan4074 Жыл бұрын
GOD
@GameGod75545
@GameGod75545 Жыл бұрын
i need help with mine...it loads but will only show black screen while playing...plz help