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

Build for mobile :) #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andydotxyz
Copy link
Contributor

This PR updates some code so that it will compile for mobile devices.

This is 100% functional on Android :) and somewhat functional on iOS (it stops counting in the background...)

This includes bundling the sound asset so we don't look up at runtime.
Also better for apps installed on desktop machines too.
(RGBA cannot have an A of 1 and R of 165)
Move it to NRGBA as that is more familiar (this is what "rgba" is in CSS).
@andydotxyz
Copy link
Contributor Author

Is this sort of PR helpful for you @Nikeweke? I have a bunch more things that I think could add to the project if you are interested.

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

Successfully merging this pull request may close these issues.

None yet

1 participant