[Plugin] Windows Phone Updated - New Tutorial!

Post your completed addons to share with the community

Post » Thu Dec 19, 2013 10:35 am

@BluePhaze oops not sure how I missed your post.

I'd recommend looking into PNG-8 compression using Fireworks with alpha transparency. First export from C2 as 32-bit, then go through image-by-image in Fireworks, rexporting as PNG-8, with a focus on limiting the palette as much as possible. 16-128 colours are usually fine. Finally run a tool called PNGauntlet to further shrink the PNGs.

After you've done this to reduce image size as much as possible, then run the base64 encoding tool.

Your c2runtime file is currently teetering on the edge of being too large, which causes the crashes. These image optimisations should bring it back down to a workable size.

@esap no worries, congrats on the game!
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Thu Dec 19, 2013 10:36 pm

@thehen trying again using fireworks to batch process everything over to png8 with max 128 colors. Then running through the other tool. Then will run the base64 encode and see how it goes this time... I really can't wait for WebGL memory management in WIndows phone... I wish there was a good wrapper for it...
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Fri Dec 20, 2013 11:05 am

@BluePhaze Yeah I'm really hoping Windows Phone 8.1 makes this easier.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Fri Dec 20, 2013 7:47 pm

@thehen using the optimization had some negative visual effects (white outlines around images) so I tried a different approach and just optimized the largest of the images (anything above 10KB) since I Have over 243 images in the project. That ended up only optimizing about 37 images, but that seems to be enough as after the base64 encode I am now at just under 8MB on my c2runtime.js. I also did a brute export with png8 from C2 before doing any other optimization.

I wanted to ask though, for Windows Phone is there any option like in Win8 in visual studio to associate the app with the store listing before upload? I want to make sure my info is correct before upload and not legacy app ID, etc... from the Winphone plugin project's pre-existing files..

Also any news on the advertising functionality? I just can't find a good way yet to put ads in and be able to remove them when purchased like I can on Win8 using the advertising plugin...BluePhaze2013-12-20 19:50:21
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Thu Jan 02, 2014 1:34 am

Hi @BluePhaze how are you placing the ads in the Visual Studio project? I was able to make it for Windows 8 without any issues, but I have not been able to figure it out for Windows Phone.
B
8
S
3
G
1
Posts: 135
Reputation: 2,209

Post » Thu Jan 02, 2014 2:25 am

I have extracted the plug in files to the correct location, but when attempting to launch Construct, it claims it cannot access any of the file locations. This is despite the fact that I can navigate to, and interact with, said files.

I have Construct2 release 152. Windows 8.1. Anyone have any clue what's up?klanderson72014-01-02 02:28:06
B
3
Posts: 2
Reputation: 179

Post » Thu Jan 02, 2014 8:07 am

@gfigueroa I have not for windows phone yet, only windows 8, I was asking @thehen if he had made any progress on getting the ad support options into the windows phone plugin yet.

@klanderson7 Make sure they are in the "C:\Program Files\Construct 2\exporters\html5\plugins\WindowsPhone" directory, and not in the \WindowsPhone\Plugins directory
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Fri Jan 03, 2014 2:42 am

@BluePhaze I was able to add the Ads from PubCenter following this Microsoft Tutorial for adding Ads to a Windows 8 Phone.

Let me know if you have any issue and I will try to help you :)
B
8
S
3
G
1
Posts: 135
Reputation: 2,209

Post » Fri Jan 03, 2014 7:49 am

@gfigueroa But can you easily disable them if the user buys your app?
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Sat Jan 04, 2014 1:52 am

@BluePhaze I haven't been able to do that yet. For that particular game, I just released it with ads.
B
8
S
3
G
1
Posts: 135
Reputation: 2,209

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests