dop2000's Forum Posts

  • Yeah, that's why there are special conditions for angles. You can use "Is between angles", or it may even be easier to use "Is within angle". For example, "Is within 45 degrees of 180" for "Walk_right" animation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, you can use both new and functions in one project.

    Just don't mix them together like on your screenshot. Inside the new function use "System Compare variable" condition to compare parameters. Inside the old function use "Function Compare Parameter" condition.

    You can also rename the old Function object to something like OldFunc to help telling them apart.

  • You have an old Function plugin in your project (with blue icon). Find it and remove it.

    With new functions (black icon), you can compare parameters as variables, using "System Compare Variable" condition.

  • AJAX Request URL "https://myserver.com/file.json"
    Wait for previous action to complete
    Array Load from AJAX.LastData
    

    Note, that the JSON file needs to have a specific format, like this:

    {"c2array":true,"size":[25,1,1],"data":[[[0]],[[50]],[[60]],[[70]],..... }
    
  • So in scenario 1 you have 60 different objects (Sprite1, Spire2 etc.), with 80 animation frames each? And in scenario 2 only one object, but 60 instances of it. Is this correct?

    Then scenario 2 is much better! 60 objects will use 60x times more memory than one object. The number of instances doesn't matter much.

  • Yeah, "Stop loop" for some reason doesn't work with JSON or Array "for each" loops.

    You can add a local variable continue=1. Add "continue=1" condition to the loop. When you need to stop it, set continue to 0.

  • Did you see the "Follow Path" template?

    https://editor.construct.net/#open=follow-path

    I believe you can modify the array to also include actions. Increase array height to 3 and use the third column to store actions which the ghost needs to perform at certain time.

  • round is required, because window coordinated must be integer, otherwise you'll get an error and the window will not move.

    Without lerp the window starts wobbling like crazy, I couldn't figure out why..

  • Try this. round and lerp are required, otherwise it won't work

    .

  • LuisCGForte If you have any solution or advice, could you please share it here?

  • This may be a problem with video driver.

  • You can generate a hash as part of the serial number, and check if the hash is correct in the game. If you want to make sure that only one copy of the game can be activated with one serial number, you'll have to set up a server to validate serial numbers online.

    Just be aware that these copy protection methods are not very strong, and it will be quite easy to hack your game.

  • I don't know what that fetching error is, maybe it's what causing the problem, maybe some something else.

    What exactly happens when the game crashes?