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 12270

"JavaScript (sometimes abbreviated JS) is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles." From Wikipedia. http://en.wikipedia.org/wiki/JavaScript

2 votes
Accepted

How to perform efficient 2D picking in HTML5?

As Steven Stadnicki suggested in his comment, and what is also suggested in a related question over at stackoverflow, just do a linear search without any hierarchy.
Tapio's user avatar
  • 2,637
1 vote

Managing text-maps in a 2D array on to be painted on HTML5 Canvas

An easy way to keep track of the IDs would be to simply use another 2d array with them in: by only maintaining x,y on that "meta array", you can easily look up the other IDs. That being said, here's …
Tapio's user avatar
  • 2,637
6 votes
Accepted

Realtime multi-player game design principles for Node.js

Principles for reducing effects of lags are the same regardless of the transport protocol. Packet loss is a another topic - for many kinds of packets losing some is not critical because the next upda …
Tapio's user avatar
  • 2,637
12 votes
Accepted

Javascript and PHP for real-time multiplayer?

Using node.js here has the advantage that you can use the same JavaScript API on both ends of the pipe. … I myself find node.js very easy to pick up and since you are going to need to code quite a bit of JavaScript anyway, I'd recommend you try it. …
Tapio's user avatar
  • 2,637
5 votes
Accepted

Good technological solutions to build an ascii map and moving characters in a browser (like ...

I have actually made a character display library for the web, Unicodetiles.js, which I have not only spent some time optimizing, but it also explores different ways of presenting the text; it has thre …
Tapio's user avatar
  • 2,637