Giter VIP home page Giter VIP logo

yavsrg's Introduction

What is YAVSRG?

YET ANOTHER VERTICALLY SCROLLING RHYTHM GAME is a collection of rhythm game projects full of the features and ideas I think make games of this genre fun to play.

The project is centred around my custom rhythm game client, Interlude, and the tooling around it.

Visit yavsrg.net to read more about this project and its features.


๐ŸŽฎ Playing the game

Various player guides, including a wiki, are built into the game to help you get started, especially if you're coming from another popular rhythm game client.
You can also check out the wiki here in your browser!

On Windows - Download the latest release from the website, extract it and play!
On macOS and Linux - You currently must build the game from source, I've made this quick and easy, see below

๐Ÿงฑ Building Interlude

Note

If you just want to play the game on Windows, you do not need to do this, instead get the game by downloading the latest release from the site

  1. Cloning the codebase to your machine requires Git, and building requires the .NET 8 SDK
    Follow the install instructions for both of these for your platform

  2. To set up the codebase on your machine, run these commands in your terminal:

# Navigate to somewhere you want to store the interlude codebase
git clone https://github.com/YAVSRG/YAVSRG.git
cd YAVSRG/scripts
chmod +x ./setup_repo.sh
./setup_repo.sh
chmod +x ./setup_cli.sh
./setup_cli.sh

The steps above should set up the yavsrg CLI command. Try running yavsrg version, you should see a version number output in the terminal.
If this hasn't worked and you are stuck, get assistance from me in the discord

  1. Run yavsrg play to build and play the latest version.
    From now on yavsrg play will launch the game when you want to play.
    To update your game when a new version comes out, run yavsrg update.

To later uninstall the yavsrg command line tool, run dotnet tool uninstall --global yavsrg.cli
After that you can delete the entire YAVSRG folder to entirely remove the game and all data from your system.

๐Ÿงฑ Building Interlude <for developers only>

Note

If the setup guide for non-developers on Linux/macOS didn't work, please do not try these steps and instead get assistance in the discord if all you want to do is play.

The yavsrg update command will checkout and build the latest release, if you are a developer you will want to build what is on your local branch instead.

Use yavsrg debug_run to build and test the current branch, or go and look inside at what it does and use an IDE feature accordingly.

On first startup via yavsrg debug_run, the game will tell you that you need the correct bass.dll/dynlib/so for your platform placed in YAVSRG/interlude/src/bin/Debug/net8.0
Look for it here https://github.com/YAVSRG/YAVSRG/tree/main/engine/lib
If your platform isn't there contact me in the discord or search online for it

If you open YAVSRG.sln in Visual Studio 2022, setting Interlude as the active project will let you simply build and run with F5 which is my current workflow.

While Interlude stores all its data in the same folder as the exe by default, you can change that to a specific location - In YAVSRG/interlude/src/bin/Debug/net8.0/config.json you can edit WorkingDirectory to whatever is convenient

I use "C:/Interlude/dev" on Windows
If you previously built Interlude as a non-developer, I recommend setting it to "../../../../../GAME" so both builds share data

๐Ÿค Contributing

Come join the discord -- Send me playtesting feedback, feature requests, bug reports, etc. I'm active a lot in there

Pull requests are very welcome! If you spot a bug, typo or other minor change and have a quick fix, feel free to submit a PR. If you want to work on a feature please check with me first via Discord

Warning

IMPOSTOR SYNDROME DISCLAIMER

Don't know F#? Don't know how to code but want to learn? This is a hobby project largely dedicated to expanding my skills as a programmer and I would be pleased if it could do the same for you.

Ask away in the Discord, I'm often free to chat about how I or the codebase work and will happily give YOU the tools to make meaningful contributions.

yavsrg's People

Contributors

9382 avatar kurulen avatar percyqaz avatar zenyfh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

9382 zenyfh

yavsrg's Issues

Improved wiki documentation of Noteskins

Note

This issue is up for grabs -- This means YOU could help me with this issue by completing any of the tasks below

If you want further clarifications or guidance, ask me on Discord or in this thread
If you do take on this ticket, let me know so I can "assign" it to you, ensuring nobody else does it by accident

If you have other contributions you want to make that are not currently "up for grabs", minor bug fixes as PRs are always welcome. For bigger tasks discuss with me on Discord first

The task

The current wiki page on noteskins is very bare-bones.

A completed Noteskin wiki should contain:

  • A guide to generally how noteskin texture elements work (explaining how each .png is actually treated as a grid/spritesheet of textures, and has an accompanying .json file)
  • A detailed guide on what each element of a noteskin is for & what configuration is available for them
  • A detailed guide on noteskin settings that aren't necessarily controlled by one texture, such as explaining that changing column width = changing note size

The wiki does Not need to contain:

  • Documentation on how to edit noteskin.json directly - Users are encouraged to use the ingame editor wherever possible, and complain to me if there is something that can be done via text editing that can't be done ingame

Example of the kind of information you could give on receptor.png, but presented better than I do it here:

  • The image is provided as a grid texture
  • The grid texture can have either 1 or 2 rows. If a second row is provided, it will be used when the key for that receptor is pressed
  • Columns of the grid texture correspond to animation frames (maximum 32). The animation framerate is controlled by the main AnimationFrameTime setting applying to globally to notes and receptors
  • The ReceptorStyle setting has two possible values
    Rotate = Receptors rotate to match the rotation of notes (useful for arrow receptors)
    Flip = Receptors flip to match the scroll direction
  • When ReceptorStyle is set to Flip, the textures in the grid can be non-square dimensions. The extra vertical height of the texture will extend towards the edge of the screen to allow for mania "key" style images
  • When ReceptorStyle is set to Rotate, the textures in the grid must be square

How to contribute

The wiki pages can be found here as markdown files (with some small extras for metadata and separating the page into chunks)
If you are familiar with markdown, writing these should be very easy - It's the same format GitHub uses for these issues!
If not, for the time being I will accept contributions in any text form (discord messages, text files, comments) as I can easily convert those into pages myself

The code dictating the very vast majority of rules for noteskins is here - particularly look at lines 75 and 242 (I am always reachable if you have further questions)

Ideal PR:
New wiki pages added as .md files, with the folder set to Noteskins in the metadata at the top of each one.
You can replace the existing noteskins.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.