kiko2015's Recent Forum Activity

  • You could just add a condition to your touch event checking that Object.Count = 0

    That would be with a variable, wouldn't it? I am looking into that. I am still getting around with variables.

    Can you shine a light?

    Thanks.

  • > Oh right I thought you meant multiple in one click. You can just use a variable as a condition like this : https://dl.dropboxusercontent.com/u/495 ... htext.capx

    >

    Got an error!

    http://www.geocities.ws/kikoriogames/error.png

    If you can maybe tell me If I am doing something wrong. Thank you.

    Downloading newer version. Sorry. My bad!

  • Oh right I thought you meant multiple in one click. You can just use a variable as a condition like this : https://dl.dropboxusercontent.com/u/495 ... htext.capx

    Got an error!

    http://www.geocities.ws/kikoriogames/error.png

    If you can maybe tell me If I am doing something wrong. Thank you.

  • I don't think I have to upload the project to XDK and install APK on device in order to test TOUCH, or do I?

    I am hoping it can be tested with the mouse click.

    I have read a lot from the Manual and Forums but I certainly didn't take the time to find out about that. Hoping for a quick answer here.

    Excuse my ignorance. Thanks.

  • Try using: On Tap Object

    Doesn't work. Not for what I want. Thank you, though.

  • I can't seem to replicate the issue. Uploading a CAPX would be good so we can see exactly what you're doing.

    I am using the mouse to click (test) on the touch event and it's creating several instances.

    I didn't want several instances created regardless of the number of clicks. In this example, if you keep on clicking it will reproduce it until you stop.

    Thanks for the help.

    http://www.geocities.ws/kikoriogames/TouchTextExample.capx

  • On touched is a trigger and naturally triggers once only. There must be a problem with logic elsewhere, are you able to post capx?

    I am using the mouse to click (test) on the touch event and it's creating several instances.

    I didn't want several instances created regardless of the number of clicks. In this example, if you keep on clicking it will reproduce it until you stop.

    Thanks for the help.

    http://www.geocities.ws/kikoriogames/TouchTextExample.capx

  • I am new at this, so excuse my ignorance and my humble questions.

    I have this event --> onTouch Object --> System Create another Object.

    The problem is System still creates several instances while Touch persists.

    I can't add a second condition (Trigger Only Once) to this one.

    I tried the Is touching Object with Trigger Only Once. I would like for it to create just one instance of the new object regardless of however I touch the screen.

    I know a variable would be a solution but I am having a hard time dealing with that.

    Anyone can help, please?

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AJAX.capx

    And I did read a lot about the Dictionary Action I just couldn't get it done! I am fairly new at this. Thanks to people like you I am getting around it.

    Alrightttttttttttt!!!!!!!!!!!!!!! Thank you a lot!!! Neat!!!!!!!!!!!!! Have a great day!!!!!!

  • Loading with the action'Request project file' can take a while. It is mostly not ready in the next action. And it can take several tick. That is why you have the condition 'On completed'. The tag is there to know which request pairs with which completion.

    So in general you ..

    Some condition that makes the action done only once (like on startup of layout)

    The action 'Request project file' ("tag")

    A new top level condition 'On completed' ("tag")

    The actions that assign the LastData

    Be aware that, because the loading of files can take several ticks, the rest of your events are not valid. Because the needed data are still missing (not loaded yet).

    I see most people in here use Groups and dissable/enable them. To exclude events from runnning as long as the data are not in place.

    Thank you. It seems to me that there's something that I am doing thta's wrong.

    See example of what I am trying: http://www.geocities.ws/kikoriogames/AJAX.capx

    In the example there are 2 requests and different text boxes TEXT1 and TEXT2 are to SET TEXT, but only TEXT2 works.

    I am sure there's something I am doing wrong.

    Thanks. Have a happy Sunday!

  • Hi, I am working on this game and I need to use Ajax to make file requests. Right now I have 2 text files (.txt) that I have imported. But I can only make one of them work. Is it possible to have 2 Ajax Objects like AJAX1 and AJAX2? Because I can't seem to find a way to do that.

    I have checked the code, the tags are different. I posted a link to a screenshot. This image shows the request that is not working. the one that works is identical except for the fact that I create the text and make the request via a SIGNAL.

    Now this trim(tokenat(AJAX.LastData,random(20,21),";")) is identical in both requests except for the random numbers in the brackets. Could this be it? Sorry I am a noobie.

    The one below (see pic), doesn't work. I tried everything and even ended up creating a button to click on it and see if it would work. I hope I was clear enough.

    Appreciate any help. Thanks.

  • I know this is an old post but this happened to me today.

    My solution was:

    1- Make a new folder.

    2- Copy only the files and/or folders that you created in the original folder where the problem is happening.

    3- Paste these files into the new folder you created.

    4- Now open the .caproj and SAVE AS in the new folder.

    Should save normally now.

kiko2015's avatar

kiko2015

Member since 13 Dec, 2015

None one is following kiko2015 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies