Implement hint system and music mute. #18

Merged
pyrex merged 3 commits from kistaro/chameleonic:hintsystem into main 2023-01-01 07:56:38 +00:00
Contributor
No description provided.
kistaro added 1 commit 2023-01-01 07:35:08 +00:00
kistaro added 1 commit 2023-01-01 07:38:16 +00:00
Allows testing progressive display of more hints.
pyrex approved these changes 2023-01-01 07:44:04 +00:00
pyrex left a comment
Owner

Minor changes, then approved

Minor changes, then approved
chameleonic.p8 Outdated
@ -1707,0 +1728,4 @@
-->8
--hint system
function gsv(s)
Owner

Should be in the general utility functions section.

Should be in the general utility functions section.
Author
Contributor

Done.

Done.
kistaro marked this conversation as resolved
chameleonic.p8 Outdated
@ -1707,0 +1760,4 @@
local lh = self[rec[1]]
if not lh then
lh = {rec}
self[rec[1]] = lh
Owner

This bit can be golfed more but I don't care.

This bit can be golfed more but I don't care.
Author
Contributor

Trimmed

Trimmed
kistaro marked this conversation as resolved
Author
Contributor

Updated for feedback. Additionally, added a feature: hold the mouse to make it print an "X" and the mouse coordinates at the mouse location. This will make it less annoying to find hint locations. To disable this, comment out the poke in hints:init. (Optionally comment out the if stat(34) != 0 block n hints:draw2, but stat(34) will always be 0 if devkit mode is not enabled.

Updated for feedback. Additionally, added a feature: hold the mouse to make it print an "X" and the mouse coordinates at the mouse location. This will make it less annoying to find hint locations. To disable this, comment out the `poke` in hints:init. (Optionally comment out the `if stat(34) != 0` block n `hints:draw2`, but stat(34) will always be 0 if devkit mode is not enabled.
kistaro added 1 commit 2023-01-01 07:54:34 +00:00
pyrex merged commit 693cdaa11d into main 2023-01-01 07:56:38 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pyrex/chameleonic#18
No description provided.