Commit graph

21 commits

Author SHA1 Message Date
logsol
806a9d8194 Refactores the GLOBALS.context to use more expressive naming
Combines GLOBALS and Chuck namespace into App. Also increases
number of stack trace steps to be printed when an error occurs.

I experimented with the "replace" plugin from require.js, which
works but it would mean that our context switchable
"import-statements" would look like the example below, which I
decided against at least for now, just because of the looks.

The downside of not using the plugin is that we cannot use the
"use strict" statement in the channel.js entry script and also
cannot put a "var" in front of App variable there.

For example: "replace!Game/:AppContext/Physics/Engine",
Instead of:  "Game/" + App.context + "/Physics/Engine",

Fixes #86
2016-10-11 23:05:33 +02:00
logsol
3cb2e39a18 Makes singleton variable name of NotificationCenter lowercase
When we require a singleton, its instance name should be named
by lowercase, since it is not a class.

Relates to #128
2016-10-10 22:11:55 +02:00
logsol
c068592915 Makes world in Engine private
And some refactoring.
2016-10-01 19:09:52 +02:00
logsol
2b186be8af use strict; fixes #83 2014-12-22 01:43:21 +01:00
logsol
39f684315b Bugfixing - unsubscribing game related topics, to prevent double calls and leaking references, added offAll method to nc. fixes no rendering bug 2014-03-31 05:05:32 +02:00
logsol
55256ada95 work in progress... worked on channel attributes and game goal. fixes #45 and references #48 2014-03-30 00:12:04 +01:00
logsol
4f4bbf73e8 nc refuckulating 2014-03-17 21:46:19 +01:00
logsol
672a46efa8 replaced NotificationCenter with Nc 2014-03-01 11:07:23 +01:00
Jeena
f22e0dd53d added first damage and killing 2014-01-21 03:14:50 +01:00
Jeena
4afc39081d debug draw overlay, fullscreen 2014-01-16 16:09:17 +01:00
jeena
d51c705c1c implemented gameobject for tiles and doll 2013-12-23 02:39:05 +01:00
Jeena
c1a4f16cc4 context awarenes in Core 2013-12-09 17:35:29 +01:00
Jeena
b4ef1203b1 added stats + ping, fixed box2d step size 2013-12-09 14:00:46 +01:00
Jeena
ffb7db528a added zoom for OrthographicCamera, tried to decouple gl rendering and box2d updates, didn't work yet 2013-12-02 16:13:53 +01:00
Logsol
8f245f33d6 fooled around with joints for hiding lag 2013-07-30 21:15:11 +02:00
Logsol
f07505bc20 Repaired Collision detecteion by adding one detector for each user - fixes #15 2013-01-06 01:40:46 +01:00
logsol
7e5eeb0a27 changed function( to function ( 2012-07-28 13:38:31 +02:00
logsol
26f3d22db7 replaced all tabs with 4 spaces 2012-07-28 13:26:05 +02:00
Jeena Paradies
11c642fd7a fixed client physics engine 2012-07-22 02:52:43 +02:00
Jeena Paradies
806a6e1d47 moved client stuff from Engine to Client/Physics/Engine 2012-07-21 23:03:37 +02:00
logsol
bd45f538c7 some more renaming 2012-07-21 21:37:24 +02:00
Renamed from app/game/Core/Physics/Engine.js (Browse further)