Noah Petherbridge
640e75ba4d
* You can now browse for a custom wallpaper image to use with your levels. A platform-native file picker dialog is used (no WASM support) * In the New/Edit Level Properties dialog, the Wallpaper drop-down includes an option to browse for a custom map. * When editing an existing level: the wallpaper takes effect immediately in your level once the file is picked. For NEW levels, the wallpaper will appear once the "Continue" button is pressed. * All common image types supported: png, jpeg, gif. * The wallpaper is embedded in the level using the filepath "assets/wallpapers/custom.b64img" as a Base64-encoded blob of the image data. * The `doodad show` command will list the names and sizes of files embedded in levels. `doodad show --attachment <name>` will get an attachment and print it to the console window. * To extract a wallpaper image from a level: `doodad show -a assets/wallpapers/custom.b64img | base64 -d > out.png`
29 lines
1.2 KiB
Modula-2
29 lines
1.2 KiB
Modula-2
module git.kirsle.net/apps/doodle
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
git.kirsle.net/go/audio v0.0.0-20200429055451-ae3b0695ba6f
|
|
git.kirsle.net/go/log v0.0.0-20200902035305-70ac2848949b
|
|
git.kirsle.net/go/render v0.0.0-20210104010442-b4a1979a8ba1
|
|
git.kirsle.net/go/ui v0.0.0-20200710023146-e2a561fbd04c
|
|
github.com/fsnotify/fsnotify v1.4.9
|
|
github.com/gen2brain/dlgs v0.0.0-20210406143744-f512297a108e
|
|
github.com/google/uuid v1.1.2
|
|
github.com/gopherjs/gopherjs v0.0.0-20210603182125-eeedf4a0e899 // indirect
|
|
github.com/kirsle/configdir v0.0.0-20170128060238-e45d2f54772f
|
|
github.com/robertkrimen/otto v0.0.0-20200922221731-ef014fd054ac
|
|
github.com/tomnomnom/xtermcolor v0.0.0-20160428124646-b78803f00a7e // indirect
|
|
github.com/urfave/cli/v2 v2.3.0
|
|
github.com/veandco/go-sdl2 v0.4.7
|
|
github.com/vmihailenco/msgpack v3.3.3+incompatible
|
|
golang.org/x/image v0.0.0-20210504121937-7319ad40d33e
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
|
gopkg.in/sourcemap.v1 v1.0.5 // indirect
|
|
)
|
|
|
|
// replace git.kirsle.net/go/render => /home/kirsle/SketchyMaze/deps/render
|
|
// replace git.kirsle.net/go/ui => /home/kirsle/SketchyMaze/deps/ui
|
|
// replace git.kirsle.net/go/audio => /home/kirsle/SketchyMaze/deps/audio
|