All tilesets converted to add transparency on foreground layer tiles

This commit is contained in:
SlyVTT 2023-07-10 20:22:54 +02:00
parent 66a66bae91
commit 17758d07f0
9 changed files with 9 additions and 3 deletions

View file

@ -11,8 +11,9 @@ include(Fxconv)
find_package(Gint 2.9 REQUIRED) find_package(Gint 2.9 REQUIRED)
find_package(LibProf 2.4 REQUIRED) find_package(LibProf 2.4 REQUIRED)
#set the color mode either to 1bit or 2bits #set the color mode either to 1b or 2b
set(COLORMODE_fx 2b) set(COLORMODE_fx 2b)
#set the color mode either to 2b or EGA64
set(COLORMODE_cg EGA64) set(COLORMODE_cg EGA64)
fxconv_declare_converters(assets/converters.py) fxconv_declare_converters(assets/converters.py)

View file

@ -11,7 +11,9 @@ A ce stade, on a déjà implémenté :
- [x] Affichage de la map selon la position du joueur - [x] Affichage de la map selon la position du joueur
- [x] Gestion des touches - [x] Gestion des touches
- [x] Gestion des collisions - [x] Gestion des collisions
- [x] Carte Multilayer (Background, Foreground + accessibilité / Dommages) avec transparence du calque Foreground
- [x] Personnage - [x] Personnage
- [ ] Dialogues
- [ ] Interraction - [ ] Interraction
- [ ] NPC - [ ] NPC
- [ ] Changement de map - [ ] Changement de map
@ -23,3 +25,6 @@ Les tiles sont issues de Game Boy Top-down RPG Fantasy Tileset (FREE)
[Tiles Background Assets by Gumpy Function](https://gumpyfunction.itch.io/game-boy-rpg-fantasy-tileset-free) [Tiles Background Assets by Gumpy Function](https://gumpyfunction.itch.io/game-boy-rpg-fantasy-tileset-free)
Converties en niveau de gris avec Gimp Converties en niveau de gris avec Gimp
Une version 1-bit (N&B) implémentée par Shadow15510
Une version couleur CG implémentée par Fcalva

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -33,12 +33,12 @@
2,2,2,297,298,299,300,393,394,395,396,325,2,265,266,2,301,386,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,387,2,2,2,2,2,2,2,2,2,2,2 2,2,2,297,298,299,300,393,394,395,396,325,2,265,266,2,301,386,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,387,2,2,2,2,2,2,2,2,2,2,2
</data> </data>
</layer> </layer>
<layer id="2" name="Foreground" width="48" height="24" visible="0"> <layer id="2" name="Foreground" width="48" height="24">
<data encoding="csv"> <data encoding="csv">
257,0,0,0,0,257,0,0,0,0,0,0,0,0,0,0,257,0,0,225,226,227,228,201,202,203,204,273,274,275,276,249,250,251,252,0,0,0,93,94,0,0,0,0,0,0,0,0, 257,0,0,0,0,257,0,0,0,0,0,0,0,0,0,0,257,0,0,225,226,227,228,201,202,203,204,273,274,275,276,249,250,251,252,0,0,0,93,94,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,250,251,252,225,226,227,228,0,0,0,0,273,274,275,276,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,250,251,252,225,226,227,228,0,0,0,0,273,274,275,276,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,125,126,127,128,0,0,303,350,351,303,0,0,0,350,351,0,0,0,273,274,275,276,249,250,251,252,201,202,203,204,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,125,126,127,128,0,0,303,350,351,303,0,0,0,350,351,0,0,0,273,274,275,276,249,250,251,252,201,202,203,204,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,273,274,275,276,225,226,227,228,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,184,0,0,0,0,0,0,0,0,0,0,273,274,275,276,225,226,227,228,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,302,0,130,129,166,0,0,0,0,249,250,251,252,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,201,202, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,302,0,130,129,166,0,0,0,0,249,250,251,252,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,201,202,
0,0,0,0,278,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,201,202,203,204,273,274,275,276,0,356,357,0,0,0,0,0,0,0,0,354,355,0,0,225,226, 0,0,0,0,278,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,201,202,203,204,273,274,275,276,0,356,357,0,0,0,0,0,0,0,0,354,355,0,0,225,226,
201,202,203,204,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,166,225,226,227,228,0,0,0,0,0,380,381,0,0,0,0,0,0,0,0,378,379,0,0,249,250, 201,202,203,204,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,166,225,226,227,228,0,0,0,0,0,380,381,0,0,0,0,0,0,0,0,378,379,0,0,249,250,