dop2000's Forum Posts

  • Add Platform Info object, it has "Is NWJS export" condition.

  • I would use a simple instance variable instead of the Timer behavior.

    On key pressed
    	Player.lastTapTime<(time-0.5) : Player set lastTapTime to time
    	
    	Else : Player set lastTapTime to time
    		: // start attack
    
  • sizcoz Your demo is interesting, but there are a few problems with it - Both player and box need to be on the floor at the same level, for example you can't push the box up or down the slope.

    And also, because the box is moved by changing its X coordinate and not with Platform actions, it can be pushed into walls and other obstacles.

  • Have you seen Camera Input template?

    https://editor.construct.net/#open=camera-input

    Loop through all media sources, find one with camera facing back (UserMedia.CameraSourceFacingAt(loopindex)), request camera source with this index.

  • Is your text object named "Text"? If not, you need to change the first line.

    Also, why "Sprite"??

  • See my previous comment, change your code accordingly and it should work.

    If it doesn't, you'll need to post your project.

  • Well, if you have different AJAX requests in the game for different file types, you might want to add conditions like these:

    System compare two values (left(AJAX.tag,5)="steps") ... Array set value... 
    else
    System compare two values (left(AJAX.tag,3)="dot") ... Array set value... 
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It doesn't matter! AJAX.tag will return tag anywhere in this event.

    Look, this guessing game is taking too much time, you need to post your project file if you can't figure it out yourself.

  • Yes, there is. From the manual:

  • No, that won't work.

    You need to use "AJAX On any completed", and inside this event compare AJAX.Tag. If you need, you can also get file number by removing "A" from the tag, for example int(replace(AJAX.Tag, "A", ""))

  • I don't know. Run the project in debug mode, check array contents, try changing events, check debug mode again etc. It's basic troubleshooting.

  • https://www.google.com/search?q=mime+type

    Just leave it empty

  • use "Invoke download of string" action.

  • Create another sub-event and move "Browser invoke download" there. It should run after the loop, not inside the loop.

  • I told you in my previous comment that you forgot to insert line breaks between each JSON string. Add line breaks (newline) and it will work.

    For each Dot : Set variable s to (s & Dot.AsJSON & newline)