angellondon's Forum Posts

  • Not sure if it's best practice, but I did it this way.

  • Just in case you need it, I got it to work in your .capx with:

  • Just disabled everything, and it doesn't seem to be this either

    I just got my colleague to test it out as well and it mirrored my experience -worked in Chrome, not in Firefox.

    ...To add insult to injury, I just tested it in Internet Explorer and it worked lol.

  • Oh my goodness! So it IS a browser issue after all!

    The above .capx did not even display correctly in Firefox 30.0 (no buttons were shown), so I tried it in Chrome 35.0 and it worked first time!! <img src="{SMILIES_PATH}/icon_e_surprised.gif" alt=":o" title="Surprised">

    I then went back to my original URL (now updated to include your script), and tried this in Chrome as well and it also worked first time. <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked">

    I then updated Firefox to version 31.0 to match yours (just in case it was a feature unsupported in Firefox 30.0) and then tested the original URL as well... but it still didn't work!

    Bizarre! Please can you test my URL to see if the print function works for you in your browser? <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused"> I am very VERY confused...

    http://angelserver.in/html5/dinotrain/

    Thank you for all of your assistance, I really appreciate the time you've taken to help me resolve this issue.

  • Ack! how frustrating!

    I am using Firefox 30.0, so... can't imagine that would be it, could you?

  • Hm, downloaded the file and tried it but it didn't work for me?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hm. In that case, would I need a more bespoke solution in Javascript? Will C2 support this?

    I found this on StackOverflow, I wondered if I might be able to implement something like this:

    http://stackoverflow.com/questions/4716 ... -on-a-page

  • Thank you for your patience with me.

    Is this what you mean? I am still receiving blank pages.

    Sorry if this all seems obvious, I'm still new to C2.

  • Just exported and re-uploaded it to the server just to confirm it wasn't an offline issue, but still received 2 blank pages.

  • codah Yeah I did! Looked pretty cool. In my head it's a simple execution, but it probably isn't in actuality.

    Yeah, I think it would possibly be easier written in a traditional language, as you say. Might have a go in C2 later though.

  • The action executed correctly, but the printer printed out 2 blank pages unfortunately

    I tested this on preview though; hadn't uploaded it the live server. Could this be why?

  • Alright, cheers. Doesn't have to be perfect, just so long as it works thank you, trying this out now.

  • Thank you! I'll give this a go and let you know how I get on.

  • It reminds me of Candy Box! http://candies.aniwey.net/

    Absolutely love that game, too. It starts off so simple and it expands out into something pretty huge!

    Don't see why this couldn't be done in C2; an array to store your collectible items, and a separate array to store your text. A function to print items from the array to the screen at set time-based intervals, with other functions to interrupt that at given points and show/hide things, or to start new timers and respond to things the user does... yeah <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> I think it would be pretty simple.

    You've intrigued me; I may well try and work on a small prototype, myself. Have you thought about just giving it a go and just seeing how far you get?