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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 065ee5d5dcbb9b881ef8c302c900643b4ab3f40d089ffed2e9eb36b3e5d219c7
4
- data.tar.gz: 98279a939f070e49d4bccdc5c587e4e619243f8646d1300900dc5edf1b1c5724
3
+ metadata.gz: 10b5abf2310eeeec8d15d4e26b0bb052057af5a7ec1f8831775fce9c1c824a3e
4
+ data.tar.gz: edab85fb7449400947f30c182aa4c6be2ce1ba1e968a19a921fdabee4a406ba9
5
5
  SHA512:
6
- metadata.gz: 1dccdf3e5bea18e1c15a9202f5ae57cd3620c04a7287f24a464a7363738de02819608a81a693a851eedd8ef1928bf9ac22a248cb61df617b718ef44a79af4e0d
7
- data.tar.gz: 9973f1da573b1e3abbd6b5b8da220febdabe9dbf31d50ba53ff4a44174389d2e26e2742c3e4b353af7bfe922fb6c7f146d48198b2b248e28a476bf4b7ea7d29a
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.3)
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.0)
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sunniesnow
4
4
  class Charter
5
- VERSION = "0.5.3"
5
+ VERSION = "0.5.4"
6
6
  end
7
7
  end
data/lib/sscharter.rb CHANGED
@@ -320,6 +320,7 @@ class Sunniesnow::Charter
320
320
  @difficulty_name = ''
321
321
  @difficulty_color = '#000000'
322
322
  @difficulty = ''
323
+ @difficulty_sup = ''
323
324
  @title = ''
324
325
  @artist = ''
325
326
  @charter = ''
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
- Here are some notices:
526
+ The duration of a background note can be zero, but that of a hold note cannot.
509
527
 
510
- - The direction of a flick note can be a number specifying the angle in **radians**
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 8 symbols:
513
- `:right`, `:up_right`, `:up`, `:up_left`, `:left`, `:down_left`, `:down`, `:down_right`.
514
- - The duration of a background note can be zero, but that of a hold note cannot.
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
- The mathematical details about the shapes of these patterns are
575
- specified in [the documentation](https://sunniesnow.github.io/doc/chart.html).
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.3
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-02-06 00:00:00.000000000 Z
11
+ date: 2024-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip