Showing posts with label export. Show all posts
Showing posts with label export. Show all posts

2013-12-19

Construct 2: Landscape Bug Fixed for Windows Phone 8 Export

A few days ago, I submitted a thorough bug report for Windows Phone 8 apps made from Construct 2 not going to landscape mode when it's supposed to. But, thanks to the great developers of C2, this bug has now been quickly fixed for the current beta release r155. So, this saves you C2 developers an extra step.

Get Construct 2

~ Danial Goodwin ~



2013-12-15

C2: [Bug Fix] Windows Phone Export Doesn't Go Full-Screen or Landscape Mode

So, in my quest to create 100 Windows apps, I'm finding more solutions to bugs/issues/problems with the export of Windows Phone from Construct 2.

Problem: No Fullscreen. Here's how to fix it:
1. After you have exported the app from Construct 2, open MainPage.xaml
2. Find the line that says:
shell:SystemTray.IsVisible="True"

And, change it to:
shell:SystemTray.IsVisible="False"



Problem: No Landscape Mode. Here's how to fix it:
1. After you have exported the app from Construct 2, open MainPage.xaml
2. Find the line that says:
SupportedOrientations="Portrait" Orientation="Portrait"

And, change it to:
SupportedOrientations="Landscape" Orientation="Landscape"


That should do it! =]

UPDATE: The landscape mode problem has now been fixed! (2013-12-19)

~ Danial Goodwin ~



2013-12-14

Construct 2: Exporting to Windows Phone

Windows Phone app certification requires games to have "Back" button functionality. E.g. Main menu should exit app and other pages should either go back within the game for navigation or bring up a pause popup.

So, using the plugin + strategy mentioned here, I was able to bring the Windows Phone app up to standards for publishing. There is a great function/event/action that can be called to intercept the back button presses so that the developer can do whatever.

Also, I didn't use the entire strategy mentioned at the above link, but that's the method I would recommend others to take. I took the harder method just for learning how the plugin worked and involves moving a lot of code around manually and breaks some of the functionalities in the plugin so that only `Back` works. But, eventually, I think I will share the specifics for learning about the C2 plugins.

~ Danial Goodwin ~