maitrungduc1410

Members
  • Content Count

    5
  • Joined

  • Last visited

About maitrungduc1410

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. maitrungduc1410

    Performance question

    Oh, I see, after reading your link, I see how they want to do , but in my case, I'm not building a game, I'm building a tool for create chatbot, Images will be added by user and then rendered on scene, those images are dynamic, means it will change (not every frame, just when user click to change to other image). So I wonder does the SpriteSheet can help this case?
  2. maitrungduc1410

    Performance question

    I heard about it but I don't know how to apply it, can u give me a small instance? Thank you
  3. maitrungduc1410

    Performance question

    Hi everyone, I have a question, I think there maybe a question like mine posted somewhere, I tried to find but can't have a good answer. In my scene, I have a lot of picture, I use Sprite.fromImage to load those picture instead of PIXI.loader because my pictures don't load at the first time. Because of many pictures, so my scene has very low FPS, I think it probably because I load directly raw picture from path. Does anyone know can advise me anyway to fix this. Thank you!
  4. maitrungduc1410

    A little thing about performance

    Hi everyone, I'm new with PIXI, and I'm wondering this situation. I want to make a rectangle, and its border can be changed when we hover. I tried search on Google and almost people say I should redraw the rectangle everytime mouse over or out the rectangle to change its border. Like this: But then I ask myself why don't create another rectangle on top of the first rectangle, set it the color we want, make it invisibe and only show it when hover. By doing this we don't have to redraw the original rectangle everytime mouse hover. This is good for optimization, I think. Does anyone can explain me this is good or bad? Thank you for your answer.
  5. maitrungduc1410

    Advanced shape

    Hi everyone, I'm new with PIXI, I'm wondering how to use PIXI to draw a line like this (in the picture). For example, the start point is (100, 100), end point is (700, 700). I see this in a site and I know they use quadraticCurve, but I can't decode that part they draw the line. (I think this can also be done with bezierCurveTo) Does anyone know this can help me? Thank you for your answer