Tiny Tanks: Big Boss

0 favourites
  • 8 posts
From the Asset Store
Try to destroy your enemies in a hard battle! Good luck!
  • Hi everyone! I'm starting development on my new game and I want to keep a development log, so you can follow along.

    My game is going to be a side-view tank battle game. The first thing I need to create is a level generator.

    Day 1. Level generator

    I used a pretty straightforward algorithm to create the generator:

    1. When layout starts, I add the coordinates of key points to the array. Each following points has a random coordinates that depends on the previous points (for example: random(-100,100) + oldX ).

    2. Next, I added two Tile Background objects to the layout: one for ground, the other one for grass.

    3. Then, using a loop and a special spline formula, I set positions the mesh points in a way that connects the key points from the array.

    Overall, I got a pretty decent level generator =)

  • Day 2. Player's tank

    It's time to add the player's tank to the Layout. I want the tank's movement to be very smooth and precise. Therefore, using the physics behavior isn't the best option.

    So, to create the tank, I used two invisible objects with the platformer behavior, which have the same parameters. Then I added a tank sprite and set its position as the midpoint between the two objects. Also, the tank's angle is the angle between these two objects.

  • Day 3. Enemy's tank

    It's time to add an enemy tank to the layout and create AI for it. So, when the layout starts, enemy tanks are created. Each of them has its own health, damage and armor parameters. When the player's tank gets close to an enemy tank, the enemy change his mode from "sleep" to "active" and starts attacking the player.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I added a battle results screen.

    The moving background is created using TileBackground. The movement itself is implemented by changing the "Image Offset X/Y" parameters.

    Next, I added a semi-transparent mask with "Destination In" blend effects.

    Everything else is implemented using the "Tween" behavior.

  • Very clean presentation. I am looking forward what other elements you will add. As a long-time World of Tank player and game designer I am thinking bushes for concealment, barriers for cover and possibly a couple of special helper tanks that can be called forward to deal with the enemy. Keep up the good work!

  • I added an inventory with items:

    - Items can be installed on the tank to get stat bonuses.

    - Items come in different rarities.

    - Items of the same rarity and type can be combined to level them up.

    - Unneeded items can be sold.

  • Battle Gameplay video

    Subscribe to Construct videos now

    youtu.be/2BTjdoxi78w

  • I've added weapons upgrade tree for each tank. To unlock weapon, players need to gather materials for crafting.

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