dop2000's Recent Forum Activity

  • Save your project as a folder (not as .capx), and search for object names in xml files. I prefer using some file manager like Total Commander :)

    For example, search *.xml containing "Sprite1", if it's used in any event sheets or layouts, you'll find them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, if you are looking for an event On animation "attack_*" is finished, there is no such thing. The only option is to use On any animation finished and then compare animation name with left() or some other expression.

  • I also have a feeling that you have two "On open dialog OK" events - one for loading image files, and another for loading save files. They are both triggering and causing havoc. Add some kind of flag to distinguish them, or activate/deactivate event groups, or make one universal event, where process files differently based on file extension.

  • It does exactly what it says - loads game state from the file you selected in "Open dialog".

    • Post link icon

    This is great news!

    There is still one thing I believe web version can't do - preview in NWJS mode. Will this be added before retiring the desktop app?

    And also, is there any way to override/disable Chrome keyboard shortcuts? I've closed Construct at least a hundred times by pressing Ctrl-F4 or Ctrl-W, it's the main reason I'm using Desktop build...

  • Well, you are doing it again :) You disabled the Save/Load system and the error message went away. Great, but why stop at this and ask for a solution on the forum? Why not try to find what's causing this error yourself? You already know how to do it - add debug messages to all events which you think are involved, run the project in debug mode, open console, press the button, see what's happening, try to figure out the sequence of events and soon you will wind the fix. Troubleshoot! Nobody can do this better than you because nobody knows the project as well as you do. (I'm almost sure it's something to do with Undo flags not properly set or cleared)

    About JSON - you don't need to understand its structure to use it. JSON (from saved state) is just a string of data, containing information about all objects in your project. When you load from JSON, all objects are recreated from that data, that's it.

  • I'm guessing that message is from your Saving/Loading system or from Undo. It probably has nothing to do with loading an image into sprite. Or maybe you are using "Sprite Set from JSON" instead of "Load image from url".

    I'm just encouraging you to experiment and try solving problems yourself, instead of posting here about every little issue you encounter. You'll learn much quicker.

  • You already know how to load an image into a sprite, and you already know how to paste sprite onto a canvas. Why do you need help with this?

  • Press F12 in preview, open console and see if there are any error messages.

  • You can't send the sprite to another layout. What you can do it "tell" that other layout to create the sprite when it starts. For example, with a global variable CreateSpriteAtImagePoint. On start of layout check this variable and create the sprite if it's set.

    Or you can set the sprite as global, it will appear on another layout automatically, but you'll still need to update its position.

  • Well, if you are saying your buttons work correctly, it's good :)

  • Noah. Not for one of them, but for all of them. So you can do things like "Object destroy" without "For each" and it will work fine. But in some other situations you might need "For each" loop to process instances one by one.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

  • 9-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

29/44
How to earn trophies