Grimmy's Forum Posts

  • Like many people, I now need to use an old version of C3 which supports SDK 1 (and back again for other projects) but there is no easy way to switch between versions. If someone actually tested the process, they would find that the process of switching back and forth between versions takes about half an hour each time. Pure comedy.

    One comedy highlight is the way it removes all my recent projects list when I change version. Another one is the way it tries to force me to use Edge. Classics.

    Can we not just have a version dropdown somewhere convenient please?

  • When I export my c2 build as webview2 and try to export a file from my app/game to \AppData\Roaming\myApp I see the message:

    'app.localhost cant open files in this folder because it contains system files.'

    Is there a way to bypass this? I am reading about setting picker tags to "<roaming-app-data>" but that doesnt seem to have any effect at all...but I could be using it wrong.

    P.S Nw.js exports seem to allow saving to appData, but I cant use it because because nw.js is huge (100Mb+).

    Cheers

  • Thanks. I tried (Browser)Invoke download, but it doesn't open a dialogue; it just immediatly downloads to your browser's download folder.

  • I did it in the end. The way is:

    -Filesystem show save file picker

    ..On picker complete...

    -set Ajax response type to Binary Data..(This is the important bit!!)

    -Request DrawingCanvas.SavedImageURL

    -On Ajax Request completed Filesytem/write binary file with content BinaryData

  • How do I export my DrawingCanvas.SavedImageUrl specifically using the FileSystem object and (I think) Binary Data?

    I basically want to export a canvas as a png but let the user choose the filename/location using the filesystem object.

    Thanks

  • Not sure you understood correctly. When I open with 420 I get the message:

    This project cannot be opened since it was saved in a newer version of Construct. The project was saved in 420.2, and you are currently using r420...etc

    Also, the message about the color plugins in the latest version of C3 reads:

    Note: legacy (SDK v1) addons are no longer supported in this release of Construct and so cannot be installed. The last release that supports legacy addons is the r449 LTS release. See the LTS releases page, or contact the addon developer for an updated version of the addon.

  • I need to run an old project with color picker and color variable plugins that are sdk 1 (I can no longer load the project with the latest versions of C3)

    1. It says I need to run LTS version to be able to run the project.

    2. Using the latest LTS version my project says it was saved with a more recent version (420?) so it cant be opened.

    So Im stuck in an infinite loop?

    What do I do?

    Thanks

    P.S When I say 'old' project I mean its about 1 year old.

    P.P.S I have already had to basically give up updating my main project (which is available on the stores and has thousands of users) but I can no longer update it because of these sdk breaking changes.

  • I'm still using the Pro UI plugins, and they continue to work in the latest version (although I've made some minor changes, so I'm unsure if I fixed an issue at some point). I haven't finished porting it to SDK v2, but it's in my queued tasks, in the collection, at least for people who truly need this professionally.

    Could you share the error logs from the console?

    Im using version 1.817 of the ProUI Plugins. I presume this is the latest.

    Debug console reads:

    Uncaught TypeError: this._runtime.GetPluginManager is not a function at instance.js:487:24 instance.js:414 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_behaviorsByCtor') at Object.registerGameObjects (instance.js:414:67) at aekiro_prouiSingleGlobalInstance.Initialise (instance.js:34:19) at aekiro_prouiSingleGlobalInstance.Init (actions.js:18:9) at C3.EventBlock._RunActions_Fast (eventBlock.js:1:11558) at C3.EventBlock._RunAndBlock (eventBlock.js:1:10860) at C3.EventBlock.Run (eventBlock.js:1:9662) at C3.EventSheet._ExecuteTrigger (eventSheet.js:1:6088) at C3.EventSheet._TriggerForClass (eventSheet.js:1:4265) at C3.EventSheet._Trigger (eventSheet.js:1:3883) at C3.EventSheetManager._Trigger (eventSheetManager.js:1:6190) 2instance.js:487 Uncaught TypeError: this._runtime.GetPluginManager is not a function at instance.js:487:24 185instance.js:487 Uncaught TypeError: this._runtime.GetPluginManager is not a function

  • Thanks. Yes, I can open the project, but when I try to run it it gives me errors regarding the plugin.

    If I wanted to make even a tiny update, this would mean I would need to completely refactor the project (for use without using the plugin) which might take a very long time and to be frank its just not worth doing.

  • I'd like to know too if there will be an update, as I have an app on the Playstore with thousands of customers that needs updating; but I cant run the project in C3 anymore due to the plugin being incompatible.

    Or does the death of this plugin also mean the death of my app?

    I guess if that IS the case then it wouldn't make sense to ever use an unofficial plugin ever again.

  • Ahh I need to do..

    myArray.setAt(myText,0,0);
    
  • I tried:

    let myArray = runtime.objects.Array.getFirstInstance();
    
    let myText= document.getElementById('some text').value;
    
    myArray.setAt(0,0,myText);
    

    ..but I guess Im not using the array assignment correctly as I get: TypeError: expected finite number

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks!!

  • I am am downloading a JSON string and then I parse it so it accessible as JSON. I then want to download another JSON string and combine this with the first JSON (add it to the end).

    I have been trying all day but I cant get it to work. The second JSON always seems to overwrite the first one.

    Thanks

  • I have seen numerous posts with various solutions to tweening text scale (pulsing text) but I have tried them all and none of them work.

    I have tried tweening values, scales and size but none of them has any effect on my text size.

    Can somebody help?

    P.S I also tried the Sine behavior but that just scales the text's bounding box and not the actual text.

    Thanks