Skip to content

Commit

Permalink
[#122] Release version 0.5.0 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchaldir committed Jun 17, 2021
1 parent 4492273 commit 3a6e015
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 22 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ See [an example](resources/tilemaps/example.otm).

The rendered color image with [ambient occlusion](https://en.wikipedia.org/wiki/Ambient_occlusion) & lighting:

![Color image](../assets/v0.4/color.png)
![Color image](../assets/v0.5/color.png)

And the depth image:

![Depth Image](../assets/v0.4/depth.png)
![Depth Image](../assets/v0.5/depth.png)

The editor uses the GUI library [Iced](https://github.com/hecrj/iced).
The editor uses the GUI library [Iced](https://github.com/hecrj/iced):

![Editor with Iced](../assets/v0.5/editor.png)
35 changes: 25 additions & 10 deletions resources/styles/furniture/chair.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,29 @@ component:
- Proportional:
weight: 1
component:
Rendering:
Shape:
shape_factory:
RoundedRectangle: 0.5
color:
ConstantColor: "#432711"
depth:
InterpolateMany:
- [ 0.8,20 ]
- [ 1.0,1 ]
Layers:
- Rendering:
Shape:
shape_factory:
RoundedRectangle: 0.5
color:
ConstantColor: "#432711"
depth:
InterpolateMany:
- [ 0.8,20 ]
- [ 1.0,1 ]
- Border:
UniformBorder:
border: 30
component:
Rendering:
Shape:
shape_factory:
RoundedRectangle: 0.5
color:
ConstantColor: "#FF0000"
depth:
InterpolateMany:
- [ 0.8,60 ]
- [ 1.0,21 ]
front: None
24 changes: 21 additions & 3 deletions resources/tilemaps/example.ofm
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,27 @@ furniture:
- id: 3
style_id: 4
start:
x: 9
x: 8
y: 4
size:
width: 1
height: 1
width: 2
height: 2
front_side: Bottom
- id: 4
style_id: 0
start:
x: 8
y: 6
size:
width: 4
height: 2
front_side: Top
- id: 5
style_id: 4
start:
x: 10
y: 4
size:
width: 2
height: 2
front_side: Bottom
2 changes: 1 addition & 1 deletion resources/tilemaps/example.otm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ E ;Wa,2 ;D,2,0,0;Wa,2 ;E ;E ;E
E ;Wa,0 ;Wa,0 ;Wa,0 ;Wa,0 ;Wa,0 ;E
E ;E ;E ;E ;E ;E ;E
E ;E ;E ;E ;E ;E ;E ;E
E ;Wa,0 ;E ;E ;Wa,2 ;E ;Wa,0 ;E
E ;Wa,0 ;E ;E ;D,2,0,1;E ;D,0,0,1;E
E ;Wa,0 ;E ;E ;Wa,2 ;E ;Wa,0 ;E
E ;Wa,0 ;E ;E ;Wa,2 ;E ;Wa,0 ;E
E ;E ;E ;E ;E ;E ;E ;E
2 changes: 1 addition & 1 deletion texture_generation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "texture_generation"
version = "0.4.0"
version = "0.5.0"
authors = ["Orchaldir <orchaldir@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion texture_generation_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "texture_generator"
version = "0.4.0"
version = "0.5.0"
authors = ["Orchaldir <orchaldir@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion tilemap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tilemap"
version = "0.4.0"
version = "0.5.0"
authors = ["Orchaldir <orchaldir@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion tilemap_editor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tilemap_editor"
version = "0.4.0"
version = "0.5.0"
authors = ["Orchaldir <orchaldir@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion tilemap_io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tilemap_io"
version = "0.4.0"
version = "0.5.0"
authors = ["Orchaldir <orchaldir@gmail.com>"]
edition = "2018"

Expand Down

0 comments on commit 3a6e015

Please sign in to comment.