-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Conflicts] UI Menus Loaded At Runtime #707
[Conflicts] UI Menus Loaded At Runtime #707
Conversation
Added a tempUI container until I can figure out a UI bug when there spawned in at runtime
No XML done.
NO MORE MESSING WITH THE SCENE FILE Some screenshots below: -Change the construction menus to use the grid layout (you can change this now with out touching the SCENE) Right now I'm using a work around and loading all the menus for one game object that has the prefabs of each menu as a child of it. (TempMenus). I tried to load a a game object that then loads each menu for you but it does not position them right. (UIMenus). If you do change any menu just change the menu its self (ie MenuRight, MenuTop ) not (TempMenus). I think we should still merge this now and work on the menus loading individually by code later. |
What's the reason you changed the UI to be in a grid? |
This PR is final the next one will be resizing try to keep each one focused on one issue. The Temp is used to hold the menus so there position stays the same on the UI. If you load a menu by its self it will just goto the center. The reason for the grid is for when the Canvas rescale is set. This will allow you to not have a column going straight up it will end up filling side ways like RimWorld. Just submitting this before I tackle resizing so I can make my PR's small like many have asked. |
# Conflicts: # Assets/Scripts/Controllers/WorldController.cs # Assets/Scripts/UI/InGameUI/MenuController.cs # Assets/Scripts/UI/UIMenuLoader.cs
This PR has a couple of problems:
After testing it, I'm still not a fan of the Grid view. Can we get additional input on that? @WardBenjamin @RodRitter @Mizipzor |
Haven't been able to test yet, but I also don't like the grid view. It doesn't seem scalable. |
@vogonistic I care less about the look and more about that this is moving more stuff out of the scene.But I didnt actually pull this to have a proper look. |
The grid view will look nice once we change the ugly buttons with nicer ones with images, and making them squares like in RimWorld. |
@Mizipzor yes that is the main point of this upload. @TomMalbran I agree. @vogonistic I can fix the problems in about 9 hours after work. @RodRitter As for the grid view after I make the scaleable script it would like alot better. But anybody can change it all I ask is you give it a try even if we only want it 2 colums wide. Atleast until we get sub menus. |
@dustinwloring1988 Could we split this work up in two? One pull request to lift the stuff out of the scene, and another for a redesign of the menus? I have a feeling that the grid will be controversial and we should let more people weigh in, which takes time, which makes difficult to merge scene changes. |
@Mizipzor ok no problem will do when I get home, will you be able to add it tonight then.It will be in about 7.5 hrs from now |
# Conflicts: # .gitignore # Assets/Scripts/Controllers/WorldController.cs # Assets/StreamingAssets/Images/Character/p2_animated.png.meta # Assets/StreamingAssets/Images/Character/p2_animated_mask.png.meta
Did you just, like, add every file to Git? :P |
lol. I did not notice that, just tried to update my files. This is my first week ever using GitHub. Ill just redo the whole thing later. |
If you guys could merge all PR's that will effect the UI in the next couple hours. Ill wait until then and have it done by morning. Please try to add the new PR I do in the morning waiting a day makes it hard for me to manage the changes. |
No description provided.