• Content Count

  • Joined

  • Last visited

About Seby

  • Rank
  • Birthday 01/23/1988

Contact Methods

  • Website URL
  • Twitter
  • Skype

Profile Information

  • Gender
  • Location
  • Interests
    HTML5, Javascript, Sails.js, Pixi.js, Pomelo.js
  1. Seby

    Rectangle (or polygon) mouse over and mouse out?

    You must add your rrectangle in stage, look examples :
  2. Working on Ayolan-Editor build with Pixi.js

  3. Seby

    v3 loader

    How i can clean cache of loader? I use that : delete (PIXI.loader.resources['myJsonData']);That's correct? I'm making game and i load map with PIXI.loader. I don't wanna store all map in cache.
  4. Ok! That's was i thinking. Thanks
  5. Hi, i've a simple question, i use the array "children" of DisplayObjectContainer to store others DisplayObjectContainer. You think is bad?
  6. Hi, i've make fadeIn, fadeOut and wait function (based on JQuery) for your scenes And you can use it in you scene on : this.logo.fadeIn(5000).wait(1000).fadeOut(5000, function () { ScenesManager.goToScene('GameMenu'); });
  7. Seby

    PeepsQuest Pixi.js Tutorials

    That's great tutorial to begin in 2D iso
  8. Seby

    DisplayObjectContainer and interactivity

    Hm, i'm sorry but i have try too and cannot get it... I do in 1 week ago :s That's great for polygon but you forgot the [] // hitArea for isometric TilesTile.hitArea = new PIXI.Polygon([new PIXI.Point(64, 32),new PIXI.Point(128, 64),new PIXI.Point(64, 96),new PIXI.Point(0, 64)]);
  9. Seby

    Graphics and Interactivity

    Oh yeah Thanks Enpu
  10. Seby

    Graphics and Interactivity

    Hi, I think i've found a new mini bug This code doesn't work : var graphics = new PIXI.Graphics(); graphics.beginFill(0xFFFF00); // set the line style to have a width of 5 and set the color to red graphics.lineStyle(5, 0xFF0000); // draw a rectangle graphics.drawRect(100, 150, 50, 50); // make the button interactive.. graphics.setInteractive(true); = function(data){ console.log('hit rect'); } But this... work correctly var graphics = new PIXI.Sprite(textureButton); graphics.position.x = 100; graphics.position.y = 100; // make the button interactive.. graphics.setInteractive(true); = function(data){ console.log('hit rect'); }
  11. Seby

    DisplayObjectContainer and interactivity

    Héhé Sorry for hitArea but now work correctly, i don't no why... But now i need to set an hitPolygonarea
  12. Seby

    DisplayObjectContainer and interactivity

    I try to set an hit area less huge than the image size. y image : 64-96px this.myCont.hitArea = new PIXI.Rectangle(10, 10, 20, 50); And i can't reduce the size of hitArea. Other question, can we use a Polygon to set the hitArea?
  13. Seby

    TilingSprite resize

    Sorry I'm just french and english is a bit hard for me
  14. Seby

    TilingSprite resize

    If you want resize the size of the View port : = window.innerWidth + "px"; =window.innerHeight + "px";
  15. On an isometric RPG Prototype