[Plugin] Metro/Windows 8

Post your completed addons to share with the community

Post » Sat Oct 06, 2012 7:29 pm

[QUOTE=Fredrik] Hi,
I noticed that when the game is in "filled" mode the game is not centered correctly. See this image for an example.
Also, is it possible for the letterboxing to be pure black instead of a dark grey? I Think the dark grey comes from the ui-dark.css file, correct? Oh, and one last question. :) Is it safe to use the latest beta release (r105) with this plugin or do you recommend r104?

Many thanks,
Fredrik[/QUOTE]

@Fredrik:
1. For the background color, yes it is getting the dark grey from ui-dark.css. A quick and dirty way to override is to add a style to the body tag in your index.html file:
<body style="background-color:rgb(0,0,0)">

2. For the incorrect centering, I will fix it in an update for the plugin shortly. But here is the simple fix: you will have to reorder the divs "fs" and "c2canvasdiv" in index.html so that it looks like this below:
        <div id="c2canvasdiv">     
            <!-- The canvas must be inside a div called c2canvasdiv -->
            <div id="fs" class="grid-item">

3. r105 is working fine.
iunkn2012-10-06 19:33:11
B
18
S
7
G
5
Posts: 71
Reputation: 4,991

Post » Sat Oct 06, 2012 7:38 pm

Thanks for the answers. :) Your plugin seems to work really well except for that centering error, so thanks for that fix. :D
B
5
S
1
G
3
Posts: 10
Reputation: 2,002

Post » Mon Oct 08, 2012 4:13 am

@Fredrik:
I have updated a version 9.1 of the plugin with the fix. Thanks for reporting the issue! :)
B
18
S
7
G
5
Posts: 71
Reputation: 4,991

Post » Mon Oct 08, 2012 4:24 am

When i pressed f5 your ghost shooter r9 with VS2012, it makes me wonder Live Tile doesn't update while i destroyed some ghosts.
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Mon Oct 08, 2012 5:36 am

@Joannesalfa:
You will need to follow the steps outlined here:http://c2metro.wordpress.com/2012/07/27/support-for-live-tiles/

Specifically, you will have to make sure to name your file app-widelogo.png for the wide logo.
B
18
S
7
G
5
Posts: 71
Reputation: 4,991

Post » Mon Oct 08, 2012 5:56 am

I have published a game Blast the bricks to the Windows Store. I have written a short write up on what features from the plugin I used for this game.

Also, update this thread with your Windows 8 publication for us to discover each other's games!
B
18
S
7
G
5
Posts: 71
Reputation: 4,991

Post » Mon Oct 08, 2012 6:01 am

[QUOTE=iunkn] I have published a game Blast the bricks to the Windows Store. I have written a short write up on what features from the plugin I used for this game.

Also, update this thread with your Windows 8 publication for us to discover each other's games![/QUOTE]


Congrats!


I registered a BizSpark account that may give me a year of publishing my app on windows store for free.
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Mon Oct 08, 2012 6:46 am

[QUOTE=iunkn] @Joannesalfa:
You will need to follow the steps outlined here:http://c2metro.wordpress.com/2012/07/27/support-for-live-tiles/

Specifically, you will have to make sure to name your file app-widelogo.png for the wide logo.
[/QUOTE]

I created a new app-widelogo.png maube you didn't include on your illustrative example and i ran, it shows a picture on live tile but it didnt appear a live text and i got an error from console HTML 1701 cannot add dynamic content...
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Mon Oct 08, 2012 6:50 am

Nevermind it's working now, maybe it was randomJoannesalfa2012-10-08 06:50:35
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Mon Oct 08, 2012 7:06 am

Hey, i would love to know if is possible to update new images on live tile, i know it's already implemented for text, but it would be awesome if it works for images.

http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspxJoannesalfa2012-10-08 07:07:08
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: DragoMej and 0 guests