好棒 NiceBaseball - 用 MIDI 鍵盤打棒球!
  • JavaScript 97%
  • CSS 2.5%
  • HTML 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-02-15 14:07:38 +08:00
assets Add files via upload 2022-02-15 01:36:32 +08:00
index.html Update index.html 2022-02-15 01:41:46 +08:00
LICENSE Initial commit 2022-02-15 01:33:35 +08:00
p5.min.js Add files via upload 2022-02-15 01:35:01 +08:00
p5.play.js Add files via upload 2022-02-15 01:35:01 +08:00
p5.sound.min.js Add files via upload 2022-02-15 01:35:01 +08:00
README.md Update README.md 2022-02-15 14:07:38 +08:00
sketch.js Add files via upload 2022-02-15 01:35:01 +08:00
style.css Add files via upload 2022-02-15 01:35:01 +08:00
webmidi.js Add files via upload 2022-02-15 01:35:01 +08:00

好棒

好棒 NiceBaseball - 用 MIDI 鍵盤打棒球!

介紹影片

https://wiwi.video/w/66xJL85u8wBSdmhkkTwocX

免安裝,直接玩

https://nicechord.com/baseball/ (需要 MIDI 鍵盤才可玩,支援 Brave / Chrome 瀏覽器)

操作

先用上面的滑桿選擇一個 MIDI 裝置。 (不支援使用一般電腦鍵盤,因為需要 MIDI 鍵盤才能有精準的力度感應)

投手:

  • 用 MIDI 鍵盤的 C#5 和 D#5 左右移動
  • 同時彈下 C5 E5 G5 (C 和弦)來投球,按下的力度和時間差會影響球路哦!

打者:

  • 彈下 C3 來揮棒

其他:

  • C4 把球丟回給投手
  • C2 重設全部分數。

你在三個出局數內,能打出幾支安打呢?


NiceBaseball

Play baseball using a MIDI keyboard!

Introduction Video

https://wiwi.video/w/66xJL85u8wBSdmhkkTwocX

Play Now!

https://nicechord.com/baseball/ (MIDI Keyboard required, tested only on Brave & Chrome)

Controls

Select a MIDI device using the slider.

Pitcher:

  • Use C#5 and D#5 on your MIDI keyboard to move left and right.
  • Play the chord C5 E5 G5 (C major triad) to pitch, use velocity and balance to control the pitch.

Batter:

  • Play C3 to swing.

Other:

  • C4 to throw ball back to the pitcher.
  • C2 to reset all scores.