ApericotStudio / Poltergeist

Main repository for development of the Poltergeist game
0 stars 0 forks source link

Feat/controller support menu #485

Closed hassanmohamed2003 closed 9 months ago

hassanmohamed2003 commented 9 months ago

Description

Able to navigate menus with controller

Setting up testing environment

  1. In the project window navigate to Project/Assets/Scenes/UI and open the "MainMenuUI" and "Final Exam" scene.
  2. Press Play.

Fix Review

Controller support

Criteria:

Checklist

These checks should always be true for your pull request

ThijsvanDijk commented 9 months ago

Can you change hover and click image to the following Click_on_state_button Hover_state_button

You can put a script on all buttons (search for buttons in scene with t:Button in searchbar): Make a scriptable object that holds a reference to three sprites for hover, click and idle. In the script swap out button sprite on select, on hover, on click

hassanmohamed2003 commented 9 months ago

brown click, light hover

hassanmohamed2003 commented 9 months ago

Works pretty nicely overall, but a few things need fixing: Level Select:

  • [ ] Final Exam in timetable does not highlight like Assignment

Credits:

  • [ ] Both selecting and clicking with controller does not work for me

Pause menu:

  • [ ] Cannot close button map after opening it
  • [ ] After closing an overlay in pause menu with mouse could not interact with options menu anymore

Results:

  • [ ] Cannot do anything on results screen

End Cutscene:

  • [ ] Cannot skip

End Certificate:

  • [ ] Cannot skip

lmao a few