Skip to content

MarksLook beta ​

Interface of @v12-engine/client

ts
export interface MarksLook

The marks the client puts on the ground for what happens (GameView.fx.marks): each its colour, false for none, or the game's own in code in its place

Members ​

aim ​

ts
aim?: [number, number, number];

The colour of the indicator of where an ability will go, while aiming it: its circle and its line too

brush ​

ts
brush?: [number, number, number];

The colour of the circle a brush covers (the editor's, a game's own tool): white when left out

impact ​

ts
impact?: false | [number, number, number] | ((event: {
        x: number;
        z: number;
        radius: number;
    }, kit: LiteRenderKit) => void);

Rings where a shot or a spell hit an area (the impact event)

levelUp ​

ts
levelUp?: false | [number, number, number] | ((hero: EntityView, kit: LiteRenderKit) => void);

A ring under a hero that levelled up (the levelUp event)

preview ​

ts
preview?: [number, number, number];

The colour of the ring under what a selection box being dragged is over: a pale green when left out

reveal ​

ts
reveal?: false | ((reveals: readonly RevealState[], dt: number, kit: LiteRenderKit) => void);

Sparks and an edge over areas someone sees for a while: the game's own drawing of them, every frame, in their place

waypoints ​

ts
waypoints?: false | WaypointsLook;

The lines of the orders queued for what is selected, drawn on the ground while Shift (the key that queues) is held: from each unit to where it goes now, then to each order waiting, a flag at each (RV87). The client's in a gold when left out; false none