UNPKG

@drincs/pixi-vn

Version:

Pixi'VN is a npm package that provides various features for creating visual novels.

26 lines (24 loc) 693 B
type TickerProgrationType = ITickerProgrationLinear | ITickerProgrationExponential; type ITickerProgrationLinear = { /** * The amount of the speed to increase every frame. */ amt: number; /** * The limit of the effect */ limit?: number; type: "linear"; }; type ITickerProgrationExponential = { /** * The percentage of the speed to increase every frame. if the percentage is 0.1, the speed will increase by 10% every frame. */ percentage: number; /** * The limit of the effect */ limit?: number; type: "exponential"; }; export type { ITickerProgrationExponential, ITickerProgrationLinear, TickerProgrationType };