Commit graph

48 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
ca1ca7635b implemented rubedoll level item (not after dying yet) 2015-05-11 11:10:30 +02:00
logsol
da62339a95 rebuilt skateboard without joints 2015-05-11 11:09:24 +02:00
Jeena
16826b174a fixed debug view and ragdoll start positioning 2015-03-16 01:50:41 +01:00
Jeena
dfa71bc8e5 added ASSERT, fixed #103 2015-03-15 16:51:38 +01:00
logsol
5f5fec5b10 added optimizer scripts and some code style improvements 2015-03-09 04:56:28 +01:00
Jeena
a340501dc2 removed objects with joints because of #99 2015-02-14 15:01:53 +01:00
logsol
5caa21f453 fixed item throw interface of ragdoll fixes #93 2015-02-07 14:30:55 +01:00
Jeena
9c9db8ca8c loading graphic layers works with right order 2014-11-15 17:02:27 +01:00
logsol
1d3ad16a07 layer bugfixing 2014-08-30 10:29:58 +02:00
Jeena
d29c64385d added layers 2014-07-27 17:21:37 +02:00
Jeena
7c783d19e8 Refactored abstract method creation 2014-07-27 13:03:40 +02:00
logsol
1a71fa38f9 added background, still needs parallax style scrolling though! - fixes #89 2014-07-23 23:43:36 +02:00
Jeena
1c0bedee06 deactivated special Skateboard for now 2014-07-03 20:28:36 +02:00
logsol
ebc3da12fa First successful attempt to implement rube ragdoll into the game. uncomment //type: rube at the bottom of ItemSettings.js to convert banana into invisible ragdoll (only visible in debug mode) - grabbing still pretty buggy. 2014-05-26 04:22:36 +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
039213cf50 missing commits from last commit 7eb3d0b8b0 2014-03-19 02:40:03 +01:00
Jeena
96bf9bffbd NC refactoring 2014-03-17 21:45:40 +01:00
logsol
672a46efa8 replaced NotificationCenter with Nc 2014-03-01 11:07:23 +01:00
Jeena
aa4535cb0c fixed #53 2014-02-24 19:26:31 +01:00
Jeena
e488beb203 added ragdoll with one limb 2014-02-12 00:30:09 +01:00
Jeena
89c5e4a5d8 fixed #38 2014-02-10 16:11:01 +01:00
Jeena
6c78c750f0 added items to map 2014-02-10 12:05:10 +01:00
logsol
cc8aedd3ba implemented spawn points and a brand new map 2014-02-03 16:18:22 +01:00
logsol
3782fa345b added tiled level support 2014-02-03 14:08:45 +01:00
Jeena
953159e6bd implemented level load, more to do see #1 2014-01-29 03:24:08 +01:00
logsol
b02036a019 first attempt to implement tiled style maps 2014-01-28 21:34:46 +01:00
Jeena
bdab2a5760 fixed skateboard and mesh positioning 2014-01-16 19:33:37 +01:00
Jeena
383eaa93bf Merge branch 'master' of github.com:logsol/chuck.js 2014-01-12 16:50:03 +01:00
Jeena
05e237c2cc moved banana 2014-01-12 16:44:31 +01:00
logsol
c2c0e2a859 added football 2014-01-12 06:31:44 +01:00
Jeena
3edd664412 implemented level restart 2014-01-12 04:33:08 +01:00
logsol
81611050d2 added skateboard :D 2014-01-12 00:36:18 +01:00
Jeena
fa9a0d5d22 added washing machine, fixed grabbing and rotation and position 2014-01-10 18:22:59 +01:00
Jeena
3a07d946b0 fixed throwing and meter 2014-01-10 17:25:46 +01:00
jeena
93e8133c89 fixed problems with first world update 2013-12-25 04:35:51 +01:00
jeena
283a1ef48b fixes for animations with head and jump, etc. 2013-12-25 00:28:28 +01:00
jeena
d51c705c1c implemented gameobject for tiles and doll 2013-12-23 02:39:05 +01:00
Jeena
fe0d4a66e2 first attempt to implement GameObject 2013-12-19 15:16:15 +01:00
Jeena
c1a4f16cc4 context awarenes in Core 2013-12-09 17:35:29 +01:00
Jeena
071ad6bec5 added images and texture for gl renderer 2013-11-25 17:16:52 +01:00
logsol
76daceb2e7 changed function XXX( to function XXX ( 2012-07-28 13:54:49 +02:00
logsol
7e5eeb0a27 changed function( to function ( 2012-07-28 13:38:31 +02:00
Jeena Paradies
fc22ac5643 changed name and fixed wrong constant name 2012-07-21 22:15:32 +02:00
Jeena Paradies
f3f9138ddc fixed define-paths and added Detector for the constant 2012-07-21 21:53:11 +02:00
logsol
bd45f538c7 some more renaming 2012-07-21 21:37:24 +02:00
Renamed from app/game/Core/Loader/Level.js (Browse further)