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

Basic tilemap collision.

Can someone help me with basic tile map collision ?  I've been looking for days and I can't find a good solution.  Got a tilemap layer with a grid filled with 0's and 1's and the player's position.  I...

View Article


Image may be NSFW.
Clik here to view.

Get coordinates of transformed container in pixijs

Hi everyone, Hi Ivan,  First of all thanks to Ivan for answering all our questios without loosing your mind . What I have is a  sprite (ship) with child container (weapon anchor). Now I want to draw a...

View Article


Need advice

Hi guys. Here we are thinking about developing a simple game. The idea is such an online RPG with grind, in which there will be significant interaction between users, chat, trading etc. Without...

View Article

How to set the first frame in creatjs?

I'm making a menu for a game where the player will choose a level. For completing a level, the player will receive stars: one, two, three, depending on how the level was completed. Now I was able to...

View Article

I wrote a 2D camera library in TypeScript, where aim/movement and cues have...

Hello community, long-time reader, first time poster. I thought I'd start by sharing something I've been working on recently: PixlCam is a library inspired by the camera from Insanely Twisted Shadow...

View Article


Looking for recruit members to a team

Hello we are looking to recruit members to a team for a game built with JS client and C#. The game is basically a virtual world where you can dress up your characters and explore the game to meet new...

View Article

How do I create a Sliter.io clone in React.js?

Hi, I want to create the clone of slither.io game in react.js for web browsers. Can someone tell me detailed guid on how should I proceed and what tech stack will I need, should I use class-based...

View Article

[WEB] Trying to create an black overlay on top of gamescene

Hello,   I'm trying to create a black overlay on top of gamescene BUT for certain elements/containers/sprites from within the stage I would like to be on top of that overlay.  First I've tried to...

View Article


Image may be NSFW.
Clik here to view.

js, css - animation

Нужно сделать анимированное меню с шариками. Как здесь: http://79.110.52.43/ На ванилла js. Сторонние либы и фреймворки использовать нельзя. Только базовый jquery. Я посмотрел, там сделано на canvas....

View Article


HTML5 Canvas interactive animations of menu with bubbles

Need make animated menu with bubbles. Like here: http://79.110.52.43/ On vanilla js. Third-party libs and frameworks cannot be used.  Only base jquery. I looked, it's done on canvas. Need...

View Article

Image may be NSFW.
Clik here to view.

Create a canvas with 1 million 1x1 pixel squares

Hi, I'm new to the world of game dev but what I am trying to accomplish seems simple enough I just don't know how to go about it. I want to create a canvas area for now of 1,000 pixels by 1,000...

View Article

Thoughts on final design for noBackend cross-device platform for turn based...

Hey guys,  tldr: I'd love to know if any of you would be interested in a noBackend solution for turn based games. For you (as a game dev) that would mean just program 2 files for a game: client.js...

View Article

Image may be NSFW.
Clik here to view.

Formula to Calculate Exponential Curves?

Im messing around in HTML5 Canvas which uses Javascript to draw to the Canvas.  The Canvas is being used to display an RPG Character attribute over the number of levels.  Making a Linear Slope...

View Article


Collision detection between rotated images

I have two Rotated images that rotate at a random degree and I want to know when they collide with each other. I tried a simple collision detection for rectangles but it doesn't work when they are...

View Article

PunkPattern, an "alternative" to Flash

The concept is very "roots", you work like with the old MS-DOS VGA: change the screen pixels colors with your own graphics algorithm, and compute audioStream waves with your own algorithms....

View Article


[webGL] A small class simulating oldschool 2D hardware.

Hi, i made a javascript prototype i will port to c++, I give it to community to helps beginners with 2d rendering: tilemaps, sprites, scanlines, palettes. http://punkcoders.free.fr/glbm/ 

View Article

A little JavaScript pixel collision test demo

Hi all! For fun I created a little demo of using bit masks for pixel perfect sprite collision, and auto-building these masks from existing sprite PNG images:...

View Article


Best framework for an Isometric game. Pros and cons

I have been doing a research and want to share what I have found out. I have come across three major HTML5 libraries that would suit the needs of an isometric game. I hope the resources and insights...

View Article

Which Software is need to make 2d games?

Hi All, I hope you all doing good and I hope there is no issue to post here, as I am newbie I am here to know which is the best software or you can which software I need to make a 2D games like mini...

View Article

Load all assets

I want to load before game all assets, but I must give an array of assets path, is there any way? I have lots of assets and fs library can not use client side. I use this one, but I got an error of...

View Article
Browsing all 623 articles
Browse latest View live


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