Unity Character Selection System - 2D Platformer
Вставка
- Опубліковано 4 вер 2024
- Let's take a look at how to implement a Simple Character Selection System in Unity.
● Project Files: github.com/Cha...
● Game Art 2D: www.gameart2d....
● Playlist Link: bit.ly/3dg1X88
● Game Assets: bit.ly/3xVVLtJ
♥ Don't Click This! : bit.ly/2Zi3vu9
♥ My Second Channel: bit.ly/3jvI8g6
--------------------------------------------------------------------
► Best Budget Gaming PC (Affiliate links):
5) HP Pavilion 15.6": amzn.to/3aPo8kj
4) Dell G3: amzn.to/3e5EJlP
3) ASUS TUF FX504: amzn.to/3e3jWPD
2) Acer Nitro 5: amzn.to/32YqcC2
1) Lenovo Legion 5: amzn.to/2R9P5Z1
--------------------------------------------------------------------
FOLLOW ME:
● Facebook: / developer3.5pro
● Twitter: / chaker_gamra
● Sketchfab: sketchfab.com/...
● Website: chaker-gamra.h...
--------------------------------------------------------------------
► All content by GDTitans is 100% free. I believe that education should be freely available to everyone.
very nice tutorial, i have seen lot of tutorials like this but this one is simple, no informations are getting skipped and stuff like that. very nice even one year later.
Tell me, please, are the skins saved there for all scenes or just this scene?
I cant explain how helpful you are
You're welcome
Thank you for this. This is what we needed to get a base for character selection. Subbed.
Thanks 😊
did you ever get a double character spawning? I either don't get a spawning first character at all or if I add a player to the scene then it actually spawns a second one but its not animated. Any ideas why my project might be doing that?
Hi, I m having a problem in 19:50 the array is not working this is my code: public class CharacterSelect : MonoBehaviour
{
public GameObject[] skins;
public int selectedCharacter;
private void Awake()
{
selectedCharacter = PlayerPrefs.GetInt("SelectedCharacter", 0);
foreach (GameObject player in skins)
player.SetActive(false);
skins[selectedCharacter].SetActive(true);
}
}]
Yeah i know why your code Is not working. There shouldn't be that square
Bracket at the end of code.
any thoughts how i can use playerprefs to show an icon that will show what characters face after i use this system? I have an animator attached to the face so i was thinking from playerprefs changing the animator controller? how would you code that? THoughts?
No on UA-cam teaches that deep, thanks a lot
I appreciate that!
Thanks
One of my client asking me to do that
Great 👍
I'm having problem moving to next screen with selected charecter
Hello friend your interesting and well done video, it helped me a lot, I was wondering if instead of the virtual camera you can only use the main camera and how, thanks.
Please make video on level lock system and unlock that level when previous level is finished. Also unlocking the characters when user watch the rewarded ads...? And how to move player,jump with UI buttons like 2d platformer ?
That's exactly what we are going to do next
Скажите, пожалуйста, там скины сохраняются всех сценах или только этом сцене?
For all scenes
@@GDTitans Thank you!
W human, this was very helpful. Thanks man
Glad to hear it!
I do what I can
I LOVE YOU
I need help, when I try to go to the previous skin nothing happens.
Thanks for tutorial, and I have a question, every time I add character to the shop panel it hidden, so if I add images and put the skins in that images it's will work fine, right?
Edit: I tried add images and it works well:)
Anytime
Please make a video on how to create game Mini Militia in unity
Sir please make 2.5d that platformer game android mobile button controls please sir please as soon as possible
Please sir please please
Nice video
Thank you for this! I have some problems, when I start the game, the character is spawn at check point, but I can't use joystick to control my character, what should I do?
I'm having the same problem, couldn't find a solution 😢
I solved the problem
I referenced the joystick object. I tied a tag
Joystick = GameObject.FindGameObjectWithTag("Joystick").GetComponent();
if we don't use Last Check Point In our code than what should we add in code please help.
Did you find a solution to this? i hace the same problem
Could I use this script in my game without any copyright?
All content by GDTitans is 100% free.
@@GDTitans thank U
Player perf?
Level and player lock,,,,
Pls i need help it says index outside bounds array
Did you find solution to it? I am having the same problem.
i'm experiencing the same, did you succeed?@@nishahasan3334
do you have discord i have questions