dop2000's Forum Posts

  • Funny enough, the problem is with the Console object. You are destroying one instance of Console and creating another in the same tick. So I'm guessing the text "You're connected to the internet." goes into the deleted instance.

    Don't destroy Console on start of the layout and you'll see that everything works correctly.

  • Can you share your demo project? I tried the same code and it works fine for me.

  • Yes, I know it can be used this way. I meant - does it work when you move "trigger once" to the parent event?

    Edit: I tried the same code and couldn't reproduce this issue. "Trigger once" does fire in the sub-event.

  • "Trigger once" needs to be the last condition in the event. Don't put it in the sub-event.

  • Thanks for the explanation. But I still don't understand what you mean when saying "flip" or "rotate". In Construct terms this is flip and rotate:

    Not sure how keys can work inconsistently. Did you disable "Default controls"?

    Can you please post your project file, or a screenshot of the event sheet?

  • Canvas is not heavier than a sprite. And you only need one canvas object, not 2000 of them. So it will definitely be much better for performance than 2000 sprites.

    When you need to add skid marks, create skid marks sprites, paste them to the canvas, wait 1 tick, then delete the skid marks sprites. Here is a similar demo:

    howtoconstructdemos.com/splashes-of-paint-on-the-wall-c3p

  • What does it mean - "how to change the movement commands so i can make the character move and rotate"?

    Are you using Platform behavior? Is this character controlled by the player, or is this an NPC/AI (controlled by computer)? Please explain exactly what you want to achieve and post an example of your events..

  • Oh, sorry, I was looking for a separate action, something like "Pin scale". It's working great, thank you!

  • Right click on the white area in animation editor, then choose "Import frames -> From strip"

  • Even better! So can you please add pin width/height? It will really help with tasks like creating modular characters.

  • Pinning values is easy to do in events

    Ashley Pinning itself can be done with events...

    To me pinning properties like mirror/flip and scale are just as important as pinning an angle. Yes, it's possible to do them with events, but it would make a lot of sense to have these features in the Pin behavior.

  • If you have a lot of objects on the screen, pasting them all onto a drawing canvas may be difficult. In this case take a snapshot of the entire screen, load it into a temporary sprite, paste a portion of this sprite onto the canvas.

    Also, please vote for the idea to add "paste layer" option to drawing canvas:

    construct3.ideas.aha.io/ideas/C3-I-921

  • If you don't necessarily need them to fade out over time, you can paste these sprites onto a Drawing Canvas and then delete the sprites. It will definitely be better for performance than having 2000+ fading sprites.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What behavior are you using? You need to provide more details, it's not clear what you want..

  • Assuming your array contains image names and text questions - pick a random array index, create a picture, delete this index.

    Local variable r
    
    Set r to int(random(array.width))
    Create picture, set animation to array.at(r,0)
    Create question, set text to array.at(r,1)
    Array delete index r