dop2000's Forum Posts

  • If you have time, could you please port the EasyStarJS behavior?

    construct.net/en/make-games/addons/1140/easystar

    Thank you for doing this!

  • You can load (parse) that JSON string into JSON object. But if you want to load into a C3 array, then the string needs to have a very specific format. For example:

    {"c2array":true,"size":[3,1,1],"data":[[["John"]],[[123]],[[456]]]}
    
  • Since you have WalkLeft and WalkRight animations, why do you need to mirror the sprite?

  • Looks like you have two Dir variables - one global/local and one instance. Make sure to use the instance variable on the Frog sprite.

  • You can use the Timer behavior.

    Player On hit
    Timer "invincible" is not running 
     ---> Player Subtract 10 from health
     ---> Player Start "invincible" timer for 1 second
    
  • Thank you for your example, I'm trying to understand how it works now and adapt it to my version of Construct 2, but Construct 3 has much more functionality than Construct 2

    You can definitely recreate my example in Construct 2 — it has all the features you need. It just requires a bit of effort on your part, rather than waiting for someone else to put the whole project together for you.

  • managing data with EventSheets alone may become a pain

    It's not that bad. The trick is to move from arrays to JSON. Once you get familiar with JSON, dealing with data in C3 becomes a lot easier.

  • I'd say everything you listed is possible, check out our game - 100% made in Construct 3.

  • If you are using C2, you can open the project in the free version of C3 to see how it's done.

    dropbox.com/scl/fi/y5eouixm70c7lim0oqnse/IsometricFarming.c3p

  • Your load code is a bit of a mess. I suggest using local variables instead of multiple nested tokenats(). Also, token indices start with 0.

  • I considered using smaller “sensor” sprites to detect tile occupancy, but this feels inefficient.

    Why do you think that’s inefficient? That’s actually how I’d handle it - place invisible sensor sprites in the layout editor and use them for tile detection, positioning, and grid snapping.

  • See the manual:

    It is not recommended to use Physics with other behaviors (Platform, 8direction, etc.)

    Check out this demo:

    howtoconstructdemos.com/platform-push-boxes-capx

  • For the "Load" action it won't make sense, because the game may be loaded in a completely different layout. Any code you have after "Wait for previous action" would be ignored anyway.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Then you need an API access.

    You can probably try scraping prices from their website, but it will be difficult and slow and your app/ip may get banned.