Closed PBWiseman closed 6 months ago
Not quite finished but some feedback on what I do have in there would be great. I still want to add something to the building when I go to delete it and I don't love the cursor. The cursor does change though and the ghost buildings work.
I've put together a selection of different cursor options. I would love some feedback about peoples preferred one. I plan on putting an effect on the building to be demolished as well but I want something on the cursor so people know they are in delete mode.
I have also implemented a delete mode hover of the building turning red. A selection of different cursors are in there for testing. You can add them in the Inventory Management cursor texture field in the editor. There are two lines of code in inventory management (lines 40 and 41) that you can change depending on if you want the selection point of the cursor to be the middle or the top left corner.
Cursors now change when mousing over a building to be deleted as per @LiamMcKenzie's idea in teams
- When entering play-Mode this error appears
That error is from the building selection panels on the UI. Not an issue from my branch and it will go away when we add a third building. I just changed the text of it as I found the first text a little unclear.
- The Solar Panel does not appear to have the transparent texture applied to it
It seems to have the same material attached as the windmill? It might just be brighter because there are more stacked on top of each other? Not sure.
- when the mouse isn't still on a building / tile the building is still red
Issue should be fixed now.
The invalid ghost material could be more vibrant. hex code of FF0027 and alpha of 60%-80% looks nicer.
Colour changed. Good idea!
because we have a custom delete cursor, it might be nice to add a default cursor icon. In the same pixel artstyle
Out of scope for a last-minute fix but I agree. Will add this to issues backlog.
This branch adds ghost visuals for placing and deleting buildings.
Fixing #59