Coder Social home page Coder Social logo

mayakwd / pixi-yoo-ai Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 2.0 195 KB

Yoo Ai. Extensive UI library for PixiJS v5

License: MIT License

TypeScript 100.00%
pixijs pixi pixi-js ui ui-components gui user-interface game-development gamedev game-ui

pixi-yoo-ai's Introduction

Yoo Ai

Extensive UI library for PixiJS v6

Installing

  • Yarn: yarn add pixi-yoo-ai
  • NPM: npm i --save pixi-yoo-ai

pixi-yoo-ai's People

Contributors

mayakwd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pixi-yoo-ai's Issues

Pagination component

There is a lack of pagination support for Lists.
New pagination component should resolve this issue.

It should have a basic implementation, and List-oriented, with support of listing via prev/next buttons and via pagination index-items (selectable buttons).

Horizontal scroll list component

Currently there is only one option to create horizontal scroll list, as TileList with horizontal direction and limiting rows count to 1.
It will be better to have a separate component, which could implement such behavior by default.

ProgressBar percentComplete calculation broken

public get percentComplete(): number {
    if (this._maximum <= this._minimum) { return 0; }
    let value = this._value;
    if (value > this._maximum) { value = this._maximum; }
    if (value < this._minimum) { value = this._minimum; }
    return 1 / (this._maximum - this._minimum) * value;
  }

It's required to subtract this._minimum from value inside percent calculation.

Reproduce case:
progressBar.setValues(1000, 2000, 1500);

Deselection not works

Selection for List and its inheritors works as expected, but click on selected item does nothing.
Excepted behavior: selected item should be deselected and ListEvent.SELECTION_CHANGE event should be emitted.

Mouse wheel support

List and its inheritors should listen for mouse wheel events and scroll according to it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.