4 ms·
PHONK has some "shortcuts" to make prototyping and experimentation fast, such normalized UI positioning instead of complex but powerful layout systems. so for
by victornomad 6y ago
PHONK has some "shortcuts" to make prototyping and experimentation fast, such normalized UI positioning instead of complex but powerful layout systems.
so for example you can write the following to include a button
ui.addButton('Click me', 0.1, 0.1, 0.8, 0.2)
That's quite fast to do, but on the other side it makes it a bit cumbersome if your UI is complex and you need to support lots of screen sizes.
The good thing is that PHONK is quite easy to extend and virtually you could expose any Android API to the Javascript engine.
Packaging a PHONK script is possible but I haven't had much time yet to write a guide. I you want, you can follow this issue and upvote it if you think is worth it to have a guide! https://github.com/victordiaz/phonk/issues/9 https://github.com/victordiaz/phonk/issues/9
- foobar_ 6y agoIts definitely worth it, heck make it a script so that I don't have to think about it. Also IOS ?
- victornomad 6y agoSadly IOS is not supported, PHONK depends a lot on Android and Java. I would be very happy to see this or something similar in IOS though!