Release

Tank Battle game

2

was8bit 2018-11-13 18:04 (Edited)

(NX core 0.11)

Left/Right = turns tank
Up/Down = moves/stops tank
(A) button = fires bullet
(B) button = toggles computer control on/off
White center = computer controlled
Dark center = player controlled

Game is played in 3 Stages..
1) normal bullets
2) guided bullets
3) ricochet bullets

*NOTE* computer tanks and bullets ignore the barriers

Tank Battle.nx | Open in app
2018-11-16 01:13

Blockhead 2018-11-13 18:33

You post codes vary fast


Timo 2018-11-13 18:35

This could simply be a two-player game, too.


was8bit 2018-11-13 23:14

True, can easily add that later :)


was8bit 2018-11-13 23:14

I code as fast as my brain is working .... sleepy brains are slower ;)


was8bit 2018-11-14 04:04

The power ups will take more time...


was8bit 2018-11-14 04:17

5000 time actually goes by rather fast....

.... I think I'll change the powerups into rounds... each round will use different bullets with higher points per hit... so, 3 rounds... what we have right now,,then, is,round 1


Timo 2018-11-14 13:15

I got stuck in a wall :(


was8bit 2018-11-14 13:17

If you accidentally hit the (B) button and the computer drives you thru a barrier wall, and you hit the (B) button again to regain control, you may find yourself stuck inside the wall...

.., to get out of the wall, hit (B) button again, and allow the computer to move you into empty space, and THEN hit the (B) button to regain control while your tank is free from the wall :)


was8bit 2018-11-14 13:20

You shouldn't ever get stuck in the outer walls, as I've tested and removed all bugs (hopefully) for the outer walls....


Timo 2018-11-14 13:22

It was one of the inner walls. I rotated a lot very close to it and somehow I got into it.


was8bit 2018-11-14 13:25

The outer walls are physically placed walls (characters in the background)

The inner barrier walls are actually placed sprites, as making them physical allows tanks and bullets to go thru the corners or slide along the edges... changing these to sprites eliminated those issues...

Letting the barriers block the computer controlled tanks often got the tanks stuck behind the barriers, making them easy targets and they couldn't attack from that stuck position... letting computer controlled tanks (and their bullets) ignore the inner barrier walls made the computer tanks more effective players :)


was8bit 2018-11-14 13:27

<< It was one of the inner walls. I rotated a lot very close to it and somehow I got into it.>>

In those cases, i get free by rotating to face away from the wall, which usually works... if not, try letting "auto pilot" free you, then take back control when you get free :)


was8bit 2018-11-14 13:29

The guided bullets take getting used to, but with practice you can even hit tanks hiding behind the barriers... takes a bit of talent to pull that off though ;)


was8bit 2018-11-14 13:42

For practice, leave the other tank stationary...

For round I play as the red tank, averaging 30+ points...

For round 2 I play as the green tank, get in the upper middle of the screen, and guide all my shots to the target without moving my tank... averaging 60+ points :)


was8bit 2018-11-14 13:44

And yes i can guide my bullets to the target tank even if they are hiding behind the barrier... takes practice tapping the bullet around the corners quickly enough to make the corner, then to hit the target :)


was8bit 2018-11-14 13:45

Perhaps you can guess what's coming for round 3 ? ;)


was8bit 2018-11-15 04:55

The finished final version should be ready sometime within the next 24hrs :)


was8bit 2018-11-16 01:14

FInished :)


Log in to reply.