MCPcopy Index your code
hub / github.com/mustache-dev/Mario-Kart-3.js

github.com/mustache-dev/Mario-Kart-3.js @main sqlite

repository ↗ · DeepWiki ↗
104 symbols 253 edges 45 files 8 documented · 8%
README

Mario Kart 3.js - JavaScript/WebGL Mario Kart

Link

Open in GitHub Codespaces

DISCLAIMER : This is not a completed project, I would say around 50% of the work has been done up to now. It takes a lot of time so please enjoy.

How to install

Fork the repository

Clone the repository or download it

Open your terminal and inside the project folder, run :

  npm install

Start the dev server

  npm run dev

How to use (Gameplay)

  • Use the W key to accelerate, the mouse to steer for now (will be updated for mobile/gamepad/keyboard).

  • Steer with the mouse.

  • Press and hold the space bar to initiate a drift. Steer and counter steer to maintain the drift. release it to get a mini - turbo.

  • Press E key to use the current item.

  • Press R to reset your position, usable anytime.

How to use (Code)

  • Anything needs update.

  • You can also edit the README to add elements to the To-do List.

  • Feel free to bring your ideas to the project even if you can't code them.

TO - DO

  • [ ] Design Landing page

  • [ ] Add items

  • [ ] Add texture to the flame shaders

  • [ ] Add curve/length modifiers to drift particles 3/4

  • [ ] Add Skid marks

  • [x] Add smokes

  • [ ] Add wind screen effect when boosting

  • [ ] Improve sound design quality

  • [ ] Design UI for HUD

  • [ ] Make Time Trial mode

  • [ ] Design tracks and checkpoints

  • [ ] Improve code quality

  • [ ] Add Minimap

  • [ ] Items

  • [ ] Tennis ball
  • [ ] Bomb
  • [ ] Real red shell
  • [ ] Treats
  • [ ] ?

License

License: MIT

Extension points exported contracts — how you extend this code

VFXParticlesSettings (Interface)
(no doc)
src/wawa-vfx/VFXParticles.tsx
IJoystickProps (Interface)
(no doc)
src/mobile/react-joystick-component/src/Joystick.tsx
VFXParticlesProps (Interface)
(no doc)
src/wawa-vfx/VFXParticles.tsx
IJoystickUpdateEvent (Interface)
(no doc)
src/mobile/react-joystick-component/src/Joystick.tsx
ThreeElements (Interface)
(no doc)
src/wawa-vfx/VFXParticles.tsx
IJoystickState (Interface)
(no doc)
src/mobile/react-joystick-component/src/Joystick.tsx
VFXEmitterSettings (Interface)
(no doc)
src/wawa-vfx/VFXEmitter.tsx
IJoystickCoordinates (Interface)
(no doc)
src/mobile/react-joystick-component/src/Joystick.tsx

Core symbols most depended-on inside this repo

getGroundPosition
called by 4
src/models/Kart.jsx
getGroundPosition
called by 4
src/models/Wheels.jsx
getWithinBounds
called by 4
src/mobile/react-joystick-component/src/shapes/shape.bounds.factory.ts
playAction
called by 3
src/models/Witch.jsx
getDriftLevel
called by 2
src/constants.js
shapeFactory
called by 2
src/mobile/react-joystick-component/src/shapes/shape.factory.ts
useTouchScreen
called by 2
src/hooks/useTouchScreen.js
getGamepad
called by 1
src/PlayerController.jsx

Shape

Function 64
Method 20
Interface 13
Class 4
Enum 3

Languages

TypeScript100%

Modules by API surface

src/mobile/react-joystick-component/src/Joystick.tsx21 symbols
src/PlayerController.jsx9 symbols
src/ColorGradingEffect.jsx9 symbols
src/models/Wheels.jsx7 symbols
src/wawa-vfx/VFXParticles.tsx6 symbols
src/utils/KartCollision.js6 symbols
src/models/Kart.jsx5 symbols
src/wawa-vfx/VFXEmitter.tsx3 symbols
src/mobile/JoystickComponent.jsx3 symbols
src/mobile/Buttons.jsx3 symbols
src/wawa-vfx/VFXStore.ts2 symbols
src/wawa-vfx/VFXBuilder.tsx2 symbols

Dependencies from manifests, versioned

@eslint/js9.22.0 · 1×
@gsap/react2.1.2 · 1×
@react-three/drei10.0.7 · 1×
@react-three/fiber9.1.2 · 1×
@react-three/postprocessing3.0.4 · 1×
@react-three/rapier2.1.0 · 1×
@storybook/addon-actions6.4.9 · 1×
@storybook/addon-essentials6.4.9 · 1×
@storybook/addon-links6.4.9 · 1×
@storybook/react6.4.9 · 1×
@storybook/storybook-deployer2.8.16 · 1×

For agents

$ claude mcp add Mario-Kart-3.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact