Download link: drive.google.c... All feedback is welcome! My website: rumpledcode.com Company website: double-lens.com Music: Prod. Riddiman x oldboyy - Radio
For everyone who had a problem with the character not changing on the screen but changing in the code make sure you populate the Characters array with the prefabs already in the hierarchy and not with the prefabs from your assets. Look at 0:50. When you click on the array elements it should highlight the prefabs in the hierarchy.
I've been having a hard time figuring out how I would implement my character selection. I have more specific needs like being able to unlock characters and select a character from the list of unlocked characters. Most videos were fairly long and went into too much detail for me to follow. This was the shortest video, and honestly, I was sceptical at first, but your video was insightful and easy to follow and understand. Great work :)
A little optimization in PreviousCharacter() function : you don't have to use an if statement public void PreviousCharacter() { characters[selectedCharacter].SetActive(false); selectedCharacter = (selectedCharacter - 1 + characters.Length) % characters.Length; characters[selectedCharacter].SetActive(true); } you can also store characters.Length value in a variable so it's not calculated each time
I might be too late, but i wanted to ask how you would spawn the player rotated -90 degrees on the Y axis. Great tutorial btw, perfect explanation, no useless talking, you kept it short and clear, thanks.
I really love this, so short and precise. Keep up the good work. Why not expand on it by adding a lock and unlock feature to it. Other than that 👍🏽👍🏽👍🏽
I know Im asking the wrong place but does anyone know a trick to get back into an instagram account? I somehow forgot the account password. I would love any assistance you can offer me.
@Jude Jad thanks for your reply. I found the site thru google and Im waiting for the hacking stuff now. Looks like it's gonna take quite some time so I will get back to you later with my results.
The next and previous button doesn't work for me, i was make sure again and again but it's still not working, can someone help me? but thanks for the video sir ^^
A suggestion : Perhaps make this and a few other videos in a series showing how to create a more complex Start Menu. Really hard to find quality videos on this topic.
in my opinion and experience start menus are like the easiest thing to make, you just have to have a basic understanding oh how it works and then you can make one yourself
@@bruhmoment-it9jn It's not necessarily the UI that I'm having trouble with as much as ting it all together with code. I only have basic knowledge of C# but I can design assets for a UI all day long. I'm sure there are plenty of others that would say the same, hence the suggestion.
when you place them in the scene don't forget to uncheck the visibility mark on the objects that aren't supposed to be visible yet. Then when you start playing the game/ scene it should work
Thanks so much! this was super fast and easy. One question: Once the character is loaded in the playable scene, how do you reference the selected character (e.g. to respawn them)?
Hi awesome tutorial. I have one problem i can get the character to come to the other scene however as its a clone object my camera stops following the cloned player. Do you know how i get can it to follow a clone player?
@@rudain4064 hey bro in a different tutorial 3D Skin Shop for beginners part 1 by youtuber rickeydev he answered my question. I used that and it worked in my project so maybe give that a go if it works for you!!
Hello Thanks for the video I felt it was particularly good having watched and followed along with a few other "Character Selection" tutorials. The others were pretty good but seemed over complicated in comparison to yours. Keep up the good work RumpleCode, RU-vid is a harsh and unforgiving environment but if you stick to providing the best for your audience they will help you survive.
Thanks for the video nice job...But i have some problems Whenever i select the character i start with my previous character.I try to disable the previous character,but as a result nothing happen.In the hierarcy show that the selected character have spawn but it doesn't displayed in my game.What should I do?
I implemented the code to my game but when I got in the game scene my camera did not follow the character . Can you help a bit I am absolute beginner and I don't know how to change this :(. ( I thought, like my camera,text and kinda stuff has a refference in my player so , when I use prefab I couldn't use them in the scene because of the prefab) Thanks for the video again btw !!
If I remember correctly, you should be able to just set the camera as a child of the player character and it should follow the character at all times after that. Please, someone correct me if I'm wrong.
Hello world, awesome tutorial. I implemented it in my project last night. I knew I was gonna have a problem with my camera movement controller once I switched my player objects to prefabs. I tried using the spawn character script to also set the target for my camera script but failed pretty miserably at that. So, looking for suggestiins on how to get a camera to follow the instantiated prefab. Thanks to anyone that can help.
heyy i tried using the keys but it didnt work ...i checked the "on click and function "nothing was selected in functions what to do ? it doesnt show me the option to select "CharacterSelection.Next" and previous ....please help
Fantastic, if only you had explained how the camera can follow that chosen character !? I have to dig through you tube now to find it! but thanks anyway, I like the simplicity of this tutorial but incomplete for my needs ... Isn't it logical that the camera will follow the player? how would I direct that camera now to follow the chosen player!?
This works realy well!! I'm working a point shop where you get total score at the end and with that currency you can unlock new ones. I already have like item name price and bool if bought but not sure where to go now. Any documentation direction would be nice 👍 I added private void awake() In the character selection c# It has foreach methode to loop at the moment. My mind just took too much in one go Edit: oh this was 3y old vid, my bad
Hello. I have two cameras. Camera "Games" and "Preview" How to save PlayerPrefs.GetInt correctly when I go to the "Game", it is saved, then I go back to the Preview, it is deleted, then I go back to the "Game", and it saves another PlayerPrefs.GetInt Tried many methods, something doesn't work
@@RumpledCode I wanna create a menu to select a character and play the game ahead. I have made the game but I want something in the beginning which allows user to select a character.
@@danielyyiit was an assets "incevtor" I deleted all the assets, models etc except the character and third person camera, now I want to add multiplayer features to it. Like if someone open the game remotely we all can see each other in game in realtime.
Guys can I apply this concept using a scriptable object? I wanted to create a 2D game in which the player can freely choose what kind of weapon to use...
Can you make tutorial to explain to change player with other player during game play, for example, we are playing with car A and we collected something in game play and our car A change into Car B
So I created an empty gameobject called 'GameManager' and inside it another empty called "Spawner". I see that my chosen character spawns there. So I assume this "GameManager" is "Player" where I put my character controller, 3rd per. camera, collider etc?
It doesnt quite work for me. So i got the menu working perfectly fine and i have picked the model i want, but when i click the start button in the selection scene, it does not use the selected character. Instead it chooses the first element in the GameManager (Load Characters Script). Please help me.
@@krobinide9641 yeah I did it's still not working for me idk why. I copied the video exactly. Did you make any changes to the code or did you copy it exactly too?
Great tutorial! I can see that my code is working in the inspector, but I don't see my models appearing in the game view (even though I see it fine in the scene view). Any ideas on how to fix this?
It was deceptive easy. You skipped a lot of things obvious to experienced unity user, but... hey, I have used unity a lot, but long time a go, so I am not a total newbie, but I have problems with your canvas, buttons, and little things. Code is easy.