AndyRevenko's Forum Posts

  • >

    > If it always runs it is because he is not using the trigger variable properly.

    >

    > If he wants to post an image of his events or a CAPX I will gladly look at why his tap event is always running.

    >

    Unless ive not had enough coffee this morning, it doesnt matter. If you put a tap and a double tap trigger on an object, the tap will always run.

    You are absolutely right I've verified it in visual studio - the same situation, "double tap" is always ignored if "tap" is also presented.

    I see now, this is phisically is not possible to have the both events. The "wait" action in "tap" in order to distinguish "just tap" from "double tap" will make user crazy (me too, by the way

  • You do not have permission to view this post

  • AndyRevenko I always use custom touch code rather than the helpers. Try using just tap events and check the time between taps to use as a double tap.

    THnaks, gameglaux!

    But it will not solve the problem - the "tap" will always runs anyway, so I can have either "tap" or "double tap" events, but not the both

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Hi guys, could you tell me, please:

    I want a sprite to react on "tap" and "double tap" events, but "tap" always overwrites "double tap", so "double tap" event handler never run, regardless of the order or the arranging "tap" and "double tap" events.

    How can I react on "tap" and "double tap" on the same object?

    Sincerely yours,

    ANdy

  • The same problem

  • Ok, Sorry - I've found the soloution, Instead of FileBrowser I'm using now LocalStorage

  • scores is my array, i fill it programmically in the lauyout start if there are no "scores" file (when no levels are passed)

    I'm doing the following:

    1) scores Download as JSON data with filename "scores"

    (it dowloads in my download folder on my PC)

    2) scores Clear

    (for testing)

    3)ccores Load from JSON string FileChooser.FileURLAt(0)

    no effects ((

  • Dear all,

    could you happy me in the following matter: i need an array to store (locally) the score for each level.

    I can save array (via array download), but cannot read it back!!!

    FileChooser is not appropriate for I do not want user to load this file manually vis FileChooser interface!

    Will be very very gratefull!