Karl Pannek
799601f24d
Remove commented out grab sensors and area sensors
...
- Clean up commented fixture definitions that were temporarily disabled during debugging
2025-07-16 23:41:44 +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
Karl Pannek
955179eec9
Fix contact detection for jump mechanics
...
- Fix IsTouching() → isTouching() in Doll.js onFootSensorDetection
- This should resolve the issue where players couldn't jump immediately
after landing, as the contact detection was failing due to calling
a non-existent method in Planck.js
2025-07-16 15:17:27 +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
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
b798e6acac
Adds forward walking on shift
...
The state of the shift modifier is now distributed across the
network. Walking speeds and animation states are being updated
according to it.
Fixes #130
2016-10-09 19:56:06 +02:00
logsol
07dad646cf
new system for synchronizing game objects. fixes #74
2015-06-22 00:14:17 +02:00
logsol
fb3ac40d17
implemented rubedoll direction flip and added meshIndex (z) swapping capability. #151
2015-05-11 11:10:30 +02:00
Jeena
dfa71bc8e5
added ASSERT, fixed #103
2015-03-15 16:51:38 +01:00
Jeena
81f5990e0c
fixes #96 j.m_collideConnected crash
2015-03-01 16:37:06 +01:00
Jeena
e404ad3598
fixes #78 revisited weight handycap
2015-02-15 01:38:16 +01:00
logsol
ece260e80e
fixed drop error. added carrier velocity, bugfix
2014-12-25 15:06:36 +01:00
logsol
197c4072c1
fixed drop error. added carrier velocity
2014-12-25 15:00:10 +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
Jeena
ebf167107a
implemented holding arm. fixes #75
2014-06-14 18:37:21 +02:00
logsol
ef98b9dd28
destroying doll body on kill, fixes #66
2014-06-07 15:48:03 +02:00
logsol
450d1d6473
fixed jumping while falling. fixes #70
2014-06-07 15:14:47 +02:00
logsol
72dc454bd5
bugfix for positionStateUpdate
2014-05-29 21:31:26 +02:00
logsol
b500ef436d
added areaSensor to doll and not allowing client to update position when another player is nearby
2014-05-29 20:27:41 +02:00
logsol
c18384f502
begin Round Bug improvements, player renders doll. fixes #64
2014-05-24 17:39:19 +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
bdd62a4a11
fixed body scaling of chuck animation frames from 130% back to 100%
2014-03-08 01:54:26 +01:00
Jeena
aa4535cb0c
fixed #53
2014-02-24 19:26:31 +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
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
f22e0dd53d
added first damage and killing
2014-01-21 03:14:50 +01:00
Jeena
1c4336c7f7
walking when carrying a heavy object
2014-01-20 16:37:30 +01:00
Jeena
b159bbb1cc
fixed remote joint
2014-01-20 16:22:31 +01:00
Jeena
0665348ae2
fixed jumping bug
2014-01-20 13:29:10 +01:00
Jeena
bdab2a5760
fixed skateboard and mesh positioning
2014-01-16 19:33:37 +01:00
Jeena
fa9a0d5d22
added washing machine, fixed grabbing and rotation and position
2014-01-10 18:22:59 +01:00
Jeena
3a07d946b0
fixed throwing and meter
2014-01-10 17:25:46 +01:00
jeena
764220675b
added joints
2013-12-28 02:39:32 +01:00
jeena
fa110ff4a8
onFixtureWithinReach implemented
2013-12-27 05:09:28 +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