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
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).
- Create a canvas object (This will be the UI or the images on screen that are sometimes interactable, like dialogue, buttons, healthbar, etc)
- Upload all your sprite images into the project, (keeping them in seperate folders for organization).
- Create buttons on your canvas (using gameobject → ui → buttons) that looks like arrows to be able to make your choices between backgrounds and characters
- 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() ).
- Create an empty object, and name it scripts, then add both the above scripts you created into this object.
- 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