added license information screeen and resources
This commit is contained in:
parent
21d7cf417a
commit
d437b4809f
23 changed files with 525 additions and 159 deletions
27
resources/asset_info.gd
Normal file
27
resources/asset_info.gd
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
extends Resource
|
||||
class_name AssetInfo
|
||||
|
||||
enum AssetType {
|
||||
MUSIC,
|
||||
SFX,
|
||||
THREEDIMENSIONAL,
|
||||
TEXTURES,
|
||||
FONTS
|
||||
}
|
||||
|
||||
enum LicenseType {
|
||||
CC0,
|
||||
CCBY,
|
||||
CCBYSA,
|
||||
MIT,
|
||||
GPL2,
|
||||
GPL3,
|
||||
OFL,
|
||||
NONE
|
||||
}
|
||||
|
||||
@export var asset_type: AssetType = AssetType.MUSIC
|
||||
@export var license_type: LicenseType = LicenseType.MIT
|
||||
@export var asset_name: String = ""
|
||||
@export var author_name: String = ""
|
||||
@export var link: String = "https://example.com"
|
||||
11
resources/asset_info/DaysOne.tres
Normal file
11
resources/asset_info/DaysOne.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="Resource" script_class="AssetInfo" load_steps=2 format=3 uid="uid://ckcssxj1nvkbo"]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/asset_info.gd" id="1_6piw6"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_6piw6")
|
||||
asset_type = 4
|
||||
license_type = 6
|
||||
asset_name = "Days One"
|
||||
author_name = "Jovanny Lemonad"
|
||||
link = "https://fonts.google.com/specimen/Days+One"
|
||||
11
resources/asset_info/kenney_ui_pack.tres
Normal file
11
resources/asset_info/kenney_ui_pack.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="Resource" script_class="AssetInfo" load_steps=2 format=3 uid="uid://dqe782fxpsnww"]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/asset_info.gd" id="1_up8c2"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_up8c2")
|
||||
asset_type = 3
|
||||
license_type = 3
|
||||
asset_name = "UI Pack 2.0"
|
||||
author_name = "Kenney"
|
||||
link = "https://kenney.nl/assets/ui-pack"
|
||||
11
resources/asset_info/unexplored_fields.tres
Normal file
11
resources/asset_info/unexplored_fields.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="Resource" script_class="AssetInfo" load_steps=2 format=3 uid="uid://bxaxwsg2vubd8"]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/asset_info.gd" id="1_me3ee"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_me3ee")
|
||||
asset_type = 0
|
||||
license_type = 1
|
||||
asset_name = "Unexplored Fields"
|
||||
author_name = "Hello World"
|
||||
link = "https://example.com"
|
||||
Loading…
Add table
Add a link
Reference in a new issue