Commit graph

28 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
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
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
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
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
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
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
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
Renamed from app/Game/Client/Physics/Doll.js (Browse further)