- Home /
Android creation
I got some minor worries im hoping people can help me. First, im wondeirng if my game will be up and down becuase right now its appearing to be side to side by default. How do i fix that or will it turn out ok? Also, anythinf i can use to make a better UI button. Like something that i can use as a interaction becuase the white button stands out a bit weridly.
Answer by OusedGames · Jul 04, 2017 at 01:57 AM
Hello buddy,
A lot of configurations you can do on Menu File/Build Settings/Player Settings
About UI:
- Colors relation means a lot, complementary colors and triadical color - Use Adobe Kuler web page to help you
- Animation on the Buttons, color changes on hover and click
Answer by Raimi · Jul 04, 2017 at 01:27 AM
Havnt really got anything to go on based on your your question, but you can change your game from landscape to portrait in player settings.
As for UI buttons for controls , use them as a visual representation, attach colliders and use raycast and rayhit along with touch events to handle input.
Hope this helps
So i did the player settings. But will it auto readjust my buttons, ect?
You can set it not to auto rotate if you want to, its there in player settings
$$anonymous$$y main worry still stands. I did all the settings but now will it move the objects to fit a android screen or do i now need to place them in a specific way
If you make your game landscape or portrait you will need to position your gameobjects based on screen/camera size if you want it to adjust to different resolutions.
Check out Camera.ScreenToWorldPoint https://docs.unity3d.com/ScriptReference/Camera.ScreenToWorldPoint.html
Building for different resolutions can get complicated but thats a good place to start
Your answer
Follow this Question
Related Questions
Tilting ball with acceleration in 2D for android 0 Answers
gui and tilt function 1 Answer
Flat and Incline Tilting Controls 0 Answers
Galaxy Note 3 No Shadows 1 Answer
mouseOrbit script for android 0 Answers