Wishy's Recent Forum Activity

  • aridale you must copy the canvas2Image.png to your project folder, had the same issue

    Joe7 when trying to export big files like this one, the saving process hangs and the error console gives this error:

    Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "http://ohrly.net/meme/c2runtime.js Line: 8159"]

  • Thanks for the update Joe7,

    Text isn't saving on the exported image in WebGL though, it does in Canvas.

    =)

  • Awesome man, thnx for the help !!!

  • Oh lol, *facepalm*

    makes everything much easier now, I wonder why I didn't try that =)

    Thank you soo much Pode

  • Tested it with normal textbox without plugins, Chrome allows only 59.278 character out of 124.841

    While Firefox lets them all through.

    .capx

    String that i'm trying to copy/paste

    edit: it seems that Chrome's limit on strings/variables is 59.278 characters, since showing in php also doesn't work, only if i put it into a textbox or img tag.

    kinda impossible to import pictures larger then 58kb then i guess

  • the .capx is from this thread: http://www.scirra.com/forum/behavior-inject-base64-string-as-sprite-image_topic50604.html

    It does uses the plugin though.

    But the C2 project seems to not fully paste the base64 string into the textfield. (only in chrome)

  • <img src="http://www.scirra.com/images/else4.png" border="0" />

    for me, this one (option A) looks the most understandable and logical

    But the sprite event should only run if Variable1=0

  • Pode could you take a look at this ?

    http://www.scirra.com/forum/base64-bugs_topic50978.html

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While making an application with construct 2, and trying to handle base64 strings I found some bugs/things that are going wrong, and I'm not sure what is causing this...

    Chrome gives errors, Firefox doesn't...

    So if people got Chrome, please try next steps and comment if you got same results or not.

    If other people please want to reproduce these steps:

    1. Download these 2 pics: 1.jpg & 2.jpg

    2. Go here and upload 1.jpg, copy the text in the texbox and

    3. Go to this page and paste the text from step 2 into the 1st textbox,

    press Inject Base64 String (1)

    As you can see, the image is only showing half of what it supposed to be...

    You can try it with image 2.jpg, that one will work.

    This bug? is only happening in Chrome for me, it has even more weird effects on some other images.

    I do think this is fully Chrome related, because Chrome can't even display some Base64 strings correctly, while Firefox does this perfect again.

    Test this by going to step 2 again, and press submit at the bottom of the page, this should show the full string. (not working with sample 1.jpg)

    Hope i've given enough details

    Ashley if you could take a look

  • Hey guys,

    I'm having some issues figuring out how to implement something into my project.

    Basically I'm trying to make people be able to upload an image into the project so they can use it to make 'a collage'.

    (here's an early version of my project:

    Subscribe to Construct videos now

    Is there any other possibility then the Base64 string to import images ?

    Best thing i could come up with is uploading files in a php page & converting it to Base64, and then importing the Base64 into the project.

    Any other ideas ?

  • You'll have to be more specific,

    I suggest using the search-button at the top right, there's loads of topics and examples about this.

    You can also take a look at how I made my levels in my game Boing,

    I provided the .capx for educational purpose.

Wishy's avatar

Wishy

Member since 6 Mar, 2012

None one is following Wishy yet!

Connect with Wishy

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies