Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 156680

JavaScript is a versatile, high-level programming language. It is the programming language in all browsers.and can be used for back-end programming with node.js. Use this tag for questions regarding vanilla JavaScript; optionally tagged with an ECMAScript version. If you are using a preprocessor such as TypeScript please tag with that too.

4 votes
3 answers
165 views

Javascript function to get cellId from map point

I wrote this, and I would like to know if this code is clean. It lets me know if a point is in the middle of an isometric cell. const getMapPointFromCellId = cellId => { var {x, y} = getCoordin …
ken's user avatar
  • 97
0 votes
1 answer
87 views

Simplify this function which finds the coordinates of the neighbors of an isometric cell

I would like to simplify and optimize this function which finds me the neighbors of a cell thanks to cartesian coordinates of a cell Id const getNeighborsCellId = cellId => { const neighbors = [] …
ken's user avatar
  • 97
1 vote
1 answer
109 views

Manager for image and JSON assets of a game

I would like to know what you think of this assets manager for a game. If it can be optimized or simplified? It allows you to download sprites, tiles, json files, and other images. const images = {}; …
ken's user avatar
  • 97