commit d48160c61e062e3276e7e3f858fb683852c7881d Author: ClintUNI Date: Tue Apr 30 21:40:14 2024 +0200 Initial Template diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0ef59a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,49 @@ +# Project place file + +# Roblox Studio lock files +/*.rbxlx.lock +/*.rbxl.lock + +#Rojo +/sourcemap.json + +# Compiled Lua sources +luac.out + +# luarocks build files +*.src.rock +*.zip +*.tar.gz + +# Object files +*.o +*.os +*.ko +*.obj +*.elf + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo +*.def +*.exp + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..21e33f2 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# RNG Fighting + +RNG game with combat based rolling in Roblox Luau game. + +## Tools + +1. [VS Code](https://code.visualstudio.com) - IDE/Code editor that will help us with better use of types, intellisense, function/method documents and more, though it requires a Lua LSP for syntaxing and type support. + +2. [Rojo](https://rojo.space/docs/v7/) - In order to work with the game project through VS-Code sync to Roblox Studio. + +3. [Rojo UI](https://marketplace.visualstudio.com/items?itemName=muoshuu.rojo-ui) - Integrates a UI into VS Code that allows one to browse the game workspace and any instance's properties. + +4. [Wally](https://wally.run/install) - Package manager specifically for Roblox use cases. + +5. Selene - For code quality and standard, it is a linter, if you're familiar with that. | When installing Rust, please select option 1. + [Step 1](https://kampfkarren.github.io/selene/cli/installation.html) + [Step 2](https://kampfkarren.github.io/selene/roblox.html) + Or, alternatively, you can use the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=Kampfkarren.selene-vscode). + +6. LSP - [[Roblox Lua LSP](https://marketplace.visualstudio.com/items?itemName=Nightrains.robloxlsp)] or [[Luau LSP](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.luau-lsp)] + What're the differences? Luau LSP provides in-editor type checking. Roblox Lua LSP does not. Lua LSP is by far the most superior way to go. + +7. [Git](https://git-scm.com) - Versiona management tool for your command line/terminal. This allows you to access and utilize github in a more streamlined manner to both pull and push updates. + +## Protocol + +When working on new features please create your own branch dedicated to that feature. This means a branch per feature per developer. Once done, merge it to the development branch. +Main is to be restricted to **release** builds only. This means that it is fully functional and playable without any major bugs. diff --git a/aftman.toml b/aftman.toml new file mode 100644 index 0000000..312cdbd --- /dev/null +++ b/aftman.toml @@ -0,0 +1,8 @@ +# This file lists tools managed by Aftman, a cross-platform toolchain manager. +# For more information, see https://github.com/LPGhatguy/aftman + +# To add a new tool, add an entry to this table. +[tools] +rojo = "rojo-rbx/rojo@7.4.0-rc3" +wally = "UpliftGames/wally@0.3.2" +# rojo = "rojo-rbx/rojo@6.2.0" \ No newline at end of file diff --git a/default.project.json b/default.project.json new file mode 100644 index 0000000..10e448d --- /dev/null +++ b/default.project.json @@ -0,0 +1,48 @@ +{ + "name": "RNG Fight", + "tree": { + "$className": "DataModel", + + "ReplicatedStorage": { + "$className": "ReplicatedStorage", + "$path": "src/Shared" + }, + + "ReplicatedFirst": { + "$path": "src/ReplicatedFirst" + }, + + "ServerScriptService": { + "$path": "src/Server" + }, + + "ServerStorage": { + "$path": "src/ServerStorage" + }, + + "StarterPlayer": { + "$className": "StarterPlayer", + + "StarterPlayerScripts": { + "$className": "StarterPlayerScripts", + "$path": "src/Client" + }, + + "StarterCharacterScripts": { + "$className": "StarterCharacterScripts", + "$path": "src/Character" + } + }, + + "Workspace": { + "$properties": { + "FilteringEnabled": true + } + }, + "SoundService": { + "$properties": { + "RespectFilteringEnabled": true + } + } + } +} \ No newline at end of file diff --git a/selene.toml b/selene.toml new file mode 100644 index 0000000..c4ddb46 --- /dev/null +++ b/selene.toml @@ -0,0 +1 @@ +std = "roblox" diff --git a/src/ServerStorage/init.meta.json b/src/ServerStorage/init.meta.json new file mode 100644 index 0000000..ec18434 --- /dev/null +++ b/src/ServerStorage/init.meta.json @@ -0,0 +1,3 @@ +{ + "ignoreUnknownInstances": true +} \ No newline at end of file diff --git a/src/Shared/init.meta.json b/src/Shared/init.meta.json new file mode 100644 index 0000000..ec18434 --- /dev/null +++ b/src/Shared/init.meta.json @@ -0,0 +1,3 @@ +{ + "ignoreUnknownInstances": true +} \ No newline at end of file diff --git a/wally.lock b/wally.lock new file mode 100644 index 0000000..3c6bfa9 --- /dev/null +++ b/wally.lock @@ -0,0 +1,3 @@ +# This file is automatically @generated by Wally. +# It is not intended for manual editing. +registry = "test" \ No newline at end of file diff --git a/wally.toml b/wally.toml new file mode 100644 index 0000000..e69de29