assets folder structure

This commit is contained in:
2023-07-05 23:34:48 +02:00
parent ae6eb96d96
commit 731548ef86
9 changed files with 3 additions and 3 deletions

View File

0
assets/images/npcs/.keep Normal file
View File

View File

View File

View File

View File

@@ -7,7 +7,7 @@ import (
func GetDefaultFontLayout() entity.FontLayout { func GetDefaultFontLayout() entity.FontLayout {
return entity.FontLayout{ return entity.FontLayout{
Path: "fonts/ArcadeClassic.ttf", Path: "assets/fonts/ArcadeClassic.ttf",
DPI: 72, DPI: 72,
Size: 24, Size: 24,
Color: color.White, Color: color.White,

View File

@@ -9,7 +9,7 @@ func (d *Domain) InitLevel() {
Name: "Level I.", Name: "Level I.",
Playgrounds: []entity.Playground{ Playgrounds: []entity.Playground{
{ {
Background: "level_1_playground_1.png", Background: "assets/images/playgrounds/level_1_playground_1.png",
Objects: []entity.Object{ Objects: []entity.Object{
{ {
ID: "test_object", ID: "test_object",
@@ -21,7 +21,7 @@ func (d *Domain) InitLevel() {
Type: entity.ObjectType{ Type: entity.ObjectType{
ID: "test_object_type", ID: "test_object_type",
RenderOptions: entity.RenderOptions{ RenderOptions: entity.RenderOptions{
Image: "test_object.png", Image: "assets/images/objects/test_object.png",
Width: 30, Width: 30,
Height: 30, Height: 30,
}, },