How do I fix these errors in Visual Studio - Windows 8 game

Get help using Construct 2

Post » Thu Apr 16, 2015 11:21 pm

Hi, it's my first time creating a Windows 8 game, but I have some issues, at least Visual Studio is advising me about them. The game indeed opens correctly, but I get these errors and messages in the console:

HTML1701: Dynamic content can't be added '<select msallowclip=''><option selected=''></option></select>'.

It is a bit larger, but the error appears in spanish. I suppose that's because my Microsoft account it's in spanish? Anyway I'll try to translate them, or at least the most important parts of the messages.

It also tells me this:

WEBGL11135: getContext: the context attribute depth:false isn't compatible currently File: c2runtime.js, Line: 3371, Column: 5

Also if I try to resize the game, I get this warning:

The method Windows.UI.ViewManagement.ApplicationView.get_Value has been deprecated. Value may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly.

I'm using Windows 8.1, and I exported the game as an universal app. I'm using the PubCenter plugin as well.

Also, how can I show an image or text when the player has resized the game? I saw some apps on which if you resize the game, it shows an splash screen with a logo or a message telling you to play in full-screen, instead of showing the resized game.

I appreciate your help; I always have issues when I start working with a new technology, but anyway, Visual Studio is fun to use so far :P
B
23
S
3
G
3
Posts: 26
Reputation: 1,832

Post » Fri Apr 17, 2015 12:20 am

Not that I can tell you what is wrong, but it sounds a lot like some sort of bug. So if I were you I would try to post it in the bug section and maybe Ashley can clarify it for you. At least that my best advice :D
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Fri Apr 17, 2015 9:55 am

Ok, I'll try to submit the bug report. Another strange thing is that the pubcenter ads don't appear, even when I added the correct settings in the plugin; or the ads don't appear in the testing phase with Visual Studio? Does it works when the app has been compiled? >.<
B
23
S
3
G
3
Posts: 26
Reputation: 1,832

Post » Wed Apr 29, 2015 9:03 pm

Bump! Apparently I fixed some errors when I modified some values. Still I cannot find a solution for the other two, though I have searched on the forum and multiple websites as well >.<

"The method Windows.UI.ViewManagement.ApplicationView.get_Value has been deprecated. Value may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly."

I searched in the c2runtime.js but I cannot find a way to fix that. I also found a topic on other website which said how to fix the snap issue, but it's old, from 2012, and apparently the c2runtime.js doesn't uses that type of code anymore.

And also, is there a way to show a pause image or something when the players snaps the game? I think the Windows 8 plugin had this option before, right? But now, how can you do that? I read somewhere that you had to issue CSS queries to check if the app was being snapped, but I don't know how I would use these queries in Construct 2.

Any ideas? Thanks in advance =)
B
23
S
3
G
3
Posts: 26
Reputation: 1,832


Return to How do I....?

Who is online

Users browsing this forum: Iquerno and 30 guests