Chaia's Recent Forum Activity

  • Thanks for the tip! That function looked like a lot, so I came up with this:

    // hexCode: '#ffffff' -> [255,255,255]
    function hexToRGBArray(hexCode){
    	let r = parseInt(hexCode.substr(1,2),16)
    	let g = parseInt(hexCode.substr(3,2),16)
    	let b = parseInt(hexCode.substr(5,2),16)
    	return [r,g,b]
    }
    

    Which you could use like this:

    let [r,g,b] = hexToRGBArray('#ffffff')
    runtime.callFunction('doColorStuff', r, g, b)
    

    And in the function in your event sheet, you'd use Set Color to: rgbEx255(paramR, paramG, paramB)

  • It's not gone, it was changed, previously you had to choose a directory before the export.

    Now, after you export you'll get a link to download a zip file and it will be kept in your exports manager.

    That's a huge downgrade for me. I was relying on being able to quickly export the html5 project into a folder. I don't want to have to download a zip file, and manually extract it into a folder. I don't know why somebody would want a zip file, but alas, can we at least get the old way back as an option?

    I'm integrating my games with my website, and the only way to test that locally is to export it so it can live with my website - the preview just doesn't work for that - so the less effort I have to manually do to export back into a folder the better. I was going to ask for it to remember the last folder it was exported to (or even allow picking the Export Type with the keyboard), but I'll take what it was over what it is now. :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, I meant to say that the ability to export as html5 into a local folder seems gone from b210 on the Desktop.

  • Is there a way to lock the desktop version to use an old version of Construct 3?

    The ability to export as html5 seems to have disappeared in the new version, and I want to try if downgrading to b204 fixes it.

  • Oh, that worked! Now I can sync up with Google Drive again. Thanks!

  • There's a crash with Cloud save in construct3-win64-c75-beta (and also the latest stable I tried). I tried connecting my Dropbox, but it din't work.

    Now, whenever I click Cloud Open, the Dropbox window immediately pops up. No matter what I do there, it will then crash. I can log in, it crashes; or close the window, also crashes. Construct then just closes with no error message.

    Everything else works fine, as long as I never try to Cloud open/save.

    Is there a way to clear Construct's storage? It looks like the beta + stable folder share the same storage and have the same bug.

  • Oh, good idea. Thanks!

  • If I have mySprite instance, what do I call on it to change its animation?

    I found this API doc for Sprite instances, but animations didn't come up:

    construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/plugin-interfaces/sprite

    Tagged:

  • I know this is old, but it's the most relevant post I found.

    I'm also trying to make users log in with Google for Firebase. I noticed the tutorial above only shows logging in with user+pass.

    However, if a Google account has 2-factor authentication enabled, it usually redirects them to a Google hosted page to finish log in and then redirects them back. Does Construct support that?

  • Is there any way to call a JS function that resides on the page from Construct2 without having to write a plugin?

Chaia's avatar

Chaia

Member since 21 Aug, 2011

None one is following Chaia yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies