GodotModding / GodotModding/godot-mod-loader

Manifest - providing image

Open
#411 0 comments 0 reactions 0 assignees View on GitHub
3.x 4.x bug
Dominant language
GDScript
Stars
675
Forks
54
Avg merge
2m
Merged PRs (30d)
2

Description

So in `mod_manifest.gd` we specify the image as
```
var image: CompressedTexture2D
```
Which in itself is a problem, as we are providing the input from `manifest.json` file, which should be a path to image file,
while CompressedTexture2D is *.ctex format. At least I didn't found the part of the code where we would try to load file from path.

Also I think it's better to leave var type as String as when exporting mod it will automaticly create import file and stor it as ctex file format. So only change in manifest `image` to `imagePath` and var type to String

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.