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
5b3bfd4370
Makes singleton variable name of OptionsHelper 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 23:11:18 +02:00
logsol
05c4e4de81
Refactoring of Options. Renamed to OptionsHelper
...
Because that is what it is.
2016-10-10 23:10:43 +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
b798e6acac
Adds forward walking on shift
...
The state of the shift modifier is now distributed across the
network. Walking speeds and animation states are being updated
according to it.
Fixes #130
2016-10-09 19:56:06 +02:00
logsol
dba743cd7b
Updates obsolete/broken way of clearing fingerprints
...
When a user leaves the channel, some items need to be cleared of
their fingerprints (lastTouchedBy). This feature was broken
because it used the this.gameObjects pool which was no longer in
use.
The channel GameController now triggers an event to which all
items are subscribed to and if it is triggered, all items with that
users fingerprints clear themselves off those.
Fixes #170
2016-10-09 12:46:07 +02:00
logsol
3a5af058ef
Prevents adding damage after round has ended
...
Because it created double round endings, which led to crashes.
Also moved inBetweenRound state from PlayerController to GameController.
2016-10-01 19:12:52 +02:00
logsol
c068592915
Makes world in Engine private
...
And some refactoring.
2016-10-01 19:09:52 +02:00
logsol
016c48ec3b
During first worldUpdate set doll positions after spawning players
...
Otherwise we get a warning.
2016-10-01 14:01:12 +02:00
logsol
fc7866f11e
Hides playercontroller within player
...
In order to not provide deep exposure to PlayerController,
we refactored it so that it is not visible anymore outside Player.
Also we renamed isInBetweenGames to inBetweenRounds.
Moved creation of PlayerController from GameController(s) to
The channel Player and client Me.
2016-10-01 12:19:02 +02:00
logsol
c87997c774
fixes #147 , fixes #136 , is related to but doesnt entirely complete #144
2016-08-28 22:40:25 +02:00
Jeena
f35b9f5ba9
fixed flip for RubeDoll
2015-08-02 17:22:41 +02:00
Jeena
0b8d885d48
Merge branch 'master' into subbodies
2015-08-02 16:06:57 +02:00
Jeena
a8adbcf140
fixes position state update and removes dev graphs for better fps
2015-08-02 16:06:32 +02:00
logsol
0edde06d67
only adds lastMovedBy when there was no damage - fixes #99
2015-08-02 11:38:45 +02:00
logsol
e370adf746
worldupdate subbody repositioning - #99
2015-06-29 01:29:57 +02:00
Jeena
2e01a093fc
first step of rotating limbs in RubeDoll
2015-06-28 16:26:52 -07:00
logsol
8e9ce62e19
merges from rubedoll
2015-06-22 00:22:00 +02:00
logsol
07dad646cf
new system for synchronizing game objects. fixes #74
2015-06-22 00:14:17 +02:00
logsol
5b68f7e2b6
improving rube doll flipping behaviour and positioning
2015-05-11 11:10:30 +02:00
logsol
fb3ac40d17
implemented rubedoll direction flip and added meshIndex (z) swapping capability. #151
2015-05-11 11:10:30 +02:00
logsol
2dea240a4b
implemented rube doll to appear when dying
2015-05-11 11:10:30 +02:00
logsol
ca1ca7635b
implemented rubedoll level item (not after dying yet)
2015-05-11 11:10:30 +02:00
logsol
1546136303
rebuilt skateboard without joints
2015-05-11 11:10:30 +02:00
logsol
da62339a95
rebuilt skateboard without joints
2015-05-11 11:09:24 +02:00
Logsol
6233588e63
cleared items of player fingerprints (lastMovedBy). fixes #92
2015-05-03 12:45:35 +02:00
Jeena
0592e2524d
added gangsta level and tried to fix on new level
2015-04-12 18:08:11 +02:00
Jeena
46f14c22c6
made fast objects bullets, fixes #126
2015-04-02 21:27:13 +02:00
Jeena
16826b174a
fixed debug view and ragdoll start positioning
2015-03-16 01:50:41 +01:00
Jeena
c88afc8b4c
fixes #112 finished recorder
2015-03-15 21:06:44 +01:00
Jeena
dfa71bc8e5
added ASSERT, fixed #103
2015-03-15 16:51:38 +01:00
logsol
b3ee560c02
still level loader bug (only allowed square sized maps)
2015-03-12 19:56:14 +01:00
logsol
5f5fec5b10
added optimizer scripts and some code style improvements
2015-03-09 04:56:28 +01:00
Jeena
81f5990e0c
fixes #96 j.m_collideConnected crash
2015-03-01 16:37:06 +01:00
Jeena
e404ad3598
fixes #78 revisited weight handycap
2015-02-15 01:38:16 +01:00
Jeena
a340501dc2
removed objects with joints because of #99
2015-02-14 15:01:53 +01:00
logsol
ac69077e8a
disabled spectator doll - was falling forever
2015-02-07 16:16:28 +01:00
logsol
5caa21f453
fixed item throw interface of ragdoll fixes #93
2015-02-07 14:30:55 +01:00
logsol
809a622cd9
bugfix throwing exception
2014-12-28 20:34:45 +01:00
logsol
ece260e80e
fixed drop error. added carrier velocity, bugfix
2014-12-25 15:06:36 +01:00
logsol
197c4072c1
fixed drop error. added carrier velocity
2014-12-25 15:00:10 +01:00
logsol
d24ab60756
added angular throwing
2014-12-25 00:33:00 +01:00
logsol
2b186be8af
use strict; fixes #83
2014-12-22 01:43:21 +01:00
logsol
c1a756050f
added ghost layer, fixed arrow
2014-11-30 15:06:02 +01:00
Jeena
357ef181d9
centered images in image layers
2014-11-15 17:37:16 +01:00
Jeena
9c9db8ca8c
loading graphic layers works with right order
2014-11-15 17:02:27 +01:00
Jeena
522b5092f5
changed 'collision' to 'tiles' layer name in levels
2014-11-15 13:17:41 +01:00
logsol
a70ca6d8fb
working layers - still needs parallax support
2014-08-31 17:50:55 +02:00
Jeena
57135f3acc
more layer work
2014-08-30 16:02:41 +02:00
logsol
1d3ad16a07
layer bugfixing
2014-08-30 10:29:58 +02:00