How do I enter Fullscreen in Windows 10 builds

Get help using Construct 2

Post » Thu Mar 31, 2016 11:08 am

brentcee23 wrote:Did anyone find a solution or did the bug get fixed? I'm getting Fullscreen request failed: [object Event] in visual studios.

Thanks!


Just found a way to fix this using a little JavaScript
Just stick this code at the top of your C2Runtime.js file in visual studios.

"
var activation = Windows.ApplicationModel.Activation;

var ViewManagement = Windows.UI.ViewManagement;
var ApplicationViewWindowingMode = ViewManagement.ApplicationViewWindowingMode;
var ApplicationView = ViewManagement.ApplicationView;


ApplicationView.preferredLaunchWindowingMode = ApplicationViewWindowingMode.fullScreen;"

That should launch it fullscreen :)
B
12
S
2
Posts: 110
Reputation: 1,045

Post » Wed Apr 13, 2016 12:15 pm

Thanks man, i was having problems with this.. Saved my day!
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Previous

Return to How do I....?

Who is online

Users browsing this forum: draiza and 27 guests