assets folder structure
This commit is contained in:
0
assets/images/items/.keep
Normal file
0
assets/images/items/.keep
Normal file
0
assets/images/npcs/.keep
Normal file
0
assets/images/npcs/.keep
Normal file
0
assets/images/objects/.keep
Normal file
0
assets/images/objects/.keep
Normal file
0
assets/images/players/.keep
Normal file
0
assets/images/players/.keep
Normal file
0
assets/images/playgrounds/.keep
Normal file
0
assets/images/playgrounds/.keep
Normal file
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
func GetDefaultFontLayout() entity.FontLayout {
|
||||
return entity.FontLayout{
|
||||
Path: "fonts/ArcadeClassic.ttf",
|
||||
Path: "assets/fonts/ArcadeClassic.ttf",
|
||||
DPI: 72,
|
||||
Size: 24,
|
||||
Color: color.White,
|
||||
|
||||
@@ -9,7 +9,7 @@ func (d *Domain) InitLevel() {
|
||||
Name: "Level I.",
|
||||
Playgrounds: []entity.Playground{
|
||||
{
|
||||
Background: "level_1_playground_1.png",
|
||||
Background: "assets/images/playgrounds/level_1_playground_1.png",
|
||||
Objects: []entity.Object{
|
||||
{
|
||||
ID: "test_object",
|
||||
@@ -21,7 +21,7 @@ func (d *Domain) InitLevel() {
|
||||
Type: entity.ObjectType{
|
||||
ID: "test_object_type",
|
||||
RenderOptions: entity.RenderOptions{
|
||||
Image: "test_object.png",
|
||||
Image: "assets/images/objects/test_object.png",
|
||||
Width: 30,
|
||||
Height: 30,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user