1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-21 18:02:55 +08:00
osu-lazer/Templates
2022-06-15 17:40:16 +02:00
..
Rulesets Fix template projects returning null mods from GetModsFor() 2022-06-15 17:40:16 +02:00
Directory.Build.props Isolate rulesets subtree 2021-04-05 12:22:38 +09:00
osu.Game.Templates.csproj Update various licence years to 2022 2022-04-07 22:05:04 +09:00
README.md Rename README header 2021-04-05 13:56:04 +09:00

Templates

Templates for use when creating osu! dependent projects. Create a fully-testable (and ready for git) custom ruleset in just two lines.

Usage

# install (or update) templates package.
# this only needs to be done once
dotnet new -i ppy.osu.Game.Templates

# create an empty freeform ruleset
dotnet new ruleset -n MyCoolRuleset
# create an empty scrolling ruleset (which provides the basics for a scrolling ←↑→↓ ruleset)
dotnet new ruleset-scrolling -n MyCoolRuleset

# ..or start with a working sample freeform game
dotnet new ruleset-example -n MyCoolWorkingRuleset
# ..or a working sample scrolling game
dotnet new ruleset-scrolling-example -n MyCoolWorkingRuleset