diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..0dd192e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +{ + "name": "Mario Kart Dev Container", + "image": "mcr.microsoft.com/devcontainers/javascript-node", + "customizations": { + "vscode": { + "extensions": [ + "eamodio.gitlens", + "esbenp.prettier-vscode", + "VisualStudioExptTeam.vscodeintellicode", + "dbaeumer.vscode-eslint", + "dsznajder.es7-react-js-snippets", + "antfu.vite", + "meganrogge.template-string-converter", + "ambar.bundle-size", + "aaron-bond.better-comments" + ] + } + }, + "forwardPorts": [4000], + "portsAttributes": { + "4000": { + "label": "Application", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "npm install" +} diff --git a/README.md b/README.md index 7608624..ecb9cd5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Mario Kart 3.js - JavaScript/WebGL Mario Kart [Link](https://mario-kart-3-js.vercel.app/) +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/Lunakepio/Mario-Kart-3.js) + 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 @@ -23,15 +25,15 @@ Start the dev server ## How to use (Gameplay) -- Use the W key to accelerate, the mouse to steer for now (will be updated for mobile/gamepad/keyboard). +- 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 E key to use the current item. -- Press R to reset your position, usable anytime. +- Press R to reset your position, usable anytime. ## How to use (Code) @@ -76,4 +78,4 @@ Start the dev server ## License -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) \ No newline at end of file +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)