carlywight's Recent Forum Activity

  • Just to add to JamesXXXYZ - We've been mucking around with the FID tools in Spriter Pro which seems like it works fine (still tagged as experimental obviously) but when it gets imported in to C2 it kicks up this error:

    Javascript error!
    TypeError: tweenedBones[i] is null
    http://localhost:50000/Spriter_plugin.js, line 1617 (col 6)[/code:q7kh67ns]
    
    Assuming this is just because the plugin doesn't support the experimental features.
    
    AHHHHH SO LOOKING FORWARD TO IT WORKING!
  • Posting just in case it helps someone else;

    I was having issues with sizing of the iframe - on iPad everything seemed okay, but on a desktop the frame was significantly smaller. (assuming this is because the sizing was based in pixels, and the total width of my project window was only 854px anyway. So really, it was doing what it was supposed to, I was just after something more responsive.)

    I tried using css which would be triggered when NOT on a mobile device, but the whole iframe disappeared on me. (it could have been my bad re: css though...)

    In the end the fix was to add css to the completed .html file built by Construct where the standard body and canvas css styles are set - I used the id of the iframe (set in Pode's plugin) to specify a size based on viewport width and height, and now everything seems to work fine in multiple browsers as well as on iOS. For example:

    #ID_of_iframe {
    	height: 85vh; !important
    	width: 56.5vw; !important
    }[/code:krc9kyc6]
    There is probably a better way to do this, but it worked for me with my simple setup.
    
    Hope this helps someone!
  • No problems. Thanks again for all your help!

  • You, armaldio, are a legend.

    Thank you so much!

    Another question for you; does the browser window need to stay open for long enough to upload the attachment too? I'm working on reducing the size, but the canvas screenshots i'm getting on my desktop computer are 3.6mb, and i've noticed if I close the preview window without giving it a reasonable amount of time, the email never sends. Does this sound right to you? It makes sense.

  • Thanks ! Yeah that's what I did but it was emailing me an 'image' of the same size which was un-openable. Got a reply from the plugin's owner though; in the 'attachment' field I need to put

    tokenat(canvassnapshot, 1, ",")[/code:3li7qib2]
    which sends through everything fine.
    Thanks again for getting back to me.
  • Thanks Aphrodite; that's what I did but it was emailing me an 'image' of the same size which was un-openable. Got a reply from the plugin's owner though; in the 'attachment' field I need to put

    tokenat(canvassnapshot, 1, ",")[/code:2fw2sm94]
    which sends through everything fine.
    Hooray!
  • Happy to send some money via PayPal for help on this one as it is getting a little urgent. Have also posted in the Job Offer forum, so if you believe it to be worth some money to send me some code, feel free to PM a figure to me. I'm a bit of a sharing is caring person though, so i'm hoping to create a tutorial with a step by step of what I end up doing to help everyone else out!

    Cheers

  • Try Construct 3

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

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

    I've posted in the help forums, but i'm pretty keen to get everything sorted on my project and as such am happy to pay for someone to help me out.

    I'm using the 'Social' plugin from armaldio which can send emails using Mandrill. There is an ability to also include an attachment, which needs to be in the form of a base64 string in the current version.

    Using System->Take Snapshot and then System->On Canvas Snapshot i'm getting everything to trigger correctly; a screenshot gets taken at the right time (which i'm testing with Browser->Invoke Download so I know that part works! ) and the email plugin successfully sends me an email. The grief i'm having is just the attachment part - what to put in the field for 'Attachment in base64'.

    So far I have been able to get it to send me a few 77B images (which are empty!) and some larger images which are the same pixel dimensions as the ones I get with Browser->Invoke Download but they're also empty.

    So that I can potentially use it later, I thought it would be handy to save the CanvasSnapshot base64 result as a global variable. (there's likely another way to do that, but I know I can use global variables in armaldio's plugin so i'm going running with it!) I read somewhere that there are a few (does 23 sound right?) characters at the beginning of the generated string which are not needed, so I should be removing those before saving the string as a variable - correct me on that if i've misunderstood.

    Hoping someone can guide me in the right direction!

    TLDR: I want to set the base64 string of CanvasSnapshot as a global variable. How could I do this?

    Pay would be via PayPal - PM me a quote!

    Thanks in advance!

  • Hi!

    I'm using the 'Social' plugin from armaldio which can send emails using Mandrill. There is an ability to also include an attachment, which needs to be in the form of a base64 string in the current version.

    Using System->Take Snapshot and then System->On Canvas Snapshot i'm getting everything to trigger correctly; a screenshot gets taken at the right time (which i'm testing with Browser->Invoke Download so I know that part works! ) and the email plugin successfully sends me an email. The grief i'm having is just the attachment part - what to put in the field for 'Attachment in base64'.

    So far I have been able to get it to send me a few 77B images (which are empty!) and some larger images which are the same size as the ones I get with Browser->Invoke Download but they're also empty.

    So that I can potentially use it later, I thought it would be handy to save the CanvasSnapshot base64 result as a global variable. (there's likely another way to do that, but I know I can use global variables in armaldio's plugin so i'm going running with it!) I read somewhere that there are a few (does 23 sound right?) characters at the beginning of the generated string which are not needed, so I should be removing those before saving the string as a variable - correct me on that if i've misunderstood.

    Hoping someone can guide me in the right direction!

    TLDR: I want to set the base64 string of CanvasSnapshot as a global variable. How could I do this?

    Thanks in advance!

  • Thanks for your work nusbaumc! Is there a possibility you could explain how to just get the raw base64 string?

  • Hi armaldio Thank you so much for your work on this plugin!

    I was wondering if capturing a screenshot of the canvas and attaching that is a possibility? I've poked around with Joe's Canvas/base64/screenshot to image plugin but as a relatively new C2 user i'm having trouble working out how to just extract the base64 and use this in the attachment field. Open to any suggestions!

    Thanks again!

  • Hi!

    I'm hobbyist dev from Australia. Looking forward to exploring more of what C2 can do!

carlywight's avatar

carlywight

Member since 8 Sep, 2014

None one is following carlywight yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies