Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/NPC Codex #135

Open
rh5140 opened this issue Jun 22, 2022 · 1 comment
Open

Bug/NPC Codex #135

rh5140 opened this issue Jun 22, 2022 · 1 comment
Assignees

Comments

@rh5140
Copy link
Owner

rh5140 commented Jun 22, 2022

Display information about a bug or denizen (NPC) after meeting them. Add upon finishing first level w/ particular character.

Work on codex branch: https://github.com/rh5140/srs-team-bug/tree/codex
The script to work with is Codex.cs, and the codex UI prefab can be found in Prefabs/Codex Prefabs/Codex Canvas. Right now, the codex resides in the World Map only, but after the implementation is complete, it will be added to each level.

The codex is functionally an inventory system, so there will need to be one additional script written that inherits from ScriptableObject for the actual entries.
Inventory tutorial: https://github.com/uclaacm/studio-beginner-tutorials/tree/main/Pokemon_Inventory
(Definitely look for other tutorials as well)
Talk with @fpeng-02 about how unlocking levels works.

To test, you MUST start playing from the Save Menu scene, which can be found at Scenes/Menus/Save Menu. Autowin levels with Y and check if the codex is updated as expected upon returning to the World Map.

Ray: UI/Design
Andrew: Implementation

Name Denizen or Enemy Unlock after
Basic Fly Enemy 0000
Old Hunter Denizen 00D0
Child Denizen 00D2
Weird Fly Enemy 0100
Fly King Denizen 01D0
@rh5140
Copy link
Owner Author

rh5140 commented Jun 28, 2022

image
click button to open codex --> content is locked --> after first entry is unlocked

image
image
image
After unlocking the character:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants