• Content Count

  • Joined

  • Last visited

  • Days Won


PixelPicoSean last won the day on June 8 2019

PixelPicoSean had the most liked content!

1 Follower

About PixelPicoSean

  • Rank
    Advanced Member
  • Birthday 12/03/1990

Contact Methods

  • Website URL
  • Twitter
  • Skype

Profile Information

  • Gender

Recent Profile Visitors

3345 profile views
  1. Phaser 3 and Construct 3 are both great. But you may also "try" something different I made one called "voltar", which used to be called LesserPanda (yeah you may guess it started as a fork of Panda, but has changed over time). https://github.com/pixelpicosean/voltar Voltar is a framework the same as Phaser/Panda but also come with a visual editor (and the editor is called Godot which you may heard of). Major feature of voltar is that it has abilities to import scene/timeline animation/tilemap from Godot engine, and has very similar API to GDScript. So you can clone the engine folder, import Godot project and start editting. When your scene is ready to use, run the import script to convert data into JSON which will then be available from code. And if you like Godot but want to use JavaScript and wish for a very small mobile friendly support, yes this is exactly what I've been making it to. You are not limited to use the editor since the editor only produces JSON and engine load those data "automagically". For now almost all the 2D nodes are supported from Godot, and I've used it for all my contract works since 2018. BTW. UI system is exactly the same as Godot but I did not add theme support yet which I think is not useful for production, so kept it simpler. Physics system is also the same but without RigidBody2D which you may want to have, maybe I will get it done in the future. Feel free to ask me any questions.
  2. 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.
  3. 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.
  4. Your game does not looks so heavy animation-ish, any JavaScript framework should be able to support.
  5. 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.
  6. 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?
  7. 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.
  8. Since you are using impact physics engine, you'd use `this.impact.add.sprite(...)` instead.
  9. Container is exactly what you are looking for. It is still WIP and can be found in the `container` branch.
  10. // 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
  11. 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.
  12. `pixelArt: true` instead of `pixelart: true` ?
  13. In methods of your scene class/object. `this` is exactly the scene instance.
  14. 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); }
  15. 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)