feat: added tips to main menu #67
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request implements the display of a random game tip on the main menu, fulfilling the requirement for issue #51. This feature provides new players with helpful guidance about core mechanics such as dashing and power-ups.
Key Changes
New Script (
TipDisplayManager.cs)A self-contained script that manages an array of string tips, selects one randomly using
Random.Range(), and assigns it to a TextMeshPro component in theStart()method.UI Integration
A new
TipTextobject has been added to the main Canvas in the MainMenu scene, positioned near the bottom so it is visible without interfering with menu controls.Reusability
The tips array is exposed in the Inspector, allowing future developers to easily add or modify tips without editing code.
Semver Changes
Issues
This pull request closes:
Checklist