dop2000's Recent Forum Activity

  • Pandy

    Check this post, it may be relevant.

    I posted a few examples there where I perform hundreds of overlapping checks per tick and the impact on performance is quite small. According to Ashley, overlapping checks in C2 are well optimized.

  • Lordshiva1948

    It would be nice if you read posts (not just the title) and other people's comments before answering.

    This post has nothing to do with LAN preview.

  • sean080

    You can do it exactly the same way, only instead of LayoutWidth/2 and LayoutHeight/2 use person.x and person.y

  • "startGame = wallclocktime" should only be executed once on start of the game (level), not on every pressed key.

    This formula is also incorrect:

    speedPerSecond= (totalHits) / (startGame)

    Change it to:

    speedPerSecond= (totalHits) / (wallclocktime-startGame)

  • Here is the easiest way to do it:

  • For Platform or 8-Direction object, disable standard controls.

    Use events like:

    Is key A down - > Player1 Simulate pressing Left

    Is key Left down - > Player2 Simulate pressing Left

    etc.

  • You can add all such sprites to a family.

    Then when you create a family object (using Create or Spawn action) - a random sprite member will be created.

  • It depends on the game.

    If, for example you want players to drag&drop tiles, then use a sprite at first.

    When the player drops the sprite to its location, you can destroy the sprite and modify the appearance of the tile at the TileMap.

  • Yes, you can display the speed in real time.

    speedPerSecond= (correctlyTypedCharacters) / (time-gameStartTime)

    speedPerMinute=speedPerSecond*60

    If you want round this number to two decimal places:

    speedPerMinute = round(speedPerMinute * 100) / 100

    I believe PPM refers to "Pages per minute" and it's used to measure performance of printers and photocopiers:)

  • And again you shared a demo instead of the event sheet...

    I modified my example, it now works with all keys except ' and /

    In firefox these keys invoke search function, so I would avoid using them in your game.

    https://www.dropbox.com/s/g06mg3tjulvlq ... .capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wossi

    The player was falling through the platform because you were moving the platform with Sine behavior.

    What I'm suggesting is that you use Sine behavior only to calculate the value. And then use this value to move the platform with Physics action "Set velocity".

    Pin is also a non-physics behavior and you should avoid using it with physics objects.

  • You can use Physics->Set velocity

    It's almost the same as setting Bullet speed, only it works correctly with physics objects.

    For sine movement you can add Sine behavior, but select "Movement=Value only" in properties.

    Then on every tick do Physics->Set velocity to (Self.Sine.Value)

    Alternatively, you can move your platforms using forces, impulses, gravity, linear damping etc.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 250 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies