2D Tank Game

Post your Construct-made creations!

Post » Mon Jan 07, 2008 3:40 pm

I am thinking of making a side scrolling tank game, started a couple of minutes ago :)
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 :)



Early Version

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
[url:3pu7vgts]http://upload.d2k5.com/files/1199800546_tank101.rar[/url:3pu7vgts]
Old[
[url:3pu7vgts]http://upload.d2k5.com/files/1199718986_tankd2d10.rar[/url:3pu7vgts]
[url:3pu7vgts]http://upload.d2k5.com/files/1199715021_Tank2d.rar[/url:3pu7vgts]
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!
B
2
G
4
Posts: 16
Reputation: 1,082

Post » Mon Jan 07, 2008 3:57 pm

Hehe, nice :) if you use an up vector on the tank (enable it in physics properties), you wont be able to tip the tank over.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Jan 07, 2008 4:34 pm

Thanks :D And with up vector, did you mean "no rotation"?
B
2
G
4
Posts: 16
Reputation: 1,082

Post » Mon Jan 07, 2008 4:39 pm

Oh yeah, heh, I gave it a simpler name. No rotation enables the up vector.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Jan 08, 2008 1:36 am

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.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Jan 08, 2008 8:25 am

[quote="Attan":1zgss2ay]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.[/quote:1zgss2ay]

Here:
http://upload.d2k5.com/files/1199780572_2dtank1cap.zip
B
2
G
4
Posts: 16
Reputation: 1,082

Post » Wed Jan 09, 2008 6:18 pm

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.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Wed Jan 09, 2008 7:46 pm

[quote="Attan":zviivq86]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.[/quote:zviivq86]
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)
B
3
S
2
G
4
Posts: 130
Reputation: 1,735


Return to Your Creations

Who is online

Users browsing this forum: No registered users and 5 guests