oosyrag's Recent Forum Activity

  • Perhaps a rounding error at the edge of the attack range? Maybe have them stop after they are slightly closer.

  • Advanced random is good, it can pick a random number from a set without repeating.

    Alternatively, after you pick a row from the array, just delete it out of the array.

  • It depends how you are saving at your checkpoint. If you set your player to spawn at last saved checkpoint on start of layout, say via a global variable, then you can restart the layout and everything else will be reset as well.

  • ViewportBottom(layer)

    ViewportLeft(layer)

    ViewportRight(layer)

    ViewportTop(layer)

    Return the viewport boundaries in layout co-ordinates of a given layer. Not all layers have the same viewport if they are parallaxed, scaled or rotated separately.

    You can use these expressions to compare the player object's position, and act accordingly.

  • Are you restarting the layout when you load from checkpoint?

  • Iframes are also an option for heavy use of css stylable text.

  • It used to be required to have an instance of a sprite object on a layout. This was to have default properties. They took away the requirement, but you'll still want to have one to set properties.

    Simple solution is to leave it in the margin outside the layout, and have destroy outside layout behavior on it. Or you can destroy on start of layout manually with an event.

  • This is beautiful.

  • I would also consider using an animation as your shaking, where you simply change the origin point on each frame.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Depending on the effect you are going for...

    You can change it to a rope style distance pin when you need it to shake, and revert it back to a static pin otherwise.

  • It would be a small change to position in the center of a grid instead of top left corner.

    Instead of gridposition, just use gridposition+gridsize/2

  • In the multiplayer tutorial on the last page it looks peers also manually set their associated player object's lookat instance variables locally based on mouse position.

    Why syncing the instance variable does not update them I do not know why. Maybe something to do with local input prediction activated on the associated player object?

    Try testing with 2 peers and a host, and see if the the other peer's instance variables get synced properly? (As seen by the first peer)

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