APE demo : Move demo

You

About this demo

Click in the grey area to move your ball. Open a new browser window to see your ball move in real-time!

This demo shows how APE can handles massive multi-user moving on a web page in real-time. This demo does not use APE as a middleware. A custom server-side module has been created to record the coordinates of the users as a public user properties. This allow APE to place to know where existing users are currently placed when initializing.

To go further with this demo, you could try enabling sessions. With sessions enable, if you have two browser windows open, both will share the same ball and it will move in real-time in both windows when the grey area is clicked.

Which features are used?

ServerSide JavaScript :

nickname.js

move.js

JQuery

Study the source code

Check out the Client JavaScript, HTML and ServerSide JavaScript source code of this demo by reading the following :