tywang2006

Members
  • Content count

    76
  • Joined

  • Last visited

About tywang2006

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Shanghai
  1. Advise - Phaser/OpenFL/Something Else

    For as2, there are many code put on the frame of timeline in fla files. I suggest you get some proper dev to work out for you.
  2. parsing JSON in firefox fails

    I bet it was unicode issue. do UTF converting firstly then check no weird charactor code
  3. Pixi.JS / Pan & Zoom Canvas

    yeah, you can have a global transform to append others underneath.
  4. How pixi works in class ?

    wheel is only available when all assets is loaded. so you need to do if(this.wheel) this.wheel.rotation += 0.1;
  5. Check if sprite on-screen

    I think you can define your render area as the windows size, for rest sprites off screen, you just do them as normal. when they are off screen, they wont be rendered so the performance shouldn't be a problem. I bet the performance is due to your massive word especial your background. it will be challenge for gpu. maybe you can check tilemap.
  6. PIXI, sounds and Typescript

    I am using howler, which is fine for typescript.
  7. pixi-lights for v4?

    I did see finscn's one, it is very nice. but that is an experiment. I can't really use for commercial product. Maybe i need to work out my own.
  8. pixi-lights for v4?

    All of my dear friends here, do you know if pixi-lights is supported with v4 pixi?
  9. Text.cacheAsBitmap=true cuts off the text

    why not show text instead. in text, all characters is sprite. not any benefit from cachasbitmap.
  10. Parsing text and inserting images

    100% agree with you. I hate it so I disable it. annoy
  11. Bad performance on 4k/retina displays

    I don't think it is related to refresh rate of the monitor
  12. Bad performance on 4k/retina displays

    Try open the example in one tab, remove rest tabs in your browser, then see what happened.
  13. Bad performance on 4k/retina displays

    i dont know what you have done, I did the game in 4k screen with very hd textures. all is running at 60 fps. You need to implement delta time for you transform or animation. and make sure not open too many webgl content in the browser at the same time, which your delta time will make your animation running same speed even the fps drops. don't scale the content in css otherwise your scene will be blur. please scale your game scene in PIXI. Hopefull those make sense to you
  14. how to user pixi timer or eventemitter?

    import PIXI from 'pixi.min.js'
  15. Does pixi have native SVG support

    will try that, how is that performance?