oosyrag's Forum Posts

  • Try a timeline? Otherwise describe the path with an equation.

  • To approach this efficiently, think about when you would actually need to update pathfinding. For starters, if an object has line of sight, you don't need pathfinding at all.

    When line of sight is broken, run pathfinding for that instance only.

    Upon reaching the first node or corner, check again if you have line of sight or not, and run pathfinding again if not.

    Basically during the whole time the object is traveling to that first waypoint, running pathfinding again is useless because the result will be the same anyway.

  • Two loops, one for x and one for y. For each pixel, set color to whatever depending on the tile at loopindexes for x and y times your scale and using the player position as the origin.

    There are probably tutorials for this if you do a search.

  • Minimaps are either a pre-rendered scaled sprite or drawn at runtime one pixel at a time.

    Decide the bounds and scale of your minimap, then loop through each pixel setting it to a color corresponding to the tile it represents.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your game is not frame rate independent.

    construct.net/en/tutorials/delta-time-framerate-71

  • construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap

    A custom collision polygon can be set, or collisions disabled, for individual tiles by double-clicking a tile in the Tilemap bar.

  • Seems like a straightforward 16x16, no spacing, no offset to me.

  • It would probably help if you shared your source tilemap, an image of what's wrong, what you've tried, or all of the above.

  • construct.net/en/make-games/manuals/construct-3/plugin-reference/multiplayer

    Sync instance variable

    Add an instance variable to sync with an object. The host sends the values of the instance variable for each object to the peers, keeping them up to date. The chosen object must already first be synced with Sync object.

    The Precision corresponds to the precision for Sync object, with an additional Very low (uint8, 1 byte) option, useful for bitwise flags.

    Interpolation can be None (updates in steps), linear (linearly smoothed interpolation between values, suitable for positions), or angular (rotational interpolation between angles).

    The Client value tag should be the name of the corresponding client input value, if any, to help ensure the host can sync the instance variable with minimal latency.

    Note: text instance variables cannot be synced, only numbers. To share text data between peers, use messages instead.

  • Thanks for the follow-up!

  • CSV is not a great data format, for various reasons. JSON or XML are much better suited for dialogue source files in my opinion.

  • Just use two events. Copy and paste actions. Make sure the events are mutually exclusive so you never end up with double actions, or just add else+subevent (I'm not sure else works in an or block.)

  • You'll want one instance of an object in your project (can be on a different layout, even an unused one) if you want to set default properties for a newly created instance. It is not required though.

    Efficiency is not particularly relevant here.

  • Construct doesn't really update automatically, every version is available at it's own address. The default shortcut just sends you to the latest one. Construct (which loads from cache so you don't have to redownload it every time), notices that the version at the link is different than the one loaded in your cache and tells you to refresh. You can bookmark and use a specific version forever.

    Also if you find that you're unable to open a project in a newer version, then there should be no way for you to save in that newer version. The version you saved in should always be able to open the project (regardless of the addons you used in that version).

    If an addon you have doesn't work with the latest version of construct, just use the one that it did work in.

  • If you're going to utilize Google sheets and your goal is mobile data entry for ideas, I'd recommend setting up a Google form for ease of use.

    However for actual game data I'd definitely recommend using json, xml, or other suitable data format as an included project file.