Compare commits

..

3 Commits

4 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "bitsy-parser"
version = "0.71.6"
version = "0.72.0"
authors = ["Max Bradbury <max@tinybird.info>"]
edition = "2018"
description = "A parser and utilities for working with Bitsy game data"

View File

@ -1,6 +1,5 @@
# bitsy-parser
![Rust](https://github.com/synth-ruiner/bitsy-parser/workflows/Rust/badge.svg)
![](https://img.shields.io/badge/license-MIT-blueviolet.svg)
[![Crates.io](https://img.shields.io/crates/v/bitsy-parser.svg)](https://crates.io/crates/bitsy-parser)

View File

@ -189,7 +189,7 @@ pub mod item {
use crate::image::Image;
pub fn key() -> Item {
Item {
Item {
id: "1".to_string(),
animation_frames: vec![
Image { pixels: vec![
@ -202,10 +202,10 @@ pub mod item {
0, 0, 0, 1, 0, 0, 0, 0,
0, 0, 0, 1, 1, 0, 0, 0
]}
],
name: Some("key".to_string()),
dialogue_id: Some("2".to_string()),
colour_id: None
],
name: Some("key".to_string()),
dialogue_id: Some("2".to_string()),
colour_id: None
}
}
}
@ -537,7 +537,7 @@ pub fn room() -> Room {
pub fn game_default() -> Game {
Game {
name: "Write your game's title here".to_string(),
version: Some(Version { major: 7, minor: 1 }),
version: Some(Version { major: 7, minor: 2 }),
room_format: Some(RoomFormat::CommaSeparated),
room_type: RoomType::Room,
font: Font::AsciiSmall,

View File

@ -1,6 +1,6 @@
Write your game's title here
# BITSY VERSION 7.1
# BITSY VERSION 7.2
! ROOM_FORMAT 1