PixelPicoSean

Members
  • Content Count

    277
  • Joined

  • Last visited

  • Days Won

    4

PixelPicoSean last won the day on June 8

PixelPicoSean had the most liked content!

1 Follower

About PixelPicoSean

  • Rank
    Advanced Member
  • Birthday 12/03/1990

Contact Methods

  • Website URL
    https://pixelpicosean.tumblr.com/
  • Twitter
    PixelPicoSean
  • Skype
    PixelPicoSean

Profile Information

  • Gender
    Male

Recent Profile Visitors

2914 profile views
  1. You can find a tool to generate JSON file and write a custom PIXI loader for it. I've done similar stuff, here's my in-house framework: https://github.com/pixelpicosean/voltar It is PIXI based, and I have scripts to convert Godot scenes into JSON and load. I've gone that way too far, even heavily modified PIXI to support this workflow though. You can do same thing without modify PIXI at all, only write scripts for features you want (layout with containers/sprites) which I think is fairly easy.
  2. CrossCode is written in impact.js as I remember. They've made tons of changes to the engine for better performance (and even a component system) and some in-house tools, so they may already made the game data driven and can be easily hand port into C++ since most contents are portable JSON data.
  3. Your game does not looks so heavy animation-ish, any JavaScript framework should be able to support.
  4. Thank you all for the reply, I am trying the preserveDrawingBuffer fix and see whether it works. The phone that has this issues is Zenphone Z00VD.
  5. Hi I just built a game with Phaser3 (3.10.1) and wrapped with cordova crosswalk (2.4.0), the screen keeps blinking while running on some Android devices. It works pretty well on most devices and even without any issue in the browser instead of cordova from same device. Anyone has similar experience?
  6. Yes you can use "tilePositionX = -camera.scrollX" just like that, but for a parallel background I think you can simply set "scrollFactorX" of it instead.
  7. Since you are using impact physics engine, you'd use `this.impact.add.sprite(...)` instead.
  8. Container is exactly what you are looking for. It is still WIP and can be found in the `container` branch.
  9. // your collision tile id is 3 collisionLayer.setCollisionBetween(3, 3); // or use setCollision method collisionLayer.setCollision([3], true); // the same methods can also be called from tilemap instance
  10. The matter render system is not used in Phaser3. You can take a look at how the debug drawing work, and use graphics to draw the shape manually.
  11. `pixelArt: true` instead of `pixelart: true` ?
  12. In methods of your scene class/object. `this` is exactly the scene instance.
  13. PixelPicoSean

    Load tilemap

    function preload(){ this.load.image('gameTiles', 'tiles_spritesheet.png'); this.load.tilemapTiledJSON('level1', 'map.json'); } function create(){ this.map = this.add.tilemap('level1'); var tileset = this.map.addTilesetImage('tiles_spritesheet','gameTiles'); this.backgroundLayer = this.map.createLayer('backgroundLayer', tileset); }
  14. Game instance should not be used for creating objects and input event handling, use the scene instead. // Create objects from a method of scene this.add.sprite(...) // Subscribe to input events of a scene this.input.on('pointerdown', function(event) {}, this)
  15. Take a look at the collision filter example: http://labs.phaser.io/view.html?src=src\physics\matterjs\collision%20filter.js