COGames's Forum Posts

  • Got it! Thanks very much :)

  • So how can I find out if an array has only zeros?

  • I have an array, I test if it's empty and it keeps saying it's not empty.

    Release: r407.2 stable

    Tagged:

  • I'm trying to get speech synthesis to work on Safari on the iPad/iPhone.

    When using the C3 plug-in it does not work (only works on a PC), however, when I use JavaScript code in an iframe, it does work.

    Here I have two ways to do the speech:

    First way is with a sprite, when touched it will call a JS function and say the phrase. This does NOT work on Safari on iPad (but does on a PC).

    Second way is in an iFrame, using the same speech function. This works in on Safari.

    Why wouldn't the function work when the sprite is touched on Safari, when the iframe buttons work?

    https://1drv.ms/u/s!AobC4q3rBlr65IhYl02rKCS0ATJFcQ?e=PKdRCx

    Tagged:

  • I loaded the older C3 version and successfully opened the file. Then I checked my file names. I did have a few with spaces and one with a "!". However, the saved cp3 file still won't open in the latest release. I also tried the latest Beta with the same result.

    In the project bar, I did a search for spaces and special characters (such as %$#) and got nothing, so everything looks like there's no naming rules being broken.

    Also, I saved it in a project folder and looked at all the image names and noticed that many had animation names as "Animation 1", so I changed those to "default", however still the same result.

    Is there anything else I can try?

  • I have many files cp3 files from a few years ago that I can no longer open. When I attempt to load the file, C3 starts loading with a percent, and the the message "Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project" comes up.

    This is very concerning.

  • What happens if you have multiple ajax gets to the same "on complete" event? If they "arrive" at the same time, do the variables get overwritten?

    Tagged:

  • I have paragraphs of text in text objects, and on Safari, sometimes a character is completely cut out or partially cut out.

    If I can make the text object wider than the actual text width, maybe that would work? If I was using css, I'd try padding, but I can't do that with a text object.

    Any ideas?

  • Thanks,that worked :)

  • I did try that on start of layout, but it only works if done as "every tick". That would be fine, if I had one instance of the text box, but I don't.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I put a cursor in a text box on start of layout?

  • You do not have permission to view this post

  • Can't seem to locate it.

  • I went into settings and increased the font size, and then reopened C3 but there was no change.

  • Good to know! Thanks!