dop2000's Forum Posts

  • Going back one version should probably be okay. But sometimes Scirra makes changes to the file structure and then downgrading your project may break something.

    Since your project loads and runs fine in 424, don't worry about it.

  • Yes, it's possible. Unpack C3P file to a folder, or save it as folder project.

    Then edit project.c3proj file with Notepad. Change the "savedWithRelease" value. For example, "savedWithRelease":42402 means r424.2

  • It's probably all those "trigger once" conditions, you are using them wrong. Remove them and use Timer behavior when you need to schedule something.

    Also, your event #18 runs on every tick, and you have "Wait 1.5" in it, which means that everything else in this event will run many times with a 1.5s delay. And will continue running for 1.5s even after the "doorknob" sound stops playing. Don't use "wait" in non-triggered events.

    The whole thing can be done in the same event where you play the sound:

    Audio play doorknob sound
    Wait 1.5s
    Dialogue set visible
    Dialogue typewriter text ....
    Wait 2.5s
    Dialogue typewriter another text ....
    
    
    
  • for two weeks now

    You should've asked earlier! There are many ways to do this. Here is one of the easiest, without families or instance variables.

    dropbox.com/scl/fi/ab0ujefk2oqnuvh87tmnh/DragDrop_pots.c3p

  • If you can't do this with particles, use sprites. Spawn them in a circle, then tween their position to the character center.

    Every 0.1s : 
     Character spawn Sprite
     Sprite move 100px at angle random(360)
     Sprite Tween position to (Character.x, Character.y), destroy at the end
    
  • Here is what the events should look like:

    If any "else" condition is red, delete it and re-create again (press X).

  • You should probably not use "On key pressed", it's a trigger. You need "Is down" condition, which can be repeated.

    Key A down
    and Key D down : Simulate jump
    
    Else
    Key A down : Simulate left
    
    Else
    Key D down : Simulate Right
    

    You can re-arrange these events and/or remove "Else" condition, depending on what keys you want to have the priority.

  • Just needed to add a 'stop animation' action.

    Better set animation speed to 0 in the animation editor.

  • The only possible option is to set the background in Index.html file. I read about this, but never tried myself.

  • Not sure what you mean. In Array.at(0,3) expression the number 3 is the y-index. You can use a variable and increment it. For example:

    Number y=0
    
    Every 5 seconds 
     -> Add 1 to y
     -> Text set text to Array.at(0, y)
    

    Or a loop:

    Repeat 10 times
     -> Wait (loopindex) seconds
     -> Text set text to Array.at(0, loopindex)
    
  • It's a lot easier to manually place all socks on the layout, and then just randomize their images (animation frames). Say, you can make them initially invisible, and turn visible after you assign frames to them.

    For "p" from 0 to 11 // number of pairs
    
     Repeat 2 times
     Sock is NOT visible
     Pick random Sock instance 
     -> Sock set animation frame to loopindex("p")
     -> Sock set visible
    
  • I'm making an antivirus in construct

    Wow! What's next - an OS in Construct? :)

    You may be able to intercept win.close event according to the documentation:

    docs.nwjs.io/en/latest/References/Window

  • Instead of changing the font size, add the text to a hierarchy with a sprite — this could be the book page or an invisible sprite. The text should be a child in the hierarchy.

    Then, when you scale the sprite, the text should scale smoothly with it while preserving the line structure.

  • Ah, you need to load the array from AJAX.LastData, not from "Test"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you move "Set text" action into "AJAX on completed" event?

    If that doesn't help, please share your project file.