Commit graph

62 commits

Author SHA1 Message Date
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
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
Karl Pannek
74957807e2 Extend debug platform to the left to cover spawn area
- Moved 4 tiles from right side (x=16-19) to left side (x=6-9)
- Platform now spans x=6-15 instead of x=10-19
- Chuck should now spawn safely on the platform without falling
2025-07-16 13:13:00 +02:00
Karl Pannek
244dc50037 Add working debug level with grass and soil tiles
- Created DebugLevel class that bypasses complex TiledLevel loader
- Simple platform with grass tiles (10.gif) on top, soil tiles (10.gif) underneath
- Fixed tile texture paths to work with MAPS_PATH
- Fixed null check in User.js to prevent server crashes
- Working physics collision with Box2D
- Clean test environment for physics engine migration
2025-07-16 12:51:31 +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
c068592915 Makes world in Engine private
And some refactoring.
2016-10-01 19:09:52 +02:00
logsol
ca1ca7635b implemented rubedoll level item (not after dying yet) 2015-05-11 11:10:30 +02:00
logsol
da62339a95 rebuilt skateboard without joints 2015-05-11 11:09:24 +02:00
Jeena
0592e2524d added gangsta level and tried to fix on new level 2015-04-12 18:08:11 +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
b3ee560c02 still level loader bug (only allowed square sized maps) 2015-03-12 19:56:14 +01:00
logsol
5f5fec5b10 added optimizer scripts and some code style improvements 2015-03-09 04:56:28 +01:00
Jeena
a340501dc2 removed objects with joints because of #99 2015-02-14 15:01:53 +01:00
logsol
5caa21f453 fixed item throw interface of ragdoll fixes #93 2015-02-07 14:30:55 +01:00
logsol
c1a756050f added ghost layer, fixed arrow 2014-11-30 15:06:02 +01:00
Jeena
357ef181d9 centered images in image layers 2014-11-15 17:37:16 +01:00
Jeena
9c9db8ca8c loading graphic layers works with right order 2014-11-15 17:02:27 +01:00
Jeena
522b5092f5 changed 'collision' to 'tiles' layer name in levels 2014-11-15 13:17:41 +01:00
logsol
a70ca6d8fb working layers - still needs parallax support 2014-08-31 17:50:55 +02:00
Jeena
57135f3acc more layer work 2014-08-30 16:02:41 +02:00
logsol
1d3ad16a07 layer bugfixing 2014-08-30 10:29:58 +02:00
Jeena
d29c64385d added layers 2014-07-27 17:21:37 +02:00
Jeena
7c783d19e8 Refactored abstract method creation 2014-07-27 13:03:40 +02:00
logsol
1a71fa38f9 added background, still needs parallax style scrolling though! - fixes #89 2014-07-23 23:43:36 +02:00
Jeena
1c0bedee06 deactivated special Skateboard for now 2014-07-03 20:28:36 +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
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
039213cf50 missing commits from last commit 7eb3d0b8b0 2014-03-19 02:40:03 +01: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
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
89c5e4a5d8 fixed #38 2014-02-10 16:11:01 +01:00
Jeena
6c78c750f0 added items to map 2014-02-10 12:05:10 +01:00
logsol
cc8aedd3ba implemented spawn points and a brand new map 2014-02-03 16:18:22 +01:00
logsol
3782fa345b added tiled level support 2014-02-03 14:08:45 +01:00
Jeena
953159e6bd implemented level load, more to do see #1 2014-01-29 03:24:08 +01:00
logsol
b02036a019 first attempt to implement tiled style maps 2014-01-28 21:34:46 +01:00
Jeena
bdab2a5760 fixed skateboard and mesh positioning 2014-01-16 19:33:37 +01:00
Jeena
383eaa93bf Merge branch 'master' of github.com:logsol/chuck.js 2014-01-12 16:50:03 +01:00
Jeena
05e237c2cc moved banana 2014-01-12 16:44:31 +01:00
logsol
c2c0e2a859 added football 2014-01-12 06:31:44 +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