bubamara

Members
  • Content count

    150
  • Joined

  • Last visited

1 Follower

About bubamara

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://www.enea.sk
  • Twitter
    EneaGames

Profile Information

  • Gender
    Not Telling
  • Location
    Slovakia

Recent Profile Visitors

1,006 profile views
  1. Performance

    there is also raised issue on github https://github.com/pixijs/pixi.js/issues/4371 for me personaly iOS11 works fine on several devices while some others are experiencding FPS drops
  2. Strange Text Outlines? - Trying To Polish Beta1...

    http://pixijs.download/release/docs/PIXI.TextStyle.html The lineJoin property sets the type of corner created, it can resolve spiked text issues. Default is 'miter' (creates a sharp corner). try 'round'
  3. Drag from point which was clicked

    agree, examples should be more friendly to newcomers
  4. Drag from point which was clicked

    the reason why bunny pops to cursor position is bunny's anchor point. You need to store offset and use it while dragging bunny function onDragStart(event) { // store a reference to the data // the reason for this is because of multitouch // we want to track the movement of this particular touch this.data = event.data; this.alpha = 0.5; this.dragging = true; this.offX = this.x - this.data.getLocalPosition(this.parent).x; this.offY = this.y - this.data.getLocalPosition(this.parent).y; } function onDragMove() { if (this.dragging) { var newPosition = this.data.getLocalPosition(this.parent); this.x = newPosition.x + this.offX; this.y = newPosition.y + this.offY; } }
  5. Confused About Pre-Loading PNG Image Sprites...

    it comes from PIXI.loader : http://pixijs.download/dev/docs/PIXI.loaders.Loader.html PIXI.loader .add("images/treasureHunter.json") .load(setup); function setup(loader, resources) { var id = resources["images/treasureHunter.json"].textures; // object with generated textures (dungeon.png, door.png, ..) console.log(id); }
  6. Procedural Generated 2D Starfield

    one or two layers of tiling sprites could do the trick. you can move background layer slowly than the layer above it -> nice parallax effect
  7. iOS soft fullscreen. How?

    use the damn brim it does everything for you
  8. iOS soft fullscreen. How?

    minimal-ui viewport property isn't there since iOS8 don't know what the game you linked is using, but there is : https://github.com/gajus/brim which you can use
  9. Number of draw call

    there is an extension for chrome WebGL inspector: https://chrome.google.com/webstore/detail/webgl-inspector/ogkcjmbhnfmlnielkjhedpcjomeaghda?hl=en it can show you used textures, buffers, programs and also draw calls
  10. I'm starting a new documented journey in the world of games.

    Glad you didn't give up, fingers crossed!
  11. Strange Sprite Outline Filter Artifact

    try increase filter.padding = 10;
  12. Pixi Sprite children z-index

    no, children are positioned above their parent. wrap gun & bunny into container var app = new PIXI.Application(800, 600, {backgroundColor : 0x1099bb}); document.body.appendChild(app.view); var bunnyContainer = new PIXI.Container(); bunnyContainer.x = app.renderer.width / 2; bunnyContainer.y = app.renderer.height / 2; app.stage.addChild(bunnyContainer); // gun var gun = PIXI.Sprite.fromImage('required/assets/basics/bunny.png') gun.tint = 0xFF0000; bunnyContainer.addChild(gun); // create a new Sprite from an image path var bunny = PIXI.Sprite.fromImage('required/assets/basics/bunny.png') bunny.anchor.set(0.5); bunnyContainer.addChild(bunny); // Listen for animate update app.ticker.add(function(delta) { bunnyContainer.rotation += 0.03 * delta; // just for fun, let's rotate mr rabbit a little // delta is 1 if running at 100% performance // creates frame-independent tranformation });
  13. Sound Libs - SoundJS vs ?

    I'm satisfied with Howler, using it in production - https://github.com/goldfire/howler.js/
  14. Help a noob!

    Maybe you can look at Chat Mapper. It's not free, but it's perfect for the job. If you'll be happy with their built-in HTML player, no coding is required at all. Or you can make story and dialogs in Chat Mapper (it exports json file) and use Pixi/Phaser for some visual effects.
  15. How to win at PIXI.extras.BitmapText ?

    which format are you using? sparrow/starling is the correct one