oosyrag's Recent Forum Activity

  • From the other thread -

    Conditions

    Array - For Each Element

    SubEvent Conditions

    System - While

    System - Compare two values - IndexOf(Array.At.CurX) != LastIndexOf(Array.At.CurX)

    Action

    Array - Delete LastIndexOf(Self.At.CurX)

    This is for a 1d array, but it will still work if you add an additional sub event to check that the second value also matches in both.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes that sounds like you'll want to use the physics behavior. I'm not too familiar with it myself, but the idea should be similar.

  • Conditions

    Array - For Each Element

    SubEvent Conditions

    System - While

    System - Compare two values - IndexOf(Array.At.CurX) != LastIndexOf(Array.At.CurX)

    Action

    Array - Delete LastIndexOf(Self.At.CurX)

    Edit: Changed Self/Array in the expression, since you can't use self in a system condition, formatting, sub event for two the two loops. Yikes made a lot of mistakes actually, glad you understood

  • I would actually recommend creating your poll on Google Docs and just making a link to it from your game, if it is not integral to your game.

  • What is a click and play?

  • Just change the blend mode so that your source is completely blocked instead of atop for the silhouette.

    https://www.scirra.com/manual/146/effects

    I think the one you want is Destination Over, but I'm not 100% sure. Quick experimentation will help you find the correct effect.

  • Bandwidth is important for the host, as the bandwidth required for data transmission scales for every peer that connects - the host has to send and receive from ALL the peers, while each peer only has to send and receive from the host.

    3g or 4g, you can have a very large bandwidth on a cellular connection, but generally speaking the latency will ALWAYS be bad. This is why real time synchronous mobile games are very rare. Most mobile games are either asynchronous, or set up in a way where timing and lag don't make little difference on game play. Otherwise, you will need to develop some creative and robust lag compensation techniques, which can be done, just troublesome.

  • Two seperate chrome windows, non minimized works for me.

    As for emulating bandwidth, VMs are probably your best bet, but I wouldn't think it worth the trouble... bandwidth is generally not an issue unless you start getting into huge numbers of peers, and in that case it only matters for the host and you'll probably want a dedicated host on a big pipe anyway. Latency is usually the main thing to worry about, and even then you usually don't have much control over that.

  • Sorry those should be Self.OriginXVariable and Self.OriginYVariable.

    For changing on tap, you can use sub events on the Touch - On tapped TileSprite condition, then compare values.

    Touch - On tapped TileSprite 
           
             System - Compare two values - TileSprite.AnimationFrame = 4 | TileSprite Set Animation Frame to 7
             System - Compare two values - TileSprite.AnimationFrame = 7 | TileSprite Set Animation Frame to 11
             System - Compare two values - TileSprite.AnimationFrame = 11 | TileSprite Set Animation Frame to 4[/code:fqbomx5c]
  • Check out newt's link, it should have exactly what you're looking for.

  • That's pretty much exactly what I put in the capx I uploaded, and it was working for me - the only difference was that I created the sprite in C2's editor instead of importing it. So if that one doesn't work for you... latest version of C2 and nwjs?

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