2D Tank Game

This forum is currently in read-only mode.
From the Asset Store
Everything is made via physics, Very simple code: 6 events only (3 for tank creation, 2 for controls and 1 for camera)
  • I am thinking of making a side scrolling tank game, started a couple of minutes ago <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    So far I have just done the game "engine", nothing to fancy.

    New Update! 1.01

    GRAVITY BEAMS!

    WORKING TURRET!

    CROSSHAIR! WOW

    Destructable objects! Boxes turns into wood!

    Better look

    Mouse track thing

    Abit better physic

    Recoil when shooting <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    <img src="http://i162.photobucket.com/albums/t260/swebonny/tank2d101.jpg">

    <img src="http://i162.photobucket.com/albums/t260/swebonny/tank2d1.jpg">

    Early Version

    <img src="http://i162.photobucket.com/albums/t260/swebonny/testasd.jpg">

    I really have no skill at all with coding, execpt Hello World and so on, so I'm really happy of what I have created:)

    Download here.

    New

    http://upload.d2k5.com/files/1199800546_tank101.rar

    Old[ http://upload.d2k5.com/files/1199718986_tankd2d10.rar

    http://upload.d2k5.com/files/1199715021_Tank2d.rar

    Controls:

    Arrows to move

    When moving press tap Up arrow to jump.( jump is removed in new version=)

    Leftclick to shoot bullet

    Rightclick to use GRAVITY BEAM!

  • Hehe, nice <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /> if you use an up vector on the tank (enable it in physics properties), you wont be able to tip the tank over.

  • Thanks <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /> And with up vector, did you mean "no rotation"?

  • Oh yeah, heh, I gave it a simpler name. No rotation enables the up vector.

  • Ooh, nice! Love the way the boxes are destroyed if you run too fast into them! Could u post the .cap? would like to see how things are done.

  • Ooh, nice! Love the way the boxes are destroyed if you run too fast into them! Could u post the .cap? would like to see how things are done.

    Here:

    http://upload.d2k5.com/files/1199780572_2dtank1cap.zip

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much! When the physics get better, you'll be able to make the boxes break only if you hit them with a certain force! That will be awsome!

    The new gravity beam is a bit buggy. Aparently you just set the position of the object, but that doesn't make it stop falling, so it falls a short bit, teleports, falls, teleports, and after a while it has built up so much speed that it bounces far of the screen when you release it. Sometimes the boxes just stops in the air, and don't fall down. You can't even move them by driving into them with your car.

  • Thank you very much! When the physics get better, you'll be able to make the boxes break only if you hit them with a certain force! That will be awsome!

    The new gravity beam is a bit buggy. Aparently you just set the position of the object, but that doesn't make it stop falling, so it falls a short bit, teleports, falls, teleports, and after a while it has built up so much speed that it bounces far of the screen when you release it. Sometimes the boxes just stops in the air, and don't fall down. You can't even move them by driving into them with your car.

    He's not setting positions, he's doing what I did - combining drag/drop and physics movetypes. This results in some horrible mutant child.

    The problems:

    If you drag any object while it is moving or touching another object, it tends to spaz a lot.

    If you drop an object, you need to add triggers to make it re-enable physics (I made it apply a velocity of -1 Y, so it moves enough to realize it's meant to fall down again but not noticeable easily)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)