Nashet / Prosperity-Wars

Game-like agent based economy simulator
GNU General Public License v3.0
251 stars 41 forks source link

Locked Dragable windows to the screen & fixed enterprises window on closing via button. #467

Closed dillyo09 closed 6 years ago

Nashet commented 6 years ago

@dillyo09 , I just published #469 update on github pages, including your fix for enterprises window. Rest will be overviewed soon. Also, in current update I switched to Unity 2017.40f1, it shouldn't break something but looks like working faster.

Also, would you like your name to be mentioned on credits page?

dillyo09 commented 6 years ago

If you want to add me the to the credits panel then you can, I did not realize that there was an engine update.(I will update my unity accordingly)

Nashet commented 6 years ago

Merged it, great job! But why did you make all panels placed in center of screen? Originally, they was placed in corners, almost without overlaps, that's comfy. Without centering panels now placing randomly, that because of wrong pivots. I'll try to put them back

dillyo09 commented 6 years ago

I was not sure what I was thinking with the centering I just had to make some adjustments and the windows were not appearing on the screen correctly so I centered them by default. I had to change the pivots so that way it keeps them on screen.

Nashet commented 6 years ago

Yeah, I see now that it's better to keep pivots zero everywhere editing anchors instead

dillyo09 commented 6 years ago

It depends on the UI, but it works good for this system. (UI is my favorite thing to work on.)

Nashet commented 6 years ago

Then I just atу your bread #311 in 0.20 branch