☀️ Tank lessonshow our diep.io tanks do what they do
Lesson 13

Shots that are pictures

A projectile has its own layers, so a bullet can be a bat, an egg, a skull or a spiky star with an eye.

What you see

A cannon that throws a spinning five-point star with an eye on it. In the Halloween pack the same idea gives bats, cats, chickens, bones, skulls, eggs and little ghosts.

The trick

A projectile has its own layers: a star shape that spins, with an eye drawn on itthe shot: Sides 5,drawn as a stareye: a parton the shotSpin: turnsin flight

Open Projectiles and a projectile has the same panel a tank has: its own shape (Its own, with Sides and Drawn as a star), a Spin so it turns as it flies, and layers. Barrels, parts and auto turrets ride on it exactly as they ride on a body, and in that view the projectile's disc counts as a body of Size 50, however big the barrel fires it. Decorate it like a hull.

Numbers that matter

FieldValueNotes
ShapeIts own, Sides 5, star"As usual for the kind" is round for a bullet, a triangle for a drone, a 3-point star for a trap
Spin0.15Rotation per tick; the stock missile spins at 0.1
Part offsetswithin 50 for things on the discBeyond 50 for things that stick out
Barrel Bullet size1The whole picture scales with it; a 2× shot is twice the picture

Gotchas

Where we used it

Dracula's fluttering bat
Dracula's fluttering bat
Bloody Mary's wailing ghost
Bloody Mary's wailing ghost
Jeepers' twirling cane
Jeepers' twirling cane
Little Devil's fried egg
Little Devil's fried egg