|
Click the gopher at the top right hand of each code snippet to run and edit the snippet in your browser. |
![]()
package main |
import ( "github.com/shasderias/ilysa" "github.com/shasderias/ilysa/beatsaber" ) |
|
func main() { |
|
|
To make these examples runnable in the browser, we use |
m, _ := beatsaber.NewMockMap(
|
|
Origins Environment, 120 BPM, no BPM blocks. |
beatsaber.EnvironmentOrigins, 120, "[]")
|
|
Create an Ilysa project with the mock map. |
p := ilysa.New(m)
|
|
Code to specify events goes here. |
|
|
Dump the JSON for the generated events. |
p.Dump()
}
|
$ go run boilerplate.go [] |
Next example: Overview.