Commit graph

55 commits

Author SHA1 Message Date
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
dc779def9c Complete Box2D to Planck.js migration
- Replace Box2D.js with Planck.js physics engine
- Update all require paths from 'Lib/Vendor/Box2D' to 'Lib/Vendor/Planck'
- Convert Box2D contact listeners to Planck.js event system
- Fix all method name capitalization (Get* -> get*, Set* -> set*)
- Update collision detection system for Planck.js compatibility
- Server now starts successfully and basic physics working
- Character can land on platforms - core physics functional

Major milestone: Game now running on modern, maintained physics engine
2025-07-16 15:01:59 +02:00
Karl Pannek
875abd60d9 Major progress on Planck.js migration - server starts without crashing 2025-07-16 13:28:21 +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
8641a2dc0b On destroy unsubscribe missing GameObjects from render event
fixes #71
2016-10-01 16:51:43 +02:00
Jeena
f35b9f5ba9 fixed flip for RubeDoll 2015-08-02 17:22:41 +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
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
93680e3286 fixed movieclip speed/fps bug. fixes #35 2015-02-07 15:37:40 +01:00
logsol
dbde25f76e Added SpriteSheet support to chuck animations 2015-01-14 17:31:38 +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
f02230c50c updated pixi to v2 2014-12-21 19:32:18 +01:00
logsol
a70ca6d8fb working layers - still needs parallax support 2014-08-31 17:50:55 +02:00
Jeena
222fd09f3f non working layers 2014-08-30 16:27:05 +02:00
logsol
1d3ad16a07 layer bugfixing 2014-08-30 10:29:58 +02:00
Jeena
2213a50623 colorfull shirts 2014-07-12 16:23:17 +02:00
logsol
40cdf9867e added notification center call for adding filters to meshes 2014-07-12 12:15:59 +02:00
Jeena
a837d2099c menu fixes 2014-06-29 00:52:32 +02:00
Jeena
ebf167107a implemented holding arm. fixes #75 2014-06-14 18:37:21 +02:00
logsol
20ccb4c8c8 removed dispensable chest from ragdoll. fixes #67 2014-06-07 12:46:34 +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
55b56f9c12 console.log, checkpoint and code cleanup 2014-03-31 05:06:52 +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
cacd5d74c0 finished nc merge 2014-03-17 22:07:57 +01:00
Jeena
96bf9bffbd NC refactoring 2014-03-17 21:45:40 +01:00
logsol
b65fbd9825 fixed chuck's blurryness by increasing the animation size * 4 before exporting and then scale it back down in js, activated renderer antialiasing 2014-03-08 12:06:54 +01:00
logsol
bdd62a4a11 fixed body scaling of chuck animation frames from 130% back to 100% 2014-03-08 01:54:26 +01:00
logsol
8730324a83 added rube knife, quickstart in menu lobby, cleaned up the lobby code a bit 2014-03-03 02:47:23 +01:00
logsol
672a46efa8 replaced NotificationCenter with Nc 2014-03-01 11:07:23 +01:00
Jeena
695008afd8 implemented clientReady and changed loading of assets, fixed unique ragdoll id 2014-02-24 17:41:01 +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
Jeena
47bb5ef147 first visible RagDoll 2014-02-12 04:02:01 +01:00
Jeena
e488beb203 added ragdoll with one limb 2014-02-12 00:30:09 +01:00
Jeena
ed23753c04 fixed #40 #39 2014-02-10 22:22:14 +01:00
logsol
3782fa345b added tiled level support 2014-02-03 14:08:45 +01:00
Jeena
b159bbb1cc fixed remote joint 2014-01-20 16:22:31 +01:00
Jeena
bdab2a5760 fixed skateboard and mesh positioning 2014-01-16 19:33:37 +01:00
Jeena
00807da632 changed modes 2014-01-12 16:59:16 +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
1dcc21d0b5 added image preloader and doll sensor 2013-12-27 03:52:49 +01:00
jeena
3aa89fc8d6 moved Protocol and NotificationCenter to Lib/Utilities 2013-12-27 01:36:01 +01:00