ClocksTNW's Recent Forum Activity

  • ClocksTNW

    Dunno how it works on Android. iOS usually automatically converts email adresses and/or phone numbers to clickable links that will direct the user to the according app. Might not work on html5, but its definitely worth a shot

    This is a good thought, although I don't see a feature to add a link. Normal smart phones only go to a number or email if its hyperlinked (as far as I know.)

    To my knowledge, you can "go to link" but you can't actually add the hyperlink text with the browser object.

    Still haven't found a solution =/

  • I can't tell if the Construct 2 community is stumped... You know, even a button that would bring up a phone's default emailing service? "Email me with any questions?"

  • Hi all,

    I asked this question last week in the forums and still have not figured it out, though its been on the back burner.

    Just wondering if its possible to auto dial a phone number using Construct 2 or HTML in general.

    Thanks,

    -John

  • bump

  • Hey all,

    I read the HTML code for pre-dialing a number on iOS or Android devices was something like "<a href='tel:123-555-1212'>Dial Me</a>."

    I don't know if this is true, but regardless, I'm having difficulty finding a plug-in where I can add a line of HTML code.

    If that's not correct, can I use a line of java instead? like "tel: xxx-xxx-xxxx?" Is there a way to do this with the browser object? I tried using it and couldn't get it to work. First time attempting anything like this.

    Thanks,

    -John

  • Hey everyone,

    I'm John, just found out about the introduction thread. So far using Construct 2 has been an amazing experience. I'm very grateful to have active developers along with a supportful community. Like everyone, I'm guilty of occasionally thinking there's a glitch in C2 when its something I did wrong or didn't understand.

    Anyway... Cheers!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1) Here's a .capx showing that it does in fact work without needing a resize action: https://dl.dropboxusercontent.com/u/15217362/arrayworks.capx

    I think you might have been confused by the fact the array object defaults to 10x1x1, and since indices are zero-based, the element at 8,1,1 is outside the array. It works fine with 10x10x10 though, as the .capx proves.

    You're right.

  • Well, I suppose I know that keys can do things, I just don't understand why you wouldn't use arrays. Thanks for the responses though. I do actually really like construct 2

  • Hey everyone,

    Well, its been a long two or three weeks of Construct 2 usage, and I'd like to save new users hours and hours of time that I wasted figuring things out that should be made very obvious in the tutorials.

    1. If you're using arrays and its returning 0 and you're positive you set up the array size correctly and you're positive you used the "set value" technique correctly,you have to reset the size in the trigger/action section before you add any new values. Seriously, even if you run your program with an array defaulted at 10, 10, 10 and try to add "8,1,1" it will not work without a resize "10,10,10" before it. I'm not kidding...

    2. BUTTONS DON'T SHOW UP IN MOBILE APPLICATIONS!?!? you have to use your own custom sprites, as far as I can tell. Don't even bother with buttons, they're hardly customizable anyway.

    3. If you're adding a key to a dictionary, that's totally different than adding an instance variable. To my knowledge keys serve no purpose.

    4. CocoonJS errors can be accessed by clicking on the FPS button in the top left corner. YOU SHOULD BE EXPORTING TO COCOONJS EVERYDAY because it likes to crash when loading certain images, and playing guess and check after 2 weeks is a huge pain and often project-crippling experience.

  • Hi all,

    I see a black screen for 2 or 3 seconds and then CocoonJS crashes. When I go to the error section it says something about "Loading-logo.png"

    Eventually, through trial and error, I found at least one of the images causing the issue - a short animation of .PNG files. How can I solve this issue? Also, is this simply CocoonJS crashing, or will my .apk crash as well?

    Thanks!

    -John

  • Hi all,

    I have four quiz question banks in 1 array, distinguished by the X dimension. The Y dimension is the question in the quiz, and the Z dimension contains the answers.

    For example, 1, 1, 1 = Question 1 of Quiz one.

    1, 1, 2 = Potential answer of Quiz 1, Question 1.

    1, 2, 1 = Quiz 1 Question 2.

    Basically, I want to count the number of questions in a quiz. I'm trying to figure out how to count the number of UNIQUE instances in an array, so I can determine the total number of questions. So, instead of 1, 1, 1 and 1, 1, 2 equaling 2, I want it to equal 1.

    Thanks

  • How can i randomize the questions on Yanns version?

    Hey man, I found the answer to your question... you create an array with an inverted sub-event for "contains" AKA "Does not contain this number" before randomizing again. Here:

    scirra.com/tutorials/315/generating-random-numbers-without-duplicates

ClocksTNW's avatar

ClocksTNW

Member since 20 Jun, 2013

None one is following ClocksTNW yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies