wiwis.dev

Dylan_PvP: one character, two games

· Superkart

Dylan_PvP sitting in his cyan Superkart kart, hands on the square steering wheel, in front of the grandstand

Dylan_PvP, a gamer in a tracksuit, drives every kart in Superkart and wears the uniform of both sides in Warfront. One model for two games: here's how he's built and animated.

A body made of simple shapes

Dylan is a low-poly model, meaning he's made of only a few polygons: just over 1,200 triangles, depending on the body type. His arms and legs are six-sided tubes, and his head is a ball with twenty-four clearly visible facets. That's not a lack of polish: it's the style both games share, simple angular volumes with no smooth curves.

He stands 1.40 meters tall in Superkart, to match the scale of his kart.

A 29-bone skeleton

To move, Dylan has a real skeleton: 29 bones, from the root to the fingers. The pelvis, the spine, the head and even the lock of hair, then, on each side, the shoulder, upper arm, elbow, hand, four fingers, hip, thigh, knee and foot. Every vertex of the model follows one or two bones. When a bone rotates, the vertices attached to it follow.

This calculation runs every frame, for every character on screen. The joints bend sharply, like an elbow pipe, instead of rounding off: again, that's the intended style. The deformed model is then sent to the graphics card, once per character.

A texture painted by code

Dylan's skin, clothes and face don't come from a hand-drawn image. The game automatically unwraps the model's surface onto a 256 by 64 pixel sheet, grouping faces by orientation, then paints that sheet procedurally, using the same method as the environment textures. The lighting of each face is painted straight into the texture.

The face gets special treatment: its pixels are four times finer than the body's, so the eyes and mouth stay expressive. When Dylan blinks, the game simply repaints the face area.

Poses computed, not recorded

In many games, animations are prepared in advance, keyframe by keyframe. Dylan's animations in Superkart are computed live, based on what's happening in the race.

None of these small movements matter for gameplay. But without them, a motionless character instantly looks like a statue. They're what make Dylan someone rather than something.

Eight drivers, one model

All eight Superkart drivers are built from Dylan's model, but no two are alike. Each has their own tracksuit color, skin tone and hair color. Léa_Turbo, Sacha and Inès have long hair and a different body type. The player drives Dylan himself, in a cyan tracksuit.

In Warfront, every soldier is Dylan, in his team's tracksuit, blue or red.

Why a shared character

Reusing the same character has a practical benefit: any work on his skeleton, texture or animations pays off in both games. But above all, it's good for players. Dylan_PvP ties the games together: the driver you see at the start of a race is the soldier you run into in the middle of a battle. He's the face of wiwis.dev.

Play SuperkartGame page

Read next