[Plugin] Pokki

Post your completed addons to share with the community

Post » Wed Feb 22, 2012 10:05 am

Pokki

Pokki is introduced in this thread.

Pokki plugin can pass some Pokki events into C2 event sheet, or execute some Pokki fuction. To use this plugin, you might need to setup environment first.

Currently, it provides "Condition:On hidden", "Condition:On showing" to support implementation of pass/resume when pop-up window hidden/showing.

Here is an example, it inculdes a capx file, and it's Pokki app, you can add this app to see the result. You will see some text after showing window.

To implement pause easily, you can try
pause plugin.rexrainbow2013-02-12 16:56:51
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Wed Feb 22, 2012 11:56 am

great!!!! tnx Rex for all your nice jobs
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Thu Feb 23, 2012 6:06 am

Thanks rex, ok heres the complete C2 pokki test project that i'm testing with. It contains the all the neccessary files and environment to load into pokki right away so all you have to do is just add it to it. The .capx is also in the package too.

I can see that the on_showing condition is definitely firing from your plugin, but it still doesn't seem to "unpause" the game. If i were to use the Browser plugin and test this for on page hidden, and showing it does work (unpause the game, and replays music).

Download pokki project and capx : here

BTW, do you know how to get pokki to display the loading screen while the game is loading???
B
37
S
9
G
5
Posts: 147
Reputation: 5,615

Post » Thu Feb 23, 2012 1:53 pm

@Cryptwalker

In your app folder, the text
[code]"On showing trigger" & newline[/code]
had not be shown when "Condition:On showing". Something wrong in your app folder.

I export files from your capx then put them into lazy wrapper "C22Pokki_DirectCopy", it works fine, music can stop/start when pause/resume. Try it.
rexrainbow2012-02-23 13:54:33
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Fri Feb 24, 2012 3:53 am

Ok thanks rex i understand, now it works. However, can't get the minimized button to work anymore now like i did in my example. Were you able to get it work using your lazy wrapper?
B
37
S
9
G
5
Posts: 147
Reputation: 5,615

Post » Fri Feb 24, 2012 4:24 am

@Cryptwalker

Hum... "Action: Close popup window" can help you make a custom minimized button.

My team leader @gonzdevour had joined this Pokki competition -- Yin & Yang.
rexrainbow2012-02-24 04:31:40
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Fri Feb 24, 2012 5:34 am

Ok thanks, got it to work now :)! Hmm...i just wished i could of gotten this done by Monday and was able to submit my entry..
B
37
S
9
G
5
Posts: 147
Reputation: 5,615

Post » Mon Mar 19, 2012 12:05 am

Update:

Add version to 0.1
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests