add support for Bitsy 7.10; turn dithering off by default; more help text

This commit is contained in:
Max Bradbury 2021-11-06 11:15:34 +00:00
parent a2c92b1e12
commit 7c444cb35d
3 changed files with 16 additions and 9 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "pixsy"
version = "0.75.0"
version = "0.710.0"
description = "convert images to Bitsy rooms"
authors = ["Max Bradbury <max@tinybird.info>"]
edition = "2018"
@ -12,8 +12,8 @@ crate-type = ["cdylib"]
[dependencies]
base64 = "^0.12.3"
bitsy-parser = "^0.75.0"
bitsy-parser = "^0.710.0"
image = "^0.23.7"
json = "^0.12.4"
lazy_static = "^1.4.0"
wasm-bindgen = "=0.2.64" # newer versions are bugged...
wasm-bindgen = "^0.2.78"

View File

@ -10,7 +10,7 @@ html(lang="en-gb")
header
h1 pixsy
p.
version 0.75.0
version 0.710.0
|
#[a(href="http://tinybird.info/image-to-bitsy/old/" target="_blank") old version]
|
@ -20,15 +20,21 @@ html(lang="en-gb")
.pages
.page#start
p.
#[b pixsy] is a tool for #[a(href="http://bitsy.org/") Bitsy Game Maker]
#[b pixsy] is a tool for #[a(href="https://bitsy.org/") Bitsy Game Maker]
that allows you to generate a room from an image and add it to your game.
p this version is compatible with Bitsy version 7.5 and earlier.
p.
this version is tested to be compatible with Bitsy version 7.10 and earlier.
later versions may also work fine, but make sure you have a backup of your game data.
p.
#[b pixsy] does not currently work via the Itch desktop program.
if pixsy does not work for you, please try the
#[a(href="http://tinybird.info/image-to-bitsy/old/") old version] instead.
p.
instructions can be found on the
if your image is already the correct size for a bitsy room (128×128),
simply leave the zoom slider at the default setting.
you can draw your room in a pixel-art program and import it here.
p.
full instructions can be found on the
#[a(href="https://ruin.itch.io/pixsy/") itch.io page] -
scroll down to "how to use".
@ -89,8 +95,9 @@ html(lang="en-gb")
input#colour-foreground(type="color" value="#ffffff")
label
input#dither(type="checkbox" checked=true)
input#dither(type="checkbox")
| dither
p (approximates a greyscale effect)
br
button.pagination.prev#back-to-image previous

View File

@ -41,7 +41,7 @@ lazy_static! {
image: None,
room_name: None,
palette: SelectedPalette::None,
dither: true,
dither: false,
brightness: 0,
}
);