sscharter 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/sscharter/version.rb +1 -1
- data/lib/sscharter.rb +1 -0
- data/tutorial/tutorial.md +35 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10b5abf2310eeeec8d15d4e26b0bb052057af5a7ec1f8831775fce9c1c824a3e
|
4
|
+
data.tar.gz: edab85fb7449400947f30c182aa4c6be2ce1ba1e968a19a921fdabee4a406ba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31f6c6ff5a7fa1eb08af770131617d32dac68d639b63f0d5ac0f6795c0eeaed1b420d206b1c042d7f8e9975c0dc5911b88c595f668765b99e222d010ad4822da
|
7
|
+
data.tar.gz: 5da054dfbf70f06d23eb9b13cccd1efd454f455e9a1fc53c709f959c354acfb2f8ec38b5f6dab164a6cc42e4cfa37612d4836342ef3f9fc2e46e52f786ec2ca3
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sscharter (0.5.
|
4
|
+
sscharter (0.5.4)
|
5
5
|
filewatcher (~> 2.0)
|
6
6
|
launchy (~> 2.5)
|
7
7
|
rubyzip (~> 2.3)
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
module_methods (~> 0.1.0)
|
17
17
|
launchy (2.5.2)
|
18
18
|
addressable (~> 2.8)
|
19
|
-
minitest (5.22.
|
19
|
+
minitest (5.22.3)
|
20
20
|
module_methods (0.1.0)
|
21
21
|
public_suffix (5.0.4)
|
22
22
|
rake (13.1.0)
|
data/lib/sscharter/version.rb
CHANGED
data/lib/sscharter.rb
CHANGED
data/tutorial/tutorial.md
CHANGED
@@ -221,6 +221,24 @@ If you need to change the port to 1314 for example, you need to run
|
|
221
221
|
bundle exec sscharter serve 1314
|
222
222
|
```
|
223
223
|
|
224
|
+
> [!TIP]
|
225
|
+
> The default settings of Sunniesnow are tuned for gameplay instead of charting,
|
226
|
+
> so you may want to change some settings to help you write the chart.
|
227
|
+
> Here are some useful settings:
|
228
|
+
>
|
229
|
+
> - Enable [`autoplay`](https://sunniesnow.github.io/game/help.html#autoplay).
|
230
|
+
> - Disable [`fullscreen-on-start`](https://sunniesnow.github.io/game/help.html#fullscreen-on-start).
|
231
|
+
> Fullscreen is good for gamplay but is disturbing for charting.
|
232
|
+
> - Enable [`debug`](https://sunniesnow.github.io/game/help.html#debug),
|
233
|
+
> and you can see the current progress of the music, the judgement region of notes,
|
234
|
+
> the coordinates of where you click your mouse, etc.
|
235
|
+
> - Use the option [`start`](https://sunniesnow.github.io/game/help.html#start)
|
236
|
+
> to start the music at a certain time.
|
237
|
+
> You can use the progress you got from debug mode UI to set it.
|
238
|
+
> - Enable [`se-with-music`](https://sunniesnow.github.io/game/help.html#se-with-music)
|
239
|
+
> and set [`chart-offset`](https://sunniesnow.github.io/game/help.html#chart-offset) to zero.
|
240
|
+
> This will make sure the timing of sound effects is precise no matter how much latency your computer has.
|
241
|
+
|
224
242
|
## What does each line in `src/master.rb` mean?
|
225
243
|
|
226
244
|
Now, you are ready to write the chart!
|
@@ -505,13 +523,22 @@ Here is a list of all the note types you can use:
|
|
505
523
|
| flick | `flick x, y, direction, text=""` | `f` |
|
506
524
|
| background note | `bg_note x, y, duration_beats=0, text=""` | |
|
507
525
|
|
508
|
-
|
526
|
+
The duration of a background note can be zero, but that of a hold note cannot.
|
509
527
|
|
510
|
-
|
528
|
+
The direction of a flick note can be a number specifying the angle in **radians**
|
511
529
|
(zero is to the right, and increasing angle is counterclockwise),
|
512
|
-
or it can be one of the following
|
513
|
-
|
514
|
-
|
530
|
+
or it can be one of the following symbols:
|
531
|
+
|
532
|
+
| Symbol | Direction |
|
533
|
+
|-|-|
|
534
|
+
| `:right`, `:r` | $0$ |
|
535
|
+
| `:up_right`, `:ur`, `:ru` | $\pi/4$ |
|
536
|
+
| `:up`, `:u` | $\pi/2$ |
|
537
|
+
| `:up_left`, `:ul`, `:lu` | $3\pi/4$ |
|
538
|
+
| `:left`, `:l` | $\pi$ |
|
539
|
+
| `:down_left`, `:dl`, `:ld` | $-3\pi/4$ |
|
540
|
+
| `:down`, `:d` | $-\pi/2$ |
|
541
|
+
| `:down_right`, `:dr`, `:rd` | $-\pi/4$ |
|
515
542
|
|
516
543
|
> Here is another notice for those who are not familiar with Ruby.
|
517
544
|
> In Ruby, the parentheses around the arguments of a method call can be omitted.
|
@@ -571,8 +598,9 @@ Most of them only has one optional argument, specifying the duration.
|
|
571
598
|
The big text is different in that it needs an additional required argument,
|
572
599
|
specifying the contents of the texts.
|
573
600
|
|
574
|
-
|
575
|
-
|
601
|
+
> [!NOTE]
|
602
|
+
> The mathematical details about the shapes of these patterns are
|
603
|
+
> specified in [the documentation](https://sunniesnow.github.io/doc/chart.html).
|
576
604
|
|
577
605
|
You may now try adding a grid pattern to the chart:
|
578
606
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sscharter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ulysses Zhan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|