Implementing animated tiles from Tiled JSON Tilemap files
I have spent some time finding out how to animate tiles in a tile map loaded from a Tiled map exported to JSON. At first I built a utility class called TileMapAnimator (TMA) to animate some tiles...
View ArticleCanvas elements responsive
Hi guys. I am new here and new in canvas gaming development. I want to ask how to change the whole "structure" of a drawn layout according to media queries. E.g. Say we have drawn 3 rectangles of...
View ArticleHow to display what I write inside of a canvas?
What I'm trying to accomplish: First, an image: There is a textbox underneath the 'code' tab - what I want is for all the canvas-related code written inside the HTML to be displayed on the canvas on...
View ArticleEaselJS: Haven problems replacing a bitmap image in a CreateJS Object
I have been haven some problems trying to replace a image in an existing Object. I have a example of the code I am using to do this.. The background image loads and shows on the canvas fine.. But when...
View ArticleEasiest and shorted way to scale whole game
Hi there, First post so sorry if this is in the wrong place. I've been reading posts on this and docs for some time but can't really make sense of it. I starting to learn and teach phaser games to...
View ArticleHow to protect my games?
I want too know if there are any solutions made by Phaser who can protect my ownmade games from stealing the code by example
View ArticleChoosing a library, server language, general stuff
Helloes. Important game points Toss up between top down rpg/adventure (snes zelda, secret of mana) with management games Should have quasy multiplayer, meaning that client deals with representation...
View ArticleText based game
Hello, I was thinking about making a text based game. A hybrid of classics like Zork or Hobbit and point and click games. You would get a description of world in text and stuff that you could interact...
View ArticleSaving and Loading
I have been working on a game in javascript, and I'm stuck as to how to handle saving and loading. I want to ultimately publish it both as an online browser game and as a downloadable desktop...
View Articlegemmatch example
I have been looking at this: http://phaser.io/examples/v2/games/gemmatch example. The columns and rows are positioned starting at the game origin, which can cause the sprites to appear off centre,...
View ArticleCurious how to add sloping tiles using Phaser.js Arcade Physics
Hello everyone,I've been looking in to how one might create sloping tiles in Phaser.js and its Arcade physics engine. From what I've done so far, I just basically have two squares moving through the...
View ArticleWhat type of controls to use in a game I am making
The title might be a bit misleading but that was the best I could come up with. So now to the main part. I am having a hard time making the controls for a game which was inspired by Ball Wars By...
View ArticleError in animations
Hi, im new in phaser i have an error in animations when i press de right key i doesnt play the animation.
View ArticleGame won't start
Hello. I am trying to create an HTML5 copy of Super Mario Bros for my school and decided to do it with game.states with the Phaser library since it seemed like the easiest way to go. Now for some...
View ArticleHow to use collision in phaser
I've been trying to get my collision to work in phaser, I created my map in tiled so as far as i know i'm you use something like this "map.setCollisionBetween(264, 265, true, 'foreground');" I got the...
View ArticleHTML5 Maze Game
I am a grade 10 student. I had to create a HTML5 maze game for my design project. However, my product didn't work. I want to know what the problem is. This is the code I wrote: <html>...
View ArticleWhere to get game assets?
Hi all. I am just now beginning to learn the Phaser game engine. I was just wondering how people get the assets for their Phaser games? I know engines like Unity and Unreal have an asset store...
View ArticleCanvas2D: FillText Memory Leak (Google Chrome)
Hello, I am struggling with a memory leak which migth be related to Canvas2D fillText function. There is already a bug report available: https://bugs.chromium.org/p/chromium/issues/detail?id=703297...
View Articleis the Phaser 2 repo closed?
I was about to file a bug report on gitHub and saw a notice that the repo is for Phaser 3 related issues only. So, is the Phaser 2 repo closed? The bug relates to the beginFill(...) and arc(...,...
View Articlerendering glitches, "doubled" assets on character movement
i am trying to figure out why assets sometimes “double” when character moves quickly. i think it’s probably a problem in gameLoop() or draw() but i can’t figure out where. i want the player to move...
View Article