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

Image may be NSFW.
Clik here to view.

DispatchEvent error

i have make an button object inside which event listener , enable, disable activity is being done and when i m making an object of button inside the another object i.e., ui.js then it is showing...

View Article


How to make Vanilla JavaScript game mobile friendly

Hi all I have a question on hot to make a desktop browser game mobile friendly, ie, be able to use touch gestures. I recently published my Breakout based browser game: And now I plan to make a few...

View Article


cant see my png on screen if i use an array of canvases

this is my exact code, a single html file. same folder has snake0 to 17 .png (animation). I want 18 canvases (I guess each needs a context, so 18 of those too). mainly so I can rotate them if facing...

View Article

requestAnimation frame performance

Hello everyone, I'm trying to implement simple game.  I use canvas 2d, but I've met performance problems in chrome, you can see it on the video between 2-5s Simple example of code:...

View Article

Need help with smooth movement animation in tile snake game

Hey guys,  Sorry if it is trivial stuff, but I have not found any solution to this issue anywhere.   What I have: I have a snake grid-based game with enemies which could move as well. Snake speed can...

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

creating platforms via an array need help making them immovable

Hi, I am working on a phaser project in where the platforms are randomly generated. I followed:    but now I'm having an issue making the platforms immovable, getting an undefined error:...

View Article

Image may be NSFW.
Clik here to view.

OkijinGames Visual Fx

Hi Guys, Recently I found two games from Okijin Games with a nice vfx. Take a look: When two pieces connects, the texture become one with a cool animated inner-glow. In this game, the same effect but...

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


New online Pixel Art Editor webapp - Pixel Editor Pro

Hey guys, Don't know if anyone's interested, but I've been working on a pixel art editing webapp that might be useful for game devs looking to create some pixel art or tiles or bitmaps. It's called...

View Article

Is it a good idea to add Music to online games?

I notice most online games don't have a background music when playing. Even if they do, it is only in menu. Will music make the game more fun? Or will it have negative effects? Like when the user is...

View Article

[Help] creating a login session

I am creating a game and want user logins. I am using Node, socket, and MySQL. What do I need so that when a user log's in they don't need to login again?  

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


Where 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 Article

Why do two websocket messages seemingly show up at the same time?

I have multiple servers in multiple locations. I need to get the frequency at which the websocket messages are received. When I connect to a low-latency server, the frequency is normal (50 - 60 ms)....

View Article


My JS Function Returns NaN

Hi, I'm coding a game in JavaScript. Below is my function for converting coordinates on my tilemap into pixals, so that I can do things that aren't restricted to the tilemap. (Projectiles, in this...

View Article

I need guidance with the web framework 'quart' (more specifically websockets)

I am working with quart websockets, the server sends out messages 40 times per second. But on the client, it seems most the messages are received at the same time. I have a suspicion that Nagle's...

View Article


Image may be NSFW.
Clik here to view.

Comission Art from 10$

I am open for commission.  I have a variety of different styles realistic or semi-realistic and we can negotiate a fair price. My prices starting from 10$ I'm very friendly. Feel free to ask any...

View Article

Free 2D Game Art for Your Projects

Hi everyone, I’ve begun creating 2D game art that you are welcome to freely use in your projects. Some is pixel art, some is derived from 3D objects that I created, and others are backgrounds that...

View Article

Canvas game collision help

I need help with my collisions. Sometimes it works perfect  but other times it will count as a point even when you dont hit the coin. Still learning js so forgive my crappy code.      <!DOCTYPE...

View Article
Browsing all 623 articles
Browse latest View live


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