Allow for dragging the page on canvas on mobile
On mobile, when you want to scroll the page, you drag screen with one finger. However, when your finger is on canvas, you can't drag the page. If a canvas covers whole screen, there is no way to...
View ArticleHelp with controlling spritesheet with arrow keys
Hi, new to the forums, as well as new to coding. Started learning about a month ago. I need help with my javascript code, I want to be able to use the arrow keys to move my character up, right, down,...
View ArticleHelp to create app
Hi, I want to create a program for android for myself, this will be a mini guide to the game Heroes 3. But I just started to study the code and I need your help. I want to do the same as in the photo,...
View ArticleImage Angle/Rotation Wrong????
Hello fellow HTML5 Game Devs. I have an interesting problem I am testing out some controls and different schemes for my game. I have an image of a fighter. It uses the arcade physics mode. When I...
View ArticleQuery regarding Animation in HTML5
Hi, I am trying to control the motion of image with Pause & Play buttons in HTML5. I mean when the image is moving, I should be able to control its motion by using pause and play buttons using...
View ArticlePhaser Game Lag In Mobile
Hi, I am new to phaser as well as game designing. I created my first game as hobby using phaser. it is working fine in desktop but lags very bad on mobile devices. Images I am using for game is very...
View ArticleAre Collisions detected if an object is invisible?
Very new to Phaser and reading as much as I can before committing to using it as my game development system. My goal is to alternate views, a bit like VR, from one eye to the other. I have done this...
View ArticleComputer keeps drawing square.
So I'm testing out collision and keyboard input right now and my application looks like this: When I press and WASD key, I get this: As you can see, it keeps drawing the square over and over. Here...
View ArticleCollision Trouble
So I'm making a prototype for a game, and I want to add a collision system to it. I have the detection part down: function checkCollision(rect1, rect2) { if (rect1.x < rect2.x + rect2.width...
View ArticleVisible spacing between tiles on tilemap
Hi there. Apologies if this has been asked before but I couldn't find an answer. I'm looking to create a visible grid on a layer of a tilemap. I could draw 2d lines on top of the layer but I'd much...
View ArticleUWP JavaScript keyboard bug
I'm developing simple game in TypeScript and HTML5 using Phaser. It is targeting to all major platforms (Android, IOS and UWP) and standalone web page. I've added basic keyboard implementation for...
View ArticleUnity Web Exporter?
Has the Unity web exporter improved in the last year? Thinking about using it for a project but the last time I checked it wasn't fit for purpose..
View ArticleFree Open Source Game Art App & Editor
Greetings all - I've been working on an SVG editor and variations generator for some time, and I finally launched the beta this week - we have some really beautiful game art - over 500 of the CC0...
View ArticleHow Would I Move My Player?
So I created a player object: function Player(x, y, width, height, speed, context) { this.x = x; this.y = y; this.width = width; this.height = height; this.speed = speed; this.create = function() {...
View ArticleNative JS: Blending two images together using a bitmask
Hi all - new to the forum! I've been working on something recently and had to use a bit of a wonky (slow) workaround to get the desired effect and was wondering whether anyone here had had the same...
View ArticlePlayniax game engine
Hi guys,This will be the place where I will keep you up to date you on the latest Playniax game engine called Pyro! You can find it onitch.io Pyro is ideal for building 2D games and other interactive...
View ArticleWhat's wrong with the cursor position?
I'm testing some stuff in javascript, including getting the mouse position when in a canvas. I decided to try something; I wanted to draw a rectangle at the position the mouse clicked on, but when I...
View ArticleClear rect on click acting funny.
https://jsfiddle.net/Static_Cloud/0oc9L2nd/ What I'm trying to accomplish: I want each square to disappear and get added to my 'inventory': (When I create the squares and add them to the items list...
View ArticleRTS Game
Hello colleagues, it is a pleasure to greet you and introduce me as I have just joined this community and I do not want to create this post without first introducing myself, my name is daniel...
View ArticleInventory system in point and click game.
I'm currently experimenting making an inventory system in JavaScript in preparation for hopefully making a point and click game. I've tried a few approaches, but they did not work, at least not well...
View Article