From 8f0bbb9e9c0df14ca3e2efe610a26403d2f52307 Mon Sep 17 00:00:00 2001 From: mattuna15 Date: Thu, 20 Feb 2020 10:48:44 +0000 Subject: [PATCH 1/3] Update ex_002.md Amended example code --- docs/ex_002.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ex_002.md b/docs/ex_002.md index a3bed8d..48a7cf4 100644 --- a/docs/ex_002.md +++ b/docs/ex_002.md @@ -73,7 +73,7 @@ The rules and constraints for formatting an Imageset will vary depending on scre In 1BPP Layer modes, foreground and background colors for each onscreen tile can be specified during the Tilemap stage. We'll be looking at Tilemaps in the next example, but for now we'll just format this Imageset to 1BPP and not worry too hard about the Palette: ```.sh -aloevera -p project.av format text_set_1 palette_1 1 +aloevera -p project.av imageset format text_set_1 palette_1 1 ``` The first 2 arguments are the ids of the Imageset and Palette specified in earlier commands, while the `1` specifies a target pixel depth of 1BPP (use `aloevera imageset format --help` to see all possible values). From 2b5e77094ed7bd38bcbcf41fb1c87e095be29e79 Mon Sep 17 00:00:00 2001 From: mattuna15 Date: Thu, 20 Feb 2020 15:20:49 +0000 Subject: [PATCH 2/3] Update ex_002.md --- docs/ex_002.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ex_002.md b/docs/ex_002.md index a3bed8d..79ad0cb 100644 --- a/docs/ex_002.md +++ b/docs/ex_002.md @@ -84,7 +84,7 @@ That should be it for our Imageset import! As before, let's run the `asm` comman ```.sh aloevera -p project.av asm ./output/ -aloevera -p project.av asm -f basic./output/ +aloevera -p project.av asm -f basic ./output/ ``` Since the X16 starts up in Mode 0, i.e. 1BPP Tiled-Text Mode, we should just be able to replace the cold-boot tileset data with our assembled data and watch the font change. Code to do this is found in the [tile_text sample](../samples/tile_text), and the results are as follows: From 0f7fdab56e15351f321b8e658cdf3ff0e95122ab Mon Sep 17 00:00:00 2001 From: mattuna15 Date: Thu, 20 Feb 2020 16:12:18 +0000 Subject: [PATCH 3/3] Update ex_004.md remove space --- docs/ex_004.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ex_004.md b/docs/ex_004.md index 51ac2b1..925f504 100644 --- a/docs/ex_004.md +++ b/docs/ex_004.md @@ -27,7 +27,7 @@ The 'multiple of 16' rule is perhaps the most confusing here. VERA stores palett The code and makefile for this example can be found in the [tile_wall sample](../samples/tile_wall), and we'll rush through the Aloevera commands here as there should be nothing new. The Palette can be imported directly from the image data, and the only difference is that we're going to set the tile width/heights to 16 x 16 and we'll format the Imageset to 4BPP, since we have fewer than 16 colours in the palette: ```.sh -aloevera -p project.av palette import tile_w all_pal tile_wall-imageset-4bpp.png +aloevera -p project.av palette import tile_wall_pal tile_wall-imageset-4bpp.png aloevera -p project.av imageset import wall_tiles 16 16 tile_wall-imageset-4bpp.png aloevera -p project.av imageset format wall_tiles tile_wall_pal 4 ```