egeres

Members
  • Content count

    3
  • Joined

  • Last visited

About egeres

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Oh thanks ! I saw them in this file and I thought they were functional : https://github.com/photonstorm/phaser/blob/master/v3/merge/input/InputHandler.js An alternative to solve the problem could be using a polygon like in this example : http://labs.phaser.io/view.html?src=src\input\mouse\polygon hit area.js
  2. Hi ! I'm trying to create simple clickable objects in phaser 3 but using the alpha channel to exclude part of the surface from being clickable. So far I've come up with this code : [PASTEBIN] which you can test in the phaser sandbox : http://labs.phaser.io/edit.html The problem is that the image turns red even when the mouse is over parts that have alpha channel, that shouldn't happen with that code : /
  3. egeres

    camera follow glitching physics

    You can easily see what's the issue in this video I recorded : error.avi The problem is that once the camera starts following the player, speed increases and the collisions of the tilemap just doesn't work. My idea is to create a simple platformer, but I want very pixelated textures, so I "zoomed" by rescaling both, the player sprite and the layer of the tilemap. This is the code I'm using : https://pastebin.com/sNZ22tmu And here is the whole project folder : test_game.7z Does anyone has any idea of why this could be happening ?