• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by julesown · Jul 16, 2011 at 06:50 PM · javascriptmultiplayermultipleplayer settings

Can I set up a character selection screen?

Hi

My game is progressing really well but cant work out how to set up a character selection screen - there are 7 characters to choose from and they all enter the same world. Im trying to get away from having to make 7 worlds each with a different player.

Is it possible to script it so when a character is chosen in the character choice screen then that character is placed into the world as your player without the need to make 7 different worlds?

I hope ive made myself clear and any help will be gratefully recieved.

Thanks

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Peter G · Jul 16, 2011 at 06:52 PM 1
Share

See this page:

http://answers.unity3d.com/questions/47130/how-do-i-set-up-a-character-selection-menu.html

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by bocodeveloper · Jul 20, 2011 at 10:21 AM

yes very easily what you would do is make an array of GameObjects then setup a GUI with buttons and upon clicking said objects you could then spawn the character according to the button you pressed.

for example in pseudo code

GameObject[7]

   button1Pressed
 {
   //Spawn player at start location
 initiate.GameObject[1] 
 
 GameObject[1].transform = startlocation

 DrawMenu = false;

 
 }
 
 etc
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image julesown · Jul 21, 2011 at 08:35 AM 0
Share

wicked thanks

Thats exactly what im looking 4cheers

avatar image
0

Answer by Gamier · May 31, 2013 at 12:31 PM

I have character selection screen and it is a scene what i want that selected player should go in my gameplay scene which is a different scene..how can i do it?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by JeffHenrique · Jul 30, 2013 at 03:49 AM

I think this tutorial can help you: Link You just have to adapt for when you select a character you send him to you main scene.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Zero Axl · Sep 13, 2013 at 02:46 AM

How to make Character Select Screen like Mortal Kombat 9

Tutorial:

Script:

pragma strict

var target : GameObject;

function Start () { target.renderer.enabled = false; }

function Update () {

}

function OnMouseEnter () {

     target.renderer.enabled = true;
    
     
     }
     
     
     

function OnMouseExit () {

    target.renderer.enabled = false;
   
    }

///////////////////////////////////////////////////////////////////////////

The word (target) it's plane has a fighter render texture

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I make my character "throw" and "catch" an object? 1 Answer

change a material from multiple materials 1 Answer

Creating Multiple Game Screens 1 Answer

Multiplayer nametag problem 1 Answer

Online Player Position 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges