Support and General Use > Plugins/Viewers

Power Hour plugin?

<< < (5/5)

jswetzen:
I've made a quick and dirty powerhour plugin: it starts at 20 seconds, counts down to 0, "Drink!!" flashes for a few seconds and it counts down from 60 seconds down to 0 etc.

This is my first plugin, so it's very simple and is only tested on the iPod simulator. I have also borrowed code from some other plugins.
I won't play this game myself (I don't drink), but it was an easy first project and I think it's functional. If someone wants to develop it further, you can consider this a rough draft.

I've attached the source file.

Llorean:
In all honesty, did you think it was *accidental* that we didn't allow .rock extensions, and that we'd simply be okay with you renaming it to .txt, or did you think it wouldn't be noticed?

Patches should be posted to the tracker. Anything compiled should be handled via the unsupported builds forum (plugins need to be built for a specific player, as well as often needing to roughly match the version of Rockbox on that player).

johnz1:
jswetzen, thank you SO much for taking the time to make the plugin.  I can't wait to try it out.  Hopefully it will be usable on the Gigabeat.

Can someone post the compiled plugin in the Unsupported Builds forum?

jswetzen:
Llorean: Honestly, I didn't think at all. I just heard about a million voices in my head whispering "How do I use it?", "But I don't know how to compile!", "Could someone please post the compiled plugin?". But I apologize for my thoughtlessness, it won't happen again.

Navigation

[0] Message Index

[*] Previous page

Go to full version