rikk's Forum Posts

  • 10 posts
  • Thanks a lot!

    I'll try it out now.

  • Not help here?

  • Hi all,

    How do I trigger an action by double-clicking a key on the keyboard?

    the idea is that by pressing W the player walks and by double-clicking W the player runs.

    Any contribution would be appreciated.

  • Thanks Blackhornet.

    I can see your solution, but from the file appears does not appear that the system is counting the number of moving objects overlapping the static (green) sprite.

    My fault for not explaining properly the problem.

  • Hi all,

    I have a situation like the .capx attacked.

    The are multiple objects randomly moving around, also their number can change constantly.

    In any given time, I need to know exactly ( for scoring reasons) how many of those abject are overlapping another sprite ( in the file is the static, big green sprite).

    Ideally I would use an expression, but could not find any that I could use.

    Thanks,

  • Try Construct 3

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

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

    What I try to achieve is for a solid object, to be able to “jump over” (passing through) a solid obstacle when a button is pressed. This without using physics and without passing through other solids.

    I have attached a simple .capx as an example.

    As the game world is filled with solids (jumpable obstacles, not jumpable obstacles and enemies that keep following the player), the player should be able to only “jump” over the obstacles but not being able to jump over (passing through, other solid.

    In the .capx, attached, I try to explain the scenario that is composed by:

    -a player

    -a enemy that follows the player

    • an obstacle (like a fence)

    -And a box

    The player and the enemy cannot pass through any other solids. But by pressing a button, the player should be able to jump over the obstacles, but not over the box.

    At the same time, the enemy will still not b able to jump over the obstacles.

    Any contribution would much appreciate!

  • Thanks.

    But what if I do not want to use physics?

    For example I am working a top-down game with up to 50 constantly moving solids in an environment with many obstacles.

    What I am looking to achieve is the following:

    I have a Player, an Obstacle and a Box.

    All solids.

    When I press a key, I want to the Player to pass through (or jump) the obstacle But not the Box.

  • Hello,

    This is my first time writing in this forum and I need your help!

    I have encountered a problem that has stopped all my progress with C2.

    I have 3 SOLID sprites: A, B and C.

    When I click on a keyboard:

    I want A colliding with B and C.

    B to colliding with A but not C.

    And C to colliding with A but not B.

    Is the above scenario possible with the free edition? If yes, how?

  • I'll do.

    Thank you.

  • Hello,

    This is my first time writing in this forum and I need your help!

    I have encountered a problem that has stopped all my progress with C2.

    I have 3 SOLID sprites: A, B and C.

    When I click on a keyboard:

    I want A to collide to B and C.

    B to collide only with A but not C.

    And C to collide only with A but not B.

    Is the above scenario possible with the free edition?

    Thanks.

  • 10 posts