fawdda's Forum Posts

  • Thanks a lot it's better now, but the overall animation still tricky.

    Have a nice day mate.

  • First you should have some knowledge about Pixel art and color tones and you can use softwares like Adobe Photoshop (commercial software) or Gimp (open source software) to create raster images, but I prefer to use Adobe Illustrator or Inkscape so you can create a vector image and keep the details clean and neat.

  • Here I have a simple test of one tank with a moving turret but the problem when the muzzle hits the wall it does not stop and keep rotating! Is there any way to stop the whole turret when colliding with the wall? BTW I've tried every possible way (Physics and Solid Behaviors) but nothing is working here!

  • Well Done Rhindon! I like the mechanics of your game.

  • I'm still trying!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you all,and here's a simple scene featuring a tank and one obstacle with Solid Behavior.Give it a try people!

  • TheDoctor Thanks a lot for your responses but nothing seems to be working here!! I tried in many ways! The concept is really simple just like Rigid Bodies in 2D or 3D environment!

  • So what do want to happen when the turret hits the wall and what kind of movement is it doing now?

    Simply I want the turret to act as a real tank turret, stop rotating when hits the obstacle and stop following the mouse arrow. I tried making both the turret and the obstacle a solid objects and I switched the Collision On for my turret,but when the turret hit something it shifting it's center away from the tank body!!

  • hopr37 Just create a System event with Every Tick condition then follow the provided step by cvp

  • Hi everyone;

    I'm working on a top down shooter game and my main object is a static tank with a moving turret, but the problem I'm facing is when the turret is rotating and hits a wall or some kind of obstacle, the turret is keep moving and never stops! Any tip around?

    Thanks a lot.

  • LittleStain RamPackWobble Thanks mates, I'll give it a try for sure.

  • It's the same since the alternative object should move in the same speed of the bullet.

    "space" fires bullet at 2400 (if the target registers a hit it flashes)

    "F" fires bullet at 2400 (if the target registers a hit it flashes)

    Sorry - did I just type the same thing twice....?

    fast bullet test

    Thank you a lot for your try it's neat and clear. Well both my bullet and my target got Solid behavior and the bullet should bounce off of the target.So when you move your player to a different place and you shot again sometimes the bullet bounce off and sometimes acts like there is no object in front of it.

    I tried a lot and I think there must be a solution as always.

  • Well if you want to be realistic, dont spawn a bullet. You cant see a bullet flying in real life so why would you in the game. Make an invisible laser for your carachter and:

    If "laser" is overlaping(Enemy)

    and Key(shoot) is pressed.

         > Destroy enemy.

    This way you can simulate high speed with pixel perfect collisions.

    I didn't say I want to be realistic! I want to give the the player the illusion of bullet velocity. Anyway don't expect players to understand the frame rate technical crap.

  • One idea - create an invisible sprite long and thin - spawn this at your gun and check for hitting your nearest target. destroy bullet sprite as required. ?

    It's the same since the alternative object should move in the same speed of the bullet.

  • lmchucho lmchucho Joannak Thank you a lot.

    About the bullet speed I'm trying to give the illusion of a real bullet moving in the air so less than 2400 pps it will looks like BB Gun shot!