Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « Examples - github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee84b9d0d877b2f4d52c88e5458568facd836396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# NesTiler usage examples

[**nesasm CE**](https://github.com/ClusterM/nesasm) and **make** are required to compile those examples.

## nrom_simple
Very simple example with only one full screen image. Demo image is very simple and uses <256 tiles, so there are no need for any bankswitching.

![Image](../TestImages/Images/blaster_master_right.png)

## nrom_simple_offset
Same as **nrom_simple** but image is cropped, so attribute table bytes are displaced (**--attribute-table-y-offset-#** option).

## nrom_group_scroll
This example uses two images with shared pattern table (**--share-pattern-table** option), <256 tiles totally, so it's possible to scroll them.

![Image](../TestImages/Images/blaster_master_left.png)![Image](../TestImages/Images/blaster_master_right.png)

## nrom_split
This example uses single image splitted in two horizontally, each part uses it's own pattern table, <256 tiles each. Base nametable switches during image rendering, so it's possible to use 512 tiles in total.

![Image](../TestImages/Images/jurassic.png)

## nrom_split_lossy
Same as **nrom_split** but with сomplicated image that doesn't fit NES colors limitations, so NesTiler tries to optimize it and dismiss some palettes and colors (**--lossy** option).

![Image](../TestImages/Images/me.png) -> ![Image](https://user-images.githubusercontent.com/4236181/197870408-4472a362-2829-4c74-baaf-1c27c082d070.png)


## mmc3_split4
This example uses single image splitted into four horizontally. Each part uses it's own pattern table, <256 tiles each. MMC3 IRQs and bankswitching used to switch pattern tables on the respective lines, so it's possible to remove 256 tiles limitation at all. This example contains tricky code to avoid visual artefacts.

![Image](../TestImages/Images/myatej.gif)

## mmc3_split2_animation 
Full screen animation. Two images splitted into two parts horizontally. MMC3 IRQs and bankswitching used to switch pattern tables on the respective lines.

## sprites8x8
Simple 8x8 sprites example. Also, this example shows how sprites with different colors combined into single palette.

## sprites8x16
Simple 8x16 sprites example.