Compare commits

...

2 Commits

Author SHA1 Message Date
fbb2d290e3 [jasper/world/studio] Simplify Person template
All checks were successful
Build / build (push) Successful in 1m29s
2025-05-31 00:31:46 -05:00
00dbce37fb [jasper/project] Flesh out side view of player 2025-05-30 23:40:32 -05:00
4 changed files with 409 additions and 1540 deletions

View File

@ -2,18 +2,51 @@ K1;56759edb-78b4-4108-b932-3cc5759b3921;O1;net.drinkingtea.nostalgia.gfx.Palette
"colorNames" : "colorNames" :
[ [
"Transparent", "Transparent",
"White" "Shoe",
"Black",
"Skin",
"Brown",
"Red",
"Trousers",
"Backpack"
], ],
"pages" : "pages" :
[ [
{ {
"colors" : "colors" :
[ [
{}, {
"b" : 5,
"g" : 5,
"r" : 5
},
{ {
"b" : 31, "b" : 31,
"g" : 31, "g" : 31,
"r" : 31 "r" : 31
},
{},
{
"b" : 20,
"g" : 20,
"r" : 23
},
{
"b" : 8,
"g" : 8,
"r" : 10
},
{
"g" : 6,
"r" : 24
},
{
"b" : 10,
"g" : 5
},
{
"b" : 20,
"g" : 15
} }
], ],
"name" : "Day" "name" : "Day"
@ -21,11 +54,38 @@ K1;56759edb-78b4-4108-b932-3cc5759b3921;O1;net.drinkingtea.nostalgia.gfx.Palette
{ {
"colors" : "colors" :
[ [
{}, {
"b" : 5,
"g" : 5,
"r" : 5
},
{ {
"b" : 31, "b" : 31,
"g" : 31, "g" : 31,
"r" : 31 "r" : 31
},
{},
{
"b" : 20,
"g" : 20,
"r" : 23
},
{
"b" : 8,
"g" : 8,
"r" : 10
},
{
"g" : 6,
"r" : 24
},
{
"b" : 10,
"g" : 5
},
{
"b" : 20,
"g" : 15
} }
], ],
"name" : "Night" "name" : "Night"

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,6 @@ static class: public studio::Module {
ox::Vector<ox::UPtr<studio::ItemTemplate>> itemTemplates(studio::Context&) const noexcept override { ox::Vector<ox::UPtr<studio::ItemTemplate>> itemTemplates(studio::Context&) const noexcept override {
ox::Vector<ox::UniquePtr<studio::ItemTemplate>> out; ox::Vector<ox::UniquePtr<studio::ItemTemplate>> out;
// Person TileSheet // Person TileSheet
{
ngfx::TileSheetV5 ts; ngfx::TileSheetV5 ts;
ts.bpp = 4; ts.bpp = 4;
auto const addSheet = [&ts]( auto const addSheet = [&ts](
@ -50,12 +49,10 @@ static class: public studio::Module {
}; };
addSheetSet("Front"); addSheetSet("Front");
addSheetSet("Back"); addSheetSet("Back");
addSheetSet("Left"); addSheetSet("Side");
addSheetSet("Right");
out.emplace_back(ox::make<studio::ItemTemplateT<ngfx::TileSheetV5>>( out.emplace_back(ox::make<studio::ItemTemplateT<ngfx::TileSheetV5>>(
"Jasper World Person", "Jasper World Person",
std::move(ts))); std::move(ts)));
}
return out; return out;
} }