Seby

Members
  • Content Count

    29
  • Joined

  • Last visited

About Seby

  • Rank
    Member
  • Birthday 01/23/1988

Contact Methods

  • Website URL
    http://www.dhumez-sebastien.com
  • Twitter
    Delestya
  • Skype
    Ayolan-Seby

Profile Information

  • Gender
    Male
  • Location
    France
  • 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 : http://pixijs.github.io/examples/index.html?s=basics&f=graphics.js&title=Graphics&v=v3.0.2
  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); graphics.click = 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); graphics.click = 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 : renderer.view.style.width = window.innerWidth + "px";renderer.view.style.height =window.innerHeight + "px";
  15. On an isometric RPG Prototype