OtagoPolytechnic / Renewify

Renewify is a puzzle game made for third year "Studio 5/6" paper at Otago Polytechnic
https://mckeld3.itch.io/renewify
4 stars 1 forks source link

Ghost visuals #67

Closed PBWiseman closed 6 months ago

PBWiseman commented 7 months ago

This branch adds ghost visuals for placing and deleting buildings.

Fixing #59

PBWiseman commented 7 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.

PBWiseman commented 7 months ago

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.

opt1 opt2 opt3 opt4 opt5 opt6 opt7

PBWiseman commented 7 months ago

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.

PBWiseman commented 7 months ago

Cursors now change when mousing over a building to be deleted as per @LiamMcKenzie's idea in teams

PBWiseman commented 7 months ago
  • 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? image 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.

PBWiseman commented 6 months ago

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.