dop2000's Forum Posts

  • You can copy individual animations or sub folders.

    Oh, I didn't know that, it's even better, thanks!

  • DiegoM Is it possible to save only the animations in the selected folder, when you click "Save all animations"? Or add this option to the context menu when you right-click a folder?

    I have a huge sprite with hundreds of animations, and I only need to save one folder. Instead it saves all of them, which takes a very long time.

  • Why are you setting the value in the script? Just put that string into the variable as its default value. You won't need double quotation marks.

  • Can you just allow access for everyone? If I can't help you, other people might.

  • I forgot to add "isSolved=0" condition to the first event. You don't want the function to run again after the puzzle is solved.

  • You can do something like this

  • Two invisible sprites on each side of your object may be the easiest solution.

    You can also add two image points to the object and use "System Pick Overlapping Point" event. For example, if the image points are on sprite A and you want to check if the "right" point is overlapping sprite B:

    System: Pick SpriteB Overlapping Point (SpriteA.ImagePointX("right"), SpriteA.ImagePointY("right"))

  • There is a setting in project properties - "Viewport fit"

  • I must admit, I don't understand the problem. The dirt tilemap is on a layer above the grass tilemap, that's why dirt tiles are above the grass. What is wrong with this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Triggered events like "On start of layout" or "Object On Created" may be executed in an order different from their order in the event sheet. In your case "On created" is triggered before "On start of layout".

    The easiest solution is to add "Wait 0" action to the beginning of your "On Created" event - this means "wait till the end of tick", and will ensure that the remaining actions will run after all other events in the current tick have finished. You won't need to use signalling, which is not a good solution here.

  • Access to the file is denied

  • Your WASD controls are trying to move the player before the MoveTo is finished. So MoveTo and 8direction behaviors are fighting each other. You need to add a condition "Player MoveTo Is NOT moving" to WASD events. And also use that condition in your Jump event, because the way you are checking "jumping" boolean variable is wrong, and the jump is also buggy.

  • Why are you spawning a new crosshair? Instead of "Spawn Crosshair at (x,y)" use "Crosshair set position to (x,y)" action in your event. This will move the existing crosshair instance to the specified position.

  • It's impossible to understand what's going on in your code. But you are definitely using "Trigger once" wrong. You should never use it with objects that have multiple instances - this may cause nasty bugs which are very difficult to track.

    Don't use "Trigger once" in loops or as a single condition in a sub-event. Don't use it as the first condition in an event. In fact, better don't use at all unless you have a clear understanding of how it works.

    If you want, for example, to change the animation only once, use "Animation is NOT playing" condition instead of "Trigger once".