Tomina0309's Forum Posts

  • 8 posts
  • Bullet behaviour, I've used spawn condition.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, thank you very much!

    Problem is that I was doing a game from some other tutorial for animations, and now I realized that that tutorial was complex and maybe not for begginer in C2.

    But this your tutorial is very easy and I made a animations to characters with half the code

    This tutorial use only animation to one side and for other side it's a "mirrored" animation.

    But tutorial what I found, uses animation to every side etc.

    Little question, what is different in - "spawn" object and "set position to" in bullet behaviour?

    Both is good, which you prefer?

  • Here si simple project with platform game, and animation of movings.

    I have player blank sprite and player animation sprite, like in tutorial.

    When I pressed right - player moves right and played animation to right, when pressed right+jump - it's played animation to right jump etc....

    But - two problems:

    1.) When I'm standing in place and press jump - player start animation for moving, not to jump. How can my sistem detect in which direction is my sprite looking and when I'm looking in example in left and standing in place (not moving) - I want to be played animation for left jump, not walking?

    2.) I want to have prone animation and prone status of player. Now when I press down to prone - it works only in start of game, only one time. But I want that I will pressed left+down - player goes to animation "proneleft" etc...

    Tnx!

  • It works, tnx !!

    Does anyone knows how to add a compare value that compares something like "is the mouse cursor in front of turret"?

    With this I will avoid that turret can not fire behind himself , just in front of his angle.

    Like: mouse.X >= turret toward angle.

    I was look at every example and look in manual, but can't figured out.

  • I will try with this, tnx!

  • This condition is already set to game. "PostoljeTopa" is a tank base, "Top" is turret of tank.

    Now when I press up or down - turret rotates arround his center, but I want that turret rotates arround left side of turret.

    Here is another picture of this problem

    Here is example when I shoot "down".

    First picture is like I want to be, left side of turret pin to tank base, so when I rottate turret, it rotates arround left side of turret, and pined to tank base.

    Second picture is what is problem now.

  • Hy guys, i'm a begginer in Construct 2, and I really need one little help

    I'm doing a game with simple tank, and a objective is to destroy a building.

    I made point n click movement for tank, fireing bullets, turret is pined to tank, turret have rottate up and down, when bullet touch building bullet is destroyed, and make a some force to building etc...

    But I have little problem, in turret rotation How can I make that left side of turret have fix position to tank, and when I press up or down - only right side of turret have rotate?

    In picture you can see my problem

    I'm using free edition of C2.

    Thanks!

  • Hy, my name is Tom, from Croatia, a begginer!

  • 8 posts