Quantcast
Channel: 2D Latest Topics
Browsing all 623 articles
Browse latest View live

Character Customization Idea

I have this idea for creating a character customization system.  The system would be implemented as follows. 1) Organize a base template sprite sheet with character components arranged in a...

View Article


Can anyone help with this phaser example?

I've follow the example in phaser.io but my star didn't appear. Does in my codes have mystake? Can you help me find the problem? Thaanks   This my Code...   main.js

View Article


Pokemon with Superheroes

Hi everyone, I'm interested in making a top-down 2d RPG which is Pokemon with superheroes, similar in idea to Marvel Avengers Alliance,  but less of a circa 2011 click-and-wait fest. I'm considering...

View Article

Can we make a multiplayer game without a remote server?

Hello, I started to use socket.io, express and phaser to make multiplayer games. I followed this tutorial: https://phaser.io/news/2017/03/socketio-multiplayer-tutorial and I used Heroku to host and...

View Article

Image may be NSFW.
Clik here to view.

DrawImage problem adjacent sprite ?

Hi, Context I'm building a 2D game from scratch in JS. I'm drawing the map by using rpgmxp tilesets for the moment just to have some resources : Each tile is 32*32 pixels. I'm using canvas API with...

View Article


Blockly Plugin

Hello to the forum, I am new to the phaser, so I would like to ask you if there is the blockly as a plugin to the phaser. I would like to implement it to my game. Regards Johny

View Article

Image may be NSFW.
Clik here to view.

How This Will work?

  I think I will use time loop event and some rndX but i confused how to implement it to my code. I want the rock sticky on the platform so i use phaser arcade mode  I want to make it but have no...

View Article

Image may be NSFW.
Clik here to view.

SET BOUND BOTTOM AND TOP

I use this function to set bounds   this.game.world.setBounds(0, 0, gameOptions.gameWidth - 20, gameOptions.gameHeight - 20) But this only set bound from bottom to top. What i want to do is set the...

View Article


Wrong coordinates for hitArea after scaling to mobile devices

Hi everyone,  I have problem with scalling to mobile devices in phaser. I mean, every graphic in my app on PC is scalling correct on mobile devices and everything look perfect, but hitArea on sprites...

View Article


Create player in one file and props in another

Is there a way to create sprite from multiple files ?  Like creating a sprite : Knight in 'knight.js' and creating his movement in 'movement.js' is this possible :   // knight.js import Phaser from...

View Article

Image may be NSFW.
Clik here to view.

blend mode webgl

hello, I have a little probleme and i can't find things about this. I want to activate transparancy of my png, I have already activated gl.BLEND and disactivated gl.DEPTH_TEST but it still does't work...

View Article

Spirit animation not working - JS, Socket io, Express

Hi, I have been struggling with a minor issue, that I'm hoping someone can help me out with. I have a multiplayer game that uses Express and Socket io. When a new player logs into the game, the player...

View Article

Need help with plane game

Hi guys, First time poster here, I am making a flying plane game with a scrolling background (1920x1080), there is also a banner at the top with some stats. I want to be able to have it in my game as...

View Article


one object several groups

is it possible to put one object in several gruops ? any chance for a side effects? 

View Article

Sprite move slower on mobile with Game.physics.arcade.moveToXY

Hello,  When I move a sprite with Game.physics.arcade.moveToXY the sprite move about 3 times slower on mobile (chrome) then on PC.  I've tried setting a speed and setting a maxTime but same result....

View Article


which audio format do you use for mobile?

Originally I used all mp3s around 180 kbps, but I often get feedback from users that some audio doesn't play, or gets cut off. For audio less than 1 second, I want to switch to an uncompressed file,...

View Article

Anyone Using Redux with Phaser?

So I started a project in es5 javascript and put everything in one huge game file. This quickly became hard to manage so I decided to use ES6 Javascript and break things out into their own classes....

View Article


Image may be NSFW.
Clik here to view.

Brick Breaker - Choppy effect

Hi everybody, I started recently playing with game coding using Phaser. This is really a nice framework. My first project is a simple (and opensource) brick breaker you can find out at...

View Article

Distorting textured objects - ideas required

Hello, although I don't have enough spare time to create games at the moment, I'm playing a bit around with code to understand game mechanics. At the moment I'm teaching myself soft body dynamics. I...

View Article

Phaser 2 vs pixi vs Phaser 3 (amount of sprites per screen)

Hey! Did anybody compare Phaser and pixi for performance? We're going to make isometric game. bottom line is about objects you could render per screen. What do you think? What to choose? Phaser 2,...

View Article
Browsing all 623 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>