-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.caw.js
More file actions
123 lines (109 loc) · 3.36 KB
/
Copy pathconfig.caw.js
File metadata and controls
123 lines (109 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import {
ADDON_CATEGORY,
ADDON_TYPE,
PLUGIN_TYPE,
PROPERTY_TYPE,
} from "./template/enums.js";
import _version from "./version.js";
export const addonType = ADDON_TYPE.PLUGIN;
export const type = PLUGIN_TYPE.OBJECT;
export const id = "sample_addon";
export const name = "Sample Addon";
export const version = _version;
export const minConstructVersion = undefined;
export const author = "skymen";
export const website = "https://www.construct.net";
export const documentation = "https://www.construct.net";
export const description = "Description";
export const category = ADDON_CATEGORY.GENERAL;
export const hasDomside = false;
export const files = {
extensionScript: {
enabled: false, // set to false to disable the extension script
watch: true, // set to true to enable live reload on changes during development
targets: ["x86", "x64"],
// you don't need to change this, the build step will rename the dll for you. Only change this if you change the name of the dll exported by Visual Studio
name: "MyExtension",
},
fileDependencies: [],
remoteFileDependencies: [
// {
// src: "https://example.com/api.js", // Must use https:// or same-protocol // URLs. http:// is not allowed.
// type: "" // Optional: "" or "module". Empty string or omit for classic script.
// }
],
cordovaPluginReferences: [],
cordovaResourceFiles: [],
};
// categories that are not filled will use the folder name
export const aceCategories = {};
export const info = {
// icon: "icon.svg",
// PLUGIN world only
// defaultImageUrl: "default-image.png",
Set: {
// COMMON to all
CanBeBundled: true,
IsDeprecated: false,
GooglePlayServicesEnabled: false,
// BEHAVIOR only
IsOnlyOneAllowed: false,
// PLUGIN world only
IsResizable: false,
IsRotatable: false,
Is3D: false,
HasImage: false,
IsTiled: false,
SupportsZElevation: false,
SupportsColor: false,
SupportsEffects: false,
MustPreDraw: false,
// PLUGIN object only
IsSingleGlobal: true,
},
// PLUGIN only
AddCommonACEs: {
Position: false,
SceneGraph: false,
Size: false,
Angle: false,
Appearance: false,
ZOrder: false,
},
};
export const properties = [
/*
{
type: PROPERTY_TYPE.INTEGER,
id: "property_id",
options: {
initialValue: 0,
interpolatable: false,
// minValue: 0, // omit to disable
// maxValue: 100, // omit to disable
// for type combo only
// items: [
// {itemId1: "item name1" },
// {itemId2: "item name2" },
// ],
// dragSpeedMultiplier: 1, // omit to disable
// for type object only
// allowedPluginIds: ["Sprite", "<world>"],
// for type link only
// linkCallback: function(instOrObj) {},
// linkText: "Link Text",
// callbackType:
// "for-each-instance"
// "once-for-type"
// for type info only
// infoCallback: function(inst) {},
// for type projectfile only (plugins only, Addon SDK v2, r426+)
// A dropdown list from which any project file in the project can be chosen.
// The property value at runtime is a relative path to fetch the project file from.
// filter: ".txt", // optional: filter list by file extension (e.g., ".txt" to only list .txt files)
},
name: "Property Name",
desc: "Property Description",
}
*/
];