Skip to content

images MUST be in directory assets #28

@GavinB-hpe

Description

@GavinB-hpe

The tutorial text says re. the location of city.png :

directory, called assets (you can also name it res, or any name you like)

However the code does not work unless the directory is called assets :

Unable to load texture: resource not loaded by `FileLoader`: "textures/city.png"
panic: value method github.com/EngoEngine/engo/common.Texture.Width called using nil *Texture pointer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions