Karl Pannek
9f92f024b1
Fix Planck.js migration issues and restore RubeDoll functionality
...
- Fixed Mat22.fromAngle -> Rot.rot() error in RubeDoll.js
- Fixed rot.mul() -> Rot.mul(rot, v) static method usage
- Restored RubeLoader imports and RubeDoll.json loading
- Migrated RubeLoader.js from Box2D to Planck.js API
- Updated all Box2D method calls to Planck.js equivalents
- Fixed import aliases from Box2D to planck across multiple files
- RubeDoll ragdolls now spawn correctly when players die
2025-07-18 22:27:42 +02:00
Karl Pannek
162a4ab82d
Restore RubeDoll functionality with Planck.js migration. Update RubeLoader to use Planck.js, fix import aliases, and enable RubeDoll spawning on player death.
2025-07-18 22:06:58 +02:00
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
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
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
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
Jeena
16826b174a
fixed debug view and ragdoll start positioning
2015-03-16 01:50:41 +01:00
Jeena
dfa71bc8e5
added ASSERT, fixed #103
2015-03-15 16:51:38 +01:00
logsol
5caa21f453
fixed item throw interface of ragdoll fixes #93
2015-02-07 14:30:55 +01:00
logsol
2b186be8af
use strict; fixes #83
2014-12-22 01:43:21 +01: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
c18384f502
begin Round Bug improvements, player renders doll. fixes #64
2014-05-24 17:39:19 +02:00
logsol
55b56f9c12
console.log, checkpoint and code cleanup
2014-03-31 05:06:52 +02:00
Jeena
96bf9bffbd
NC refactoring
2014-03-17 21:45:40 +01:00
logsol
672a46efa8
replaced NotificationCenter with Nc
2014-03-01 11:07:23 +01:00
Jeena
aa4535cb0c
fixed #53
2014-02-24 19:26:31 +01:00
logsol
413254bfa4
replaced killed doll with ragdoll - fixes #50
2014-02-18 01:15:24 +01:00
logsol
c3aee14f23
added broken ragdoll (manual c++ convertion)
2014-02-17 11:58:33 +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
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