Mario Kart Item Post 5

Mario Kart Item Post 5

Apr 21, 2019. | By: Evan Diamond
1 min

The fifth post in making items for mario kart in DirectX12

Overview

The reimporting of item models and the basics of the lightning cloud item.

Item model re-import

A large part of the renderer and the engine have been reworked and because of this all the older item models have been depreciated. Because of this all the items that had models needed to be re-import into the system. Also because of the engine rework, specular, emissive, and height maps now work allowing for any item models that have these maps to use them in the game.

Lightning Cloud

The lightning cloud is an item is an item that is spawned and used as soon as it is picked. Once used it floats above the players head and starts counting down. When it finishes counting down it strikes the player it is above with a lightning bolt, shrinking and slowing them down for a time. The time shrunk is relative to the position to of the player is in, in the race. So the small time is longer when the player is in first then when they are in fifth, for instance.

Lightning Cloud

The lightning cloud works similar to the giant mushroom. When used it sets the used item bool to true which when true uses the same scale system as the giant mushroom. The difference however, is that the scale state starts on shrink and scale to shrink to is half the player’s original scale. Also when the shrink duration is declared at 13 seconds and then the player’s ranking is subtracted from it when it is used and there is a 0.2 velocity multiplier which is multiplied in the maintained state to the player’s velocity, slowing the player down.

About

Gamers developing new games.

Social Links

Our Bunker

University of the West of England,
Frenchay Campus, Bristol, BS16 1QY,
United Kingdom.