tgeorgemihai's Forum Posts

  • How do I check if one or more tiles from a TileMap are overlapped by a sprite ?

    I need to know in order to make this.

  • Try Construct 3

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

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

    Thanks, but I want the blue squares to be grid positioned based on layer, not the object itself, the red circle would only detect the collision with these blue squares.

    I tried to use a TileMap, but I can't figure how to check each tile if is colliding with the red circle ... Any idea how can I do this ?

  • Please look at the following image:

    I want to create grid positioned objects (the blue squares) only where they would overlap another object (the red circle).

    How can I do this ?

  • lucid and BrashMonkey Team

    Thank you for the Run N' Gun Platformer Pack, It was right what I needed . Initially I wanted to wait for sub-entities to be available in the c2 plugin (to make the player aim in the direction he is shooting).

    I am working at a Megaman-type game and I am wondering if is a good idea to make all enemies in Spriter (performance related) ? ... What Spriter uses more ? CPU or GPU ?

  • Why not just set the platform X & Y vectors to 0.

    Gravity will take over and your character will just fall to the ground. No need for a variable or timers. Or am I missing something?

    Thanks, this is what I needed

  • I use the same method as KFC ... I have a layout named "assets" where I put all the object that will be created/spawned during gameplay.

  • Would is overlapping at offset work?

    inversed offcourse..

    This should work, but I was thinking If i can detect [Solid] objects (without having to make an "OR" for all possible objects event or create a family of [Solid] objects) ... Simply to detect if at X,Y there is a solid object.

  • Do you mean stop from moving?

    If so, you can make the object time scale to 0.

    No ... I want to stop the object from jumping and immediately fall down.

  • What I am actually trying to do is to make a deposit full of boxes, but if I add platform or other behavior to each box, the CPU Utilisation grows considerably...

    So I am trying to mimic in events only the falling from platform behavior, but for that, I need to know how do I check if there is a solid object below each box (another box, ground ... etc) ?

  • How do I check distance() between 2 instances of the same object ?

    Each instance have a variable with different value (the instances are not completely identical)

  • I am trying to stop an object with platform jumping from continuing accelerating after being hit.

    How do I cancel/stop platform jumping before deceleration ?

  • Great work

  • koshnaranick

    Welcome

    C2 is definitely easy to understand and get used to it, but like any other program, is hard to master.

    For better 2D animations, you should look at Spriter (since you are already familiar with Adobe Flash and 3D models).

  • Or an Array, thanks ... But I was wondering if there was an setting or event that can do that (to move an object from a layout to another one exactly how it is).

  • Is there another/better way to save player's (sprite object) values (size, variables ... etc) other then global variables or WebStorage when the player enters another level ?