Music in Windows 8 Export

Get help using Construct 2

Post » Sun May 19, 2013 1:19 pm

Hey all,

I was at a Microsoft Game Development Conference hosted by my University for Computer Scientists and have entered a competition for best game app.

Anyway, I have now finished my game and exported it to Windows8.

For some reason, my music file "onwards.ogg" doesn't export into the media file. And it doesn't play - I tried adding it my self (also to the VSUltimate solution under "media") but nothing worked.

I'm just wondering if there is something specific I have to do to get my music working with Windows 8 export. It works fine with test app.

Close date is 26th of May for competition entries so no hurry just yet.

Please and thank you :)
B
3
Posts: 7
Reputation: 364

Post » Sun May 19, 2013 3:08 pm

^ use m4a instead of ogg
app for windows8 still use with base of IE
B
8
S
1
Posts: 5
Reputation: 760

Post » Sun May 19, 2013 10:26 pm

Converted to wav and then imported again - everything works perfectly.
It's failing when building the app package now in Visual Studio though.
:S

Thanks for your help!
B
3
Posts: 7
Reputation: 364

Post » Sun May 19, 2013 10:42 pm

Sorry for double posting if it's an issue here.
Do we need the file "jquery-2.0.0.min.js"?

Seems to be what is failing my validation.

Cheers
B
3
Posts: 7
Reputation: 364

Post » Sun May 19, 2013 11:47 pm

Keep it together with c2runtime.js

I'm not sure but maybe it make c2runtime.js lighter

All things are my personal experience so if I'm wrong, please pardon me :-"
B
8
S
1
Posts: 5
Reputation: 760

Post » Mon May 20, 2013 3:40 am

Yep I just had to export the js file as something different (the verification report told me how to do it)

Now I'm all packaged up and my game has been sent to Microsoft.

Hopefully I win at least a personal license or a $100 voucher from the Microsoft competition on this site because I really want the full version of this software - I love it!

Thanks for your help :)

Looking forward to being apart of this community.
B
3
Posts: 7
Reputation: 364

Post » Mon May 20, 2013 9:18 am

Do not minify windows 8 games
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Mon May 20, 2013 11:54 am

^ Yeah I did that also as a precaution when making my final build.

Cheers for all the info guys - very helpful.
B
3
Posts: 7
Reputation: 364

Post » Sat Jun 22, 2013 11:31 pm

I was hoping you'd know this since your using the windows 8 validation thing, My game keeps failing validation for... uh... I'm not sure, let me c&P....
Error Found: The UTF-8 file encoding test detected the following errors:
File C:\Program Files\WindowsApps\11525nickfarrell.CastleDefence_1.0.0.0_neutral__eq1rxcmgmvq4a\pathfind.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 form with a corresponding byte-order mark (BOM) in order to benefit from bytecode caching and to avoid other runtime error conditions.

AND

Error Found: The bytecode generation test detected the following errors:
File \\?\C:\Program Files\WindowsApps\11525nickfarrell.CastleDefence_1.0.0.0_neutral__eq1rxcmgmvq4a\pathfind.js has JavaScript syntax or other problems.
Impact if not fixed: As a performance optimization to accelerate JavaScript execution time, JavaScript files ending in the ".js" extension generate bytecode when the app is deployed. This optimization significantly improves start-up and ongoing execution times for JavaScript.


Does anyone know what that means or how to fix it?
B
2
Posts: 2
Reputation: 154

Post » Sun Jun 23, 2013 12:07 am

If you have UTF-8 encoding issues you need to load and re-save those files with Visual Studio, selecting that encoding.
See this tutorial for Windows 8 getting the Clay plugin to work, the last paragraph above the image at the bottom.
https://www.scirra.com/tutorials/483/windows-8-and-clayio-integration/page-4

It might fix the bytecode failure for the Pathfinder.js as well.
B
201
S
52
G
30
Posts: 897
Reputation: 36,621

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests