Initial Template

This commit is contained in:
ClintUNI 2024-04-30 21:40:14 +02:00
commit d48160c61e
10 changed files with 145 additions and 0 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

49
.gitignore vendored Normal file
View file

@ -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

28
README.md Normal file
View file

@ -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.

8
aftman.toml Normal file
View file

@ -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"

48
default.project.json Normal file
View file

@ -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
}
}
}
}

1
selene.toml Normal file
View file

@ -0,0 +1 @@
std = "roblox"

View file

@ -0,0 +1,3 @@
{
"ignoreUnknownInstances": true
}

View file

@ -0,0 +1,3 @@
{
"ignoreUnknownInstances": true
}

3
wally.lock Normal file
View file

@ -0,0 +1,3 @@
# This file is automatically @generated by Wally.
# It is not intended for manual editing.
registry = "test"

0
wally.toml Normal file
View file