adamcreator's Forum Posts

  • How do I fix issue in which gamers are unable to purchase add-ons in-game on Xbox? It seems I have everything set correctly. Anything I'm missing?

    (WindowsStore plugin Test mode set to No, XboxLive plugin has correct Title ID and SCID, and Xbox Live Creators Title set to Yes, I correctly reference the correct product ID names set in Microsoft Partner Center dashboard, I ensure game signs user in at title screen, sets presence, requests profile info, and requests store listing before every purchase prompt, I install correct NuGet package for Xbox Live services in Visual Studio, I set versions to 10.0.14393.0.)

    (I wanted to create a free title that's based on add-ons, including the possibility of future add-ons, but if I can't get add-on purchases to work (Microsoft support also provides very limited help, I already tried, and I read the entire documentation they gave me on the subject, but I have to depend on Construct and Visual Studio handling everything correctly) then my only option may be to also come out with a paid version of the title that contains all existing add-ons thus far, but where does that leave me if I come out with future add-ons? Sure I can up the price each time to account for the increased amount of content, but if I can't figure out add-on purchasing, then everyone who gets the full edition of the game early on would also get all future add-ons/updates for free, as they already own the product, which looks like the way I'd have to go.)

  • its complicated but this is a way i did it when calculating total playtime in one of my games and displaying it. the texts in bold are just instance variables on an object, in this case the one called AchievementsUI

  • Can I get anyone with an Xbox console and a bit of free time to test if they're able to purchase any add-on for one of my new games? There's an add-on as inexpensive as $0.99, and as soon as someone posts a reply here that it worked for them, then the test is complete and I don't need anyone else to do it again.

    If you can help, go into the Xbox store on your Xbox console, search for 'Presidential Beatdown', install the game, press A at title screen prompt, select 'Unlock' on any of the 3 characters, at the main menu select 'Store', then click on any of the 10 add-ons shown to test if you're able to get the Xbox pop-up to purchase it.

    I'd appreciate if just 1 person could also actually purchase just the cheapest $0.99 add-on, to ensure there isn't something wrong that isn't allowing the purchase to go through.

    (The free game has been out for 2 weeks now, with just over 1K downloads so far, but, surprisingly, there hasn't been a single add-on purchase at all, even with add-ons as inexpensive as $1, $3, and $5. So I'm just a bit concerned that other people on other consoles in other locations are somehow unable to discover or purchase any add-ons, regardless of my own tests on my own console showing that everything is fine. It seems almost impossible to me that out of 1K+ downloads, not even one person anywhere in the world decided to get even one inexpensive add-on yet, and the only add-ons that show up as purchased are my own 3 tests.)

  • Is there a plugin or anything that gives you the option to delete every single Object and Audio(Sound/Music) that aren't used in any existing Layout or Event Sheet?

    (Reason being that I'm considering splitting up my gigantic game into several smaller chapters in order to be small enough to actually load up on Xbox consoles, and an option like the above would make that job a lot easier, because all I would have to do is delete all Layouts and Event Sheets that aren't used in each separate Chapter project, and run the above plugin. All Objects and Sounds not referenced in any Layouts or Event sheets would be deleted, and I would end up with my separate Chapter projects very conveniently. Don't get me wrong--my project is very well-organized--but it would still take a lot longer for me to manually ensure I'm not deleting any effects, images, or sounds used in each chapter.)

  • I was finally able to make one of my Construct2 games run on Xbox, so I’m sharing here what anyone else can do if they have the same issue of the red/frozen loading bar on Xbox console: The short answer is that you have to make the game small enough in size––usually a combination of image quality and audio quality/length. In addition to helping others, I typed all this up to help my future self remember it all.

    (I likely don’t have to go over the stuff you might already know from past Construct2 Xbox tutorials, but here’s a quick rundown anyway: Always use a fresh new export folder out of Construct2 instead of overwriting an old one if you want to ensure no issues with any Xbox Live-related stuff, open the [Game Name].sln file in Visual Studio Community 2017 Preview Version 15.8.0 Preview 2.0, double-click package.appxmanifest in the list at the right, right-click on the project name at the right by the icon of the orange square that says 'JS', go to 'Properties', paste 10.0.14393.0 in both target and min version, right-click on project name and click Manage NuGet Packages, then browse 'xbox live', and you want the first one with many downloads, the WinRT.UWP one, install it, accept the license accept window, and wait until iit says ===Finished=== in the bottom Output window, then in Visual Assets back in that package.appxmanifest, I like to insert #000000 in both fields of the visual assets display settings tile background and splash screen background to give the loading a nice black background, then Generate a 400x400 logo of your game with a nice alpha background, wait until it Generates it for all images there, you may sometimes have to handle the LargeTile1240x1240 separately,

    which is always almost entirely alpha with just a tiny ~300x300image of your game’s logo that needs to fits the strict 200,000byte limit, open jquery-3.4.1.min.js from the file list at right and re-save as with Encoding, the one at the top, the ‘Unicode (UTF-8 with signature)’ one, and do the same with any css font files you used in the project if any, but can likely delete any font html files if any are there, likely not needed, otherwise do the same with them, they all need the UTF-8 encoding (but can then import those resaved files into the Construct2 project itself to save you from repeating this step until/unless you add any new web fonts after that point), then do the Store Association step, (if you’re signed into your Microsoft account but still get a network error, you may have to wait 1-5 days for Microsoft to figure out there’s an issue and fix it, nothing you can do about it on your end) and finally say Create App Packages, as only x64, nothing else.)

    You can test the game using the Xbox Device Portal to ensure you made it small enough to run (no frozen red loading bar) on Xbox consoles by using the Dev Mode app on your Xbox console to put it into Dev Mode and using a browser on your computer to go to the url the console provides (something like https://###.###.#.###:#####/#Network) and uploading your test package that way and running it on console.

    Finally, here's the good stuff:

    Some great advice on how to make your game small enough: This won’t work on big epic games with tons of audio and big Spriter spritesheets, like my one Xbox game that won’t run on consoles even after doing everything mentioned here, (even though it can be found in the Xbox store, no choice but to just let players know it only runs on Windows computer devices regardless) but it will work on more modest-sized games, like it did on my one recent game whose image folder ended up being just 67mb, and whose audio/media folder ended up at 162mb. First off, how to minimize images: use the option in Construct2/3 to set all images in the entire project to jpg’s with only 25 quality, which is actually surprisingly good-looking. Then manually turn every image in your project that uses any alpha at all into png-8’s, which may take a while and you’ll likely miss some your first try but can catch those later in testing. You can likewise start by turning all images in project into png8’s instead of jpg25’s if you have more alpha images than flat ones, then manually turn all flat ones into jpg25’s. Note that jpg’s never result in spritesheets, so you may notice thousands of more images in your exported image folder, but jpg’s are so much smaller than even png'8's that it's worth it if not necesary.

    As for audio, use an audio-editing program such as Adobe Audition to turn all audio in your project into the minimum quality, such as by Batch Processing them all into 6000 Hz, Mono, 8-bit. Then import those wav’s back into Construct2. A good trick if you just want to turn all audio into your project into minimum quality is to put all your m4a/mpeg-4 audio files from your project’s Files folder into Adobe Audition, and Batch Process them all into the Export Setting’s new Sample Type of 6000 Hz, Mono, 8-bit wav’s. Note that ogg files aren’t needed for Xbox, just the m4a’s. Then put all those new wav’s back into Construct2 with minimum quality, and voilà. Feel free to keep any important shorter audio files as full-quality, as you’re afforded some quality on Xbox. And as always, always use an online backup service for all Construct2 (or Spriter) related files, such as Dropbox, or, better yet, one of the cheap life-long solutions out there like pCloud that cost only $100-200 for life.

    In conclusion, as long as you use methods like those described above to decrease the total size of your game package, it’ll load up on Xbox consoles before it has a chance to give up. If there’s a way to get even huge games to load up on Xbox, I don’t know of it. The trick seems to be to just stick to jpg25’s, png-8’s, and low-Hz/mono/8-bit audios. The result is not too bad other than the butchered audio that also seems to decrease its volume, which you can make up for by setting it higher in-game. Keep important audio’s higher quality, such as any speech that needs to be heard.

  • As ever the first thing to check is the browser console and see if any errors are logged there. I'm not sure how to check the browser console on Xbox - Microsoft might have some documentation on how to remotely debug it.

    Thank you for your reply. I'm currently working hard on this. I'd appreciate if anyone else reading this who also uses Construct to make Xbox games can help with the solution.

    I have my Xbox One console in developer mode, and my Xbox Device Portal open in a browser on my nearby computer, as well as my project solution open in Visual Studio, with the Target version and Min version both set to 10.0.14393.0, Platform set to x64, and remote machine name set to XBOXONE. When I run the Visual Studio Debug x64 on Local Machine (computer), it runs correctly, but when I try to run it on Remote Machine (Xbox), to try to get any hint on what causes the freeze/red loading bar, the deploy fails. If it matters, the error list gives me the Warning:

    MSB3842 Project depends upon SDK "Visual C++ 2015 Runtime for Universal Windows Platform Apps v14.0" which supports apps targeting "UAP 10.0". To verify whether "Visual C++ 2015 Runtime for Universal Windows Platform Apps v14.0" is compatible with "UAP 10.0.14393.0", contact the SDK author or see go.microsoft.com/fwlink C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets

    That's just a Warning as opposed to an Error, if that matters. I'm not sure Visual Studio is really telling me why the deploy is failing, just 'Deploy failed'. I'd appreciate if anyone could give me a way around this so that I can run the game on my Xbox One console and see if it gives me any errors when it freezes. In the past, I thought it was for some reason necessary to Require Authentication, with Universal (Unencrypted Protocol), but I notice Visual Studio never gets to a point where it asks for a username and password even if I set that.

    Alternatively, there's the Xbox Device Portal, which is on my computer browser at https://###.###.#.###:#####/#Home. I added my game's Test package there and launched it, which remotely starts the app on my Xbox One console. The blue loading bar eventually turns red and freezes there. However, I can't seem to find any place or method in the Xbox Device Portal that gives me any information, such as a console, output log, or error list. There's even an area called 'Crash data', where it says 'Ensure the title VM is terminated in order to see ERA crash dumps'. I can see my game's title listed there, along with the package name, and a box under 'Crash dumps' that I can checkmark, but unfortunately there doesn't seem to be anything there--no data or dump--even after multiple attempts at running the game. It does eventually give me a popup saying: "Something went wrong. Message: Unknown error. Close". For all I know, it doesn't produce anything because it never really 'crashes', as it never gets past the loading bar, and just freezes until I turn the Xbox console off using the button on it.

    I'm guessing Visual Studio would be more informative than the Xbox Device Portal, if I can just get VS to Deploy the game on my Xbox One console.

    I also just now played around with Construct3 (the yearly price scares me away from using it, vs that Construct2 does everything I need), and I imported my project into it, in order to check out the Export options. I see that it has split Windows UWP apps into 2 options--Windows Store (UWP) and Xbox One (UWP)--vs Co2's single Windows Store option. (I also see it says 'Deprecated' above it, which is a bit strange, as I focus on consoles, and Xbox is the precious only choice Construct is able to do.) I wanted to see what it says for the VS version, in case that's related to helping my game run on Xbox. The free version doesn't let me get that far, it seems. The latest Construct2 uses VS2015, and I use 'Visual Studio 2017 Preview'.

    Lastly, the Windows App Certification Kit test always tells me that one aspect of the test has failed:

    App manifest resources tests FAILED App resources Error Found: The app resources validation test detected the following errors: The test was blocked from execution. Please try re-running the validation. If the test execution remains blocked then please contact support. Impact if not fixed: The app might not install if the strings or images declared in your app’s manifest are incorrect. If the app does install with these errors, your app’s logo or other images used by your app might not display correctly. How to fix: Fix the problem indicated by the error message. See the link below for more information: AppX Resource Validation learn.microsoft.com/en-us/windows/uwp/debug-test-perf/windows-app-certification-kit-tests

    I gave a ton of information just to ensure I covered everything. I hope it doesn't scare off any help. I hope someone can help with any part of it, to get me closer to my goal of debugging the frozen red loading bar on Xbox One.

  • You do not have permission to view this post

  • How do I figure out what I need to fix in order to successfully load up my game on Xbox consoles? When it fails to load, the blue loading bar will turn red, and the loading will freeze, or give up, permanently. Is there a known cause or fix for this, or, if not, is there a way to test or debug the exact cause? Such as through Visual Studio or some sort of test environment, with a log that will reveal the exact issue at the exact moment that the loading bar turns red, so that I know what I need to work on?

    *UPDATE: Check my last post in this thread to see my update, if you too are struggling to get a game to load up on Xbox consoles.

  • I'm probably just daydreaming here, but in case it actually helps: Maybe Scirra can reach out to the few game-porting companies to talk about forming a partnership (or even acquire them), since those companies have already been doing this for years, so Scirra doesn't have to. Then maybe the porting companies can get more employees to get faster. And part of the deal is that every game ported thru them made in Construct legally MUST say "Made in Construct3" at the opening, much like Unity does. Maybe with the Construct logo is an attractive phrase like "Game-Making Made Easy!" to attract more business for Construct. (Although also useful to mention the words "No Programming Required") Then Construct reaches a whole new level of success, because every game ported to PS, XB, or NS thru the third-party companies attract new customers to Construct, thanks to the requirement to credit C3 in the game's opening. Everybody makes money and wins.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Congrats! So then Steam is easy to put a C2 game out on? I'm debating whether I should pay the $100 fee or not. Would you recommend it? Is it easy? I have Construct2, I don't want C3. Did you use C2 or C3? Just trying to make sure it's easy to put out a C2 game on Steam today. No pickiness on Steam's part in regards to accepting or rejecting the game?

  • Why doesn't Scirra start its own game-porting service for consoles? Being able to expand to the PlayStation/Xbox(native)/Switch families would finally make the most friendly game-making software in existence lucrative too. The only porting companies I've heard of are "Chowdren" and "Ratalaika", and I hope they eventually get back to my e-mails--busy for Easter weekend maybe--but the info on their websites refers to the C++ translation process as "automatic". I'm sure there's more to it than the click of a button, but the very notion that it's possible--not to mention easy!--to convert C2/3 games to consoles, is enough that I can't help but wonder if Scirra is overlooking a golden opportunity to expand C2/3's capabilities, even if a special paid service is required as opposed to a do-it-yourself?

  • I've read about "Chowdren" and "Ratalaika". I'd appreciate any advice anyone may have about either of them, or if you know of another for comparison purposes, please let me know of them.

  • Has anyone beaten the Xbox One red loading bar, to teach me what to do? I lowered the sizes and quality/resolution of all images and audio, and I can see the loading bar going a bit faster and more confident, but still not enough to beat the red bar freeze, which also eventually turns the screen black and the Xbox has to be turned off by holding in the Xbox logo on the console. How to get past it?

  • How do I avoid a red loading bar and permanently frozen load time when running my game on Xbox One console?

    My best guesses:

    1) Does the fix mostly have to do with lowering the size/quality/number of images?

    or

    2) Does the fix mostly have to do with having a smaller overall file size? (Even if that merely has to do with lengthy background music files as opposed to images? Or can audio files not contribute to red/frozen loader?)

    (Frustrating how weak Construct/HTML games are on Xbox One console vs computer. A game that takes maybe only half a minute to load on computer, doesn't bother to even try to load any further after a short time on Xbox. It's like it has to load quick, or not at all, on Xbox. Very strict window.)

  • Sorry for super-giant post, but I'd appreciate if anyone can even read or answer any small part of it. Thanks.

    1) Xbox: The Creators Collection/Program used to be the best way that I knew of to get exposure without needing to spend money I don't have to advertise, because players would see it pop up as a new Creators Collection game, perhaps particularly if a free demo version is also put out since gamers like free games, but it (seems?) as though Xbox removed the Creators Collection area as of about 2yrs ago?? (Construct games run super-slow on Xbox if at all, but players can just be told to instead play on any Windows device.)

    2) PlayStation: Possible yet?

    3) Nintendo Switch: Possible yet? I'm especially surprised (if) we can't publish games on Switch yet, because anyone who sometimes views the Recent releases knows how many 'trash' games are released on Switch (to see some examples, just look for the ones that cost only $0.99-$1.99). What are they using to make games? It's hard to imagine they know how to code just to make stuff like that. Switch seems so ripe for indie developers if only we could access the market.

    4) Steam: Is it worth paying the $100 Product Submission fee in the Steamworks Distribution Program? I find it odd that this fee must be paid before even successfully being able to submit a game! I think they should relocate this fee to the final step, i.e.: After your game is 100% okay to launch, pay the $100 fee, and it's listed in the Steam Store. If I pay the fee, will I be able to publish my game easily, no problems, no hard stuff? Or are they picky, unlike Xbox Creators Program?

    5) Android/iOS Phones: How do we publish games that are over the 100MB limit/a few GB? Any tutorial for Expansion Files or whatever would be required to get past the 100MB limit?

    I clearly don't know anything about this stuff, but: why can't Construct2/3 just finally export to PlayStation and Nintendo Switch? I know C2/3 is based on HTML, but so? Why not just do what's required to finally export or translate or emulate or what-have-you to those consoles? Well-done tutorials can take it from there, when it comes to things like dev kit or whatever that is, holding our hand all along the way. At the very least, do something with Unity as a middle-man between Construct and the Exporting process? (Although if C2/3 games would run as slow on those consoles as they do on Xbox, maybe Windows is the ONLY viable option for us anyway. I don't know if this would remedy the issue, but maybe something would have to be done about the way C2/3 seemingly loads almost everything at once and always has too much data loaded, dragging down the performance on Xbox, instead of allowing for load times during the game, like other games do.)