dop2000's Forum Posts

  • You do not have permission to view this post

  • I don't see the problem. Check which key is being held and simulate this control.

    Key Right is down -> Simulate Right

    Key Left is down -> Simulate Left

    Key Up is down -> Simulate Jump

  • Use "Sprite has tags" condition.

    SpriteA on collision with SpriteB
    SpriteA has tags "69"
    SpriteB has tags "69"
     -> Go to another layout
    
  • I assume that IIDs don't change unless you switch layouts and create a bunch of other objects. How else would I be able track objects?

    Lots of ways - by instance variables, by tag, by animation etc. You can add the slider to the hierarchy, and then pick its parent/child WID_USE object. Or you can use containers.

  • Ah, you are adding ▐ symbol to the end of the string. So you need to change the condition:

    System: right(Message.Text,2) = ".▐"

  • There's no simple solution. Just combine everything manually in the editor.

  • The support in Construct 3 is amazing.

    It is. Unless something like this happens on a weekend. Then you have to wait several days.

  • If they are different objects, then it's easy - you pick the parent instance, pick children. You can filter the picked children further, for example by animation name:

    SpriteA pick by IID
    SpriteA pick children SpriteB
    SpriteB animation "foo" is playing
    

    If the parent and children are instances of the same sprite, you need to use a family:

    Family pick by IID
    Family pick children Sprite
    

    You do need to pick children explicitly. You don't need to store child IID/UID.

    By the way, picking by IID is not recommended, as this value can change in runtime.

  • Press F12 in preview and check for error messages in the console.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe there are some invisible characters like tabs added to the price. Try using trim(text) expression. Or there are characters not supported in your spritefont.

    You can as an experiment add something to the end of the text and see what happens.

    SpriteFond append "!"

  • Do you mean mobile dialogue? No, it won't work in preview.

  • Change it to 2D array - set its height to 2. Then split the results with tokenat() moving the scores to Y0 and names to Y1.

    For "x" from 0 to array.width-1
    
    .. // Extracting name
    .. Array set at (loopindex, 1) value tokenat(self.at(loopindex,0), 1, " ----- ")
    
    .. // Extracting score
    .. Array set at (loopindex, 0) value tokenat(self.at(loopindex,0), 0, " ----- ")
    

    After that if you sort the array, it will be sorted by scores.

  • It's been several hours now. ("Working (0%)...")

    It's clearly a bug. If this happens again, press F12 and check the last error message in console log.

  • Ah, I see what's going on. Your event runs on every tick and creating many copies of this sprite.

    Run the game in debug mode (Shift+F4) and find this object in the list on the left - you will see it has many instances.

    Make sure to only create one instance! Use a triggered event, for example "On start of layout"

  • This is pretty weird. Are there any effects on this sprite? Perhaps "Alpha clamp", or something similar?

    Can you still see the shadow in Construct editor?