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
55089d56cb
Fix remaining capitalized Box2D method calls using sed
...
- Convert GetWorld() → getWorld()
- Convert CreateJoint() → createJoint()
- Convert DestroyJoint() → destroyJoint()
- Convert CreateBody() → createBody()
- Convert DestroyBody() → destroyBody()
- Convert GetFriction() → getFriction()
- Convert SetFriction() → setFriction()
- Convert GetBodyList() → getBodyList()
- Convert GetNext() → getNext()
- Convert GetContactList() → getContactList()
- Convert GetFixtureList() → getFixtureList()
Applied bulk sed replacements across all game files to complete
Box2D to Planck.js migration method name conversion.
2025-07-16 15:16:30 +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
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
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
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
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