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

First time creator, not sure what the next steps are?

Hello friends! I am extremely new to the HTML5 game dev scene and I would love a little bit of extra guidance. I've tried to google my way through but it's hard to research something that you're.. not...

View Article


Question about requestAnimationFrame

Hi everone, another newbie HTML5 and Javascript  question.   I was checking the source code in chrome for this walking character: http://atomicrobotdesign.com/blog_media/sprite_movement/index.html...

View Article


question about local and global scope

I am very confused and I hope below makes sense. The first time I ran these two functions - the first called globalScope, returned 'window'in the console and the second called  localScope, returned...

View Article

uncaught type error in game loop

I have this slice of code which works but is throwing an error in the console. Uncaught type error. Cannot read property of x at undefined. I am using the game loop to move a sprite on its x and y...

View Article

Javascript PutImageData(GetImageData) pixel limit

I use putImageData and getImageData functions in my project. But I think I came across a limit when using them. I searched but could not find any information about it. There seems to be a limit of...

View Article


Interpolation and Smoothing Gradients

Hi, I have a 200 * 200 painting. I want to enlarge this picture (eg 1200 * 700). of course by preserving the image quality. I learned that the way to do this is interpolation. I use the OpenCV.js...

View Article

Newbie question Mixing pixijs with vanilla javascript

Hi all,  I am new to coding. I am currently working my way through Game Design with HTML5 and Javascript by Rex Van Der Spuy. I have a real newbie question. Can I mix the vanilla java script...

View Article

Converting spriter JSON to spine format for Phaser

Does anyone know of a tool or way to convert spriter scon format JSON into Spine format for use in Phaser  (or even a way to use spriter's .scon files directly in Phaser)?

View Article


Isometric - Pathfinding Framework « EasyStar JS » doesn’t work for me

Hello guys,  Sorry for my english, i’m not a english native speaker. I’m tryng to make my own Habbo Retro in HTML5 to train my web skills, I have successfully created the map with a 2D array but now...

View Article


Question of melonjs scale method

Hi, I have a beginner's question about melonjs.   If I run '<any sprite object>.scale(2);', then the sprite will move a little to the upper left on the screen, and the sprite's appearance will...

View Article

Hello I'm new, Is there a way Someone can teach me?

Hi I'm new, I have been interested into making a hide and seek mini game. Like the Dad looks for the kid. You place down bushes and trees and you click on it. Once you beat it. IT's like a small...

View Article

Phaser discussion

hello i have a few questions for anyone who knows about phaser 3. I have been working on making an rpg game using phaser 3 and i dont know how to: 1. switch tilemaps once i get to a certain place on...

View Article

Usage of Planck.js with TypeScript (Planck.js is a port of Box2D Physics Engine)

My example shows how to use Planck.js with TypeScript in Debug and Release modes: hello-planckjs-webgl10-ts You should install these modules globally: npm i typescript -g npm i browserify -g npm i...

View Article


Question: PixieJS or Phaser.io?

Hi everyone! I was wondering which HTML 5 game engine is better PixieJS or Phaser.io? Links: Phaser.io: https://phaser.io PixieJS: https://www.pixijs.com

View Article

basketball.io

plz accept my work this game is going to be fun!!! basketball.io a 2d multiplayer game related to soldat.io but basketball controls are wads or arrows  to fly u right click on mouse  the player will...

View Article


shooting.io

this game is a 2d multiplayer game related to soldat.io where u can play modes and level up the level is based upon your skill  experience u will be playing as a guest until you register and sign in...

View Article

Simplest framework/lib for a tiled map?

Hi, I'm prototyping a turn-based strategy game and I would need the display a the world map as tiles (orthogonal, isometric, hexagonal, I don't care at the moment, I will go the easier way...) The...

View Article


Help creating Jackbox-like game with html5, nodes and sockets

I posted a response in a thread that had some applicable information to it, but it never got a response and I have questions, so this is sort of a re-post. I've created an HTML5 clone of a game I saw...

View Article

Farming Game Tutorial?

Hey all, To cut to the chase, I'm building a chrome extension that adds a little farm to the bottom of the screen using javascript and css. I've already gotten it working so that it loads the ground...

View Article

Map world size question

Hi guys I am playing around with phaser 3 and came up with a few questions regarding map and world design. 1. Is there a recommended size when it comes down to loading maps into game? 2. Should I be...

View Article
Browsing all 623 articles
Browse latest View live


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