dop2000's Forum Posts

  • Most likely a CORS issue. Press F12 in preview and check errors in the browser console.

  • I think it's the same behavior, just a different name. Try renaming it on the object.

  • R0J0hound Great examples as always, thanks! I was planning to make one where you can click any position in the spritefont to set the cursor there, but now I don't have to :)

    There is Keyboard.TypedKey expression in C3, which I think works the same way as e.key, just need to filter out some keys like "Shift" or "Tab".

  • You should ask your players, or watch some people trying to interact with your own controls. Everyday computer users expect all those features to work, and will be annoyed if they don't.

    In the old days players selected letters using arrow keys and no one complained :)

  • and paste the textinputs

    I'm pretty sure it's not possible to paste a textinput on drawing canvas..

  • Please explain the issue - are you trying to completely hide the enemy in that video? In this case placing it on a layer below the shadow should definitely work.

  • Ashley I disagree. In many cases we don't need all those fancy features from the text inputs. For example, if I only want to ask the player to enter their name, I don't need undo/redo/selecting/copying/pasting/tooltips etc. And considering how difficult it may be to make the text input match the style of the game, creating your own text input in such case is a much easier solution. Besides, it will not have all the quirks and limitations of DOM elements, like drawing above everything else on the canvas, not supporting effects and so on.

  • You can move the shadow and the walls to another layer - above the sprite.

  • Alirezamohanadi I tested your game on Xiaomi Redmi 4 and Poco X3 Pro - touch controls work, I can move the character.

    What browser are you using? Make sure to use Chrome.

  • Sure.

  • Yeah, it's better to make one yourself with a Text or Spritefont object. Here is an example:

    howtoconstructdemos.com/old-terminal-style-text-input-with-blinking-cursor-capx

  • I've owned several Xiaomi phones and never had any issues with Touch object.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm sorry, I lost track of all the issues you described, it's very difficult to understand what's going on without the project file.

    The fact that the object is a member of a family should not be causing any issues with picking. I also have never experienced any bugs with using MoveTo and its On Arrived event, and I use them a lot.

    Returning to your original question - if there are no containers, no hierarchies and no parent events which could've changed the picking scope, then there are really not many reasons left why the instance is not getting picked:

    1. It's not created yet, or maybe have just been created in the same tick.

    2. It's destroyed.

    Like I said, try adding System Pick All as the first condition. Add instance counters (Obj.count and Obj.pickedCount) to Browser Log outputs, they should help with debugging these problems.

  • You can use a spritefont. Spawn each letter in a circle offsetting the angle.

    Here is an example:

    dropbox.com/s/626zo5403an64el/TextInCircle.c3p

  • I think you can paste the text on a DrawingCanvas object, and then distort it using meshes.

    If the text is static, it would be much easier to do this in some other editor and then import to Construct as a sprite.