oosyrag's Recent Forum Activity

  • Or use an invisible helper object, loop through the main tilemap and create cost objects on top of every tile that is grass on start of layout.

  • If the host can get client input, then it knows where the client touched.

    Check if there is an object overlapping at that point, and assign it to the client that made the input.

  • A peer needs to tell the host either where it touched or what it touched, and the host does the syncing. The host then needs to relay to all peers that a particular object is associated with a peer, and all peers need to also associate that object with the peer.

  • What determines who attacks first? How is the turn system set up?

    In view - Use LOS behavior

    Chasing - Use a helper sprite, spawn it at the target and move it x pixels towards enemy, pathfind to helper sprite. Update position of helper sprite as needed.

    Overlapping can be a very complicated subject. One approach is to continue moving the pathfinding target helper sprite until it has a free spot, if the original target was already occupied by a pathfinder sprite. Then you add things like give instance variables to the helper sprite to keep track of the expected time of arrival, and use that for prioritizing who gets the closest spot.

  • Perhaps your action is "set variable to 1" instead of "add 1 to variable".

  • You do not have permission to view this post

  • Use a second array to keep track of the frequency of each value with the indexof(value) expression.

    For each element in originArray

    If frequencyArray.indexof(originArray.CurValue)=-1 (doesn't exist), frequencyArray Push front originArray.CurValue, set value at 0,1 to 1.

    Else set value at frequencyArray.indexof(originArray.CurValue), 1 to frequencyArray.At(frequencyArray.indexof(originArray.CurValue), 1) + 1

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

    Write text file

    Write a text file to the user's local system. If the file does not exist, it is created. If the file already exists, its content is overwritten.

    ReadFile(path)

    Open the given file and return its text content as a string. Note that each time this expression is used the file is opened and read from disk. Therefore if the expression is used twice, the file is opened and read twice, which can impact performance. If necessary first read the file to a variable, then reference the variable multiple times.

  • It looks like it's following the plane fine to me.

    Maybe try adjusting the origin point of the smoke to a different location on the plane, like the tail, by using an imagepoint.

  • Why not try it and find out? You can make it through the tutorials with the free version no problem.

  • Nw.js can read from and write to disk. Your game will write the relevant information to the local drive, and your wrapper app can read from there.

    Cloud solutions would probably be preferable in this type of application though.

  • Do you have physics enabled somewhere?

    Hard to guess what's wrong without seeing your project. But something is definitely not normal. As far as the bullet behaviours bounce by itself goes, it should not be doing that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • 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
  • 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
  • Email Verified

Progress

21/44
How to earn trophies