Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 saharukh · Jul 23, 2018 at 05:04 PM · scripting beginnerscene-loadingtutorial

I want to make a game where user can choose his Background and his character before the game from a list of pre loaded characters and background, but I dont know how to do it , can anyone help me ?

I want to make a game where background and character can be chosen before loading the level, I am not a scripter so I will need some help, can anyone help with some tutorials? thanks

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by 3kWikiGames · Jul 23, 2018 at 05:22 PM

This would require some knowledge of coding so I would recommend learning some beginners code for either c# or javascript. For this you will need to begin by writing public sprite objects into your script for the backgrounds. This would be so that you can insert the sprite image you need into the script to be used for later. There are many more steps to this but this is how I would go about doing it, (use this forum and youtube which is how I learned how to use the software).

1) Create a canvas object (This will be the UI or the images on screen that are sometimes interactable, like dialogue, buttons, healthbar, etc) 2) Upload all your sprite images into the project, (keeping them in seperate folders for organization). 3) Create buttons on your canvas (using gameobject -> ui -> buttons) that looks like arrows to be able to make your choices between backgrounds and characters 4) Create scripts that use arrays so that you can increase the index of an array by one, changing the image on screen each time you click the button either left (like public void left() ), or right (public void right() ). 5) Create an empty object, and name it scripts, then add both the above scripts you created into this object. 6) Then put this scripts object into your buttons, depending on if their left or right, so this should change the picture between the buttons each time you click a different one if your script does what you want it to.

There really isn't an easy answer for this but I would recommend trying to learn this for yourself, even though it may be frustrating at first, learning simple coding by yourself will be very helpful in the longrun, and people here will always be there to help with your code in the future. Good luck @saharukh

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.

Follow this Question

Answers Answers and Comments

98 People are following this question.

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

Related Questions

Not sure what is wrong with my timer script. 1 Answer

,I want to save the execution result. 0 Answers

How to load a scene with GameFlow on button click ? ( XR RIG / Oculus Quest ) 0 Answers

Using KeyCode or get buttonDown for activate collider 2d 1 Answer

Beginner using Unity Playground Project: Can I end scene/game when a score is reached using the condition scripts? 0 Answers


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