Commit graph

83 commits

Author SHA1 Message Date
Karl Pannek
da6e9a244b Migrate Box2D to Planck.js in core game logic, items, debug draw, and menu. Remove legacy Box2D references, update level and item loading, and improve debug draw for Planck. 2025-07-17 18:50:16 +02:00
Karl Pannek
49f4591d3a Fix debug draw and physics positioning issues
- Fix critical bug in PlanckDebugDraw.js where circles were drawn at body center instead of local positions
- Add DEBUG_DRAW_SENSORS support with orange styling and no outlines
- Fix Chuck's sprite positioning to align with physics body center (pivot adjustments)
- Correct fixture Y coordinates so Chuck stands upright instead of on his head
- Position foot sensor correctly below legs for proper ground detection
- Remove cyan crosses and make yellow center-of-mass crosses smaller
- Make debug lines thinner for cleaner visualization
2025-07-16 23:40:40 +02:00
Karl Pannek
d584065757 Fix Planck debug draw: add camera sync and hide sensors like Box2D 2025-07-16 21:15:37 +02:00
logsol
875a40185e Increases score limit back to a higher value
It had been reduced to 1 for testing.
2016-10-10 20:15:41 +02:00
logsol
c87997c774 fixes #147, fixes #136, is related to but doesnt entirely complete #144 2016-08-28 22:40:25 +02:00
logsol
0edde06d67 only adds lastMovedBy when there was no damage - fixes #99 2015-08-02 11:38:45 +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
8e70eedbce added setting to switch off pointer lock filter 2015-05-11 11:10:30 +02:00
logsol
da7e0758bb changed box2d calculation config #158 2015-05-11 11:10:30 +02:00
Logsol
6233588e63 cleared items of player fingerprints (lastMovedBy). fixes #92 2015-05-03 12:45:35 +02:00
Jeena
ed35071fff fixes enemy stat update 2015-04-19 18:13:53 +02:00
Jeena
a66a327386 fixes the sending and rendering of game stats 2015-04-19 17:31:41 +02:00
Jeena
cad112419d fixes initial level positioning 2015-04-19 16:06:23 +02:00
Jeena
aaa1db4468 hides default layers while loading level 2015-04-19 12:33:45 +02:00
Jeena
0592e2524d added gangsta level and tried to fix on new level 2015-04-12 18:08:11 +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
1408b6addd first version of recorder 2015-03-12 22:17:34 +01:00
logsol
bbd143eae0 decreased jumping height a bit, was still too high i think 2015-03-12 19:57:05 +01:00
logsol
5f5fec5b10 added optimizer scripts and some code style improvements 2015-03-09 04:56:28 +01:00
logsol
6b472dc134 added max user and refactored coordinator/serveruser a bit fixes #105 2015-03-03 23:43:15 +01:00
Jeena
15a267f250 hidden debug printout of layers 2015-03-01 14:54:37 +01:00
logsol
20a974124e added new debug draw 2015-02-28 21:27:42 +01:00
logsol
60eae208a2 Added PointerLockManagement, Fixed layer positioning, added fps chart. fixes #120, fixes #121, fixes #123 2015-02-27 18:44:30 +01:00
Jeena
550d14fbef fixed #110 rewrite of tab-view and better fonts 2015-02-22 17:36:06 +01:00
Jeena
e404ad3598 fixes #78 revisited weight handycap 2015-02-15 01:38:16 +01:00
logsol
d24ab60756 added angular throwing 2014-12-25 00:33:00 +01:00
logsol
58b83f7297 updated pixi to v2 2014-12-21 23:16:35 +01:00
logsol
0a0b3e8849 added simple mode 2014-12-09 15:55:28 +01:00
Jeena
6d9d02615a added pointer locking and viewport moving 2014-12-06 20:20:49 +01:00
Jeena
4dd529e663 Merge branch 'layers' 2014-11-16 01:23:42 +01:00
Jeena
1bdc798540 first stab at background audio 2014-11-16 01:22:58 +01:00
Jeena
7c783d19e8 Refactored abstract method creation 2014-07-27 13:03:40 +02:00
logsol
a58beb58d1 added player arrow to me fixes #76 2014-07-18 17:34:17 +02:00
logsol
ac27da1e31 added zooming with +, - and 0 2014-07-07 23:32:11 +02:00
Jeena
6bc9b7e32b api getMaps for create channel 2014-07-03 20:28:18 +02:00
Jeena
9e6c42f221 removed game.html, fixes #85 2014-06-28 23:43:58 +02:00
logsol
ef98b9dd28 destroying doll body on kill, fixes #66 2014-06-07 15:48:03 +02:00
logsol
e7f4b6043d Implemented local positioning as master - included punkbuster instead of webrtc for now. #49 2014-05-29 18:29:17 +02:00
logsol
c18384f502 begin Round Bug improvements, player renders doll. fixes #64 2014-05-24 17:39:19 +02:00
logsol
40e396fc23 implemented outgoing log filter 2014-03-31 05:01:05 +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
28f71f49e1 added camera glide - juciness references #56 2014-03-08 14:14:12 +01:00
Jeena
810a74a28b fixed #58 2014-03-01 23:11:36 +01:00
Jeena
fa1a3f3757 fixed #52 2014-02-18 13:51:03 +01:00
logsol
413254bfa4 replaced killed doll with ragdoll - fixes #50 2014-02-18 01:15:24 +01:00
logsol
aa6fdaa2df added player health action view 2014-02-17 16:30:59 +01:00