You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"shortDescription": "Saving and loading is now 5x easier with this extension (only works for saving an objects behavior).\n\n\nI WILL BE MAKING SAVE AND LOAD FOR VARIABLES (AND MAYBE SLIDERS) SOON. ",
12
+
"version": "1.0.0",
13
+
"description": "SAVING AND LOADING AN OBJECT'S POSITION GREAT FOR ADDING A SAVE N' LOAD SYSTEM TO YOUR GAME.",
14
+
"tags": [
15
+
"save",
16
+
"load",
17
+
"game mechanic"
18
+
],
19
+
"authorIds": [
20
+
"5ppw2lKgwrM6YND0J3wy72OkMg02"
21
+
],
22
+
"dependencies": [],
23
+
"globalVariables": [],
24
+
"sceneVariables": [
25
+
{
26
+
"name": "PLAYERSPOSITIONX",
27
+
"type": "number",
28
+
"value": 0
29
+
},
30
+
{
31
+
"name": "PLAYERSPOSITIONY",
32
+
"type": "number",
33
+
"value": 0
34
+
}
35
+
],
36
+
"eventsFunctions": [
37
+
{
38
+
"description": "Saves the object's position.",
39
+
"fullName": "Save object's position",
40
+
"functionType": "Action",
41
+
"name": "SAVE",
42
+
"sentence": "Save_PARAM1_position",
43
+
"events": [
44
+
{
45
+
"type": "BuiltinCommonInstructions::Standard",
46
+
"conditions": [],
47
+
"actions": [
48
+
{
49
+
"type": {
50
+
"value": "EcrireFichierExp"
51
+
},
52
+
"parameters": [
53
+
"\"PLAYERSPOSITION\"",
54
+
"\"X\"",
55
+
"PLAYERSPOSITIONX"
56
+
]
57
+
},
58
+
{
59
+
"type": {
60
+
"value": "EcrireFichierExp"
61
+
},
62
+
"parameters": [
63
+
"\"PLAYERSPOSITION\"",
64
+
"\"Y\"",
65
+
"PLAYERSPOSITIONY"
66
+
]
67
+
}
68
+
]
69
+
}
70
+
],
71
+
"parameters": [
72
+
{
73
+
"description": "Object that is going to be saved",
74
+
"name": "Object_that_is_going_to_be_saved",
75
+
"type": "objectList"
76
+
}
77
+
],
78
+
"objectGroups": []
79
+
},
80
+
{
81
+
"description": "Checks the object's position.",
82
+
"fullName": "Check object's position",
83
+
"functionType": "Action",
84
+
"name": "PLAYERSPOSITION",
85
+
"sentence": "_PARAM1_position",
86
+
"events": [
87
+
{
88
+
"type": "BuiltinCommonInstructions::Standard",
89
+
"conditions": [],
90
+
"actions": [
91
+
{
92
+
"type": {
93
+
"value": "SetNumberVariable"
94
+
},
95
+
"parameters": [
96
+
"PLAYERSPOSITIONX",
97
+
"=",
98
+
"Object.X()"
99
+
]
100
+
},
101
+
{
102
+
"type": {
103
+
"value": "SetNumberVariable"
104
+
},
105
+
"parameters": [
106
+
"PLAYERSPOSITIONY",
107
+
"=",
108
+
"Object.Y()"
109
+
]
110
+
}
111
+
]
112
+
}
113
+
],
114
+
"parameters": [
115
+
{
116
+
"description": "Object",
117
+
"name": "Object",
118
+
"type": "objectList"
119
+
}
120
+
],
121
+
"objectGroups": []
122
+
},
123
+
{
124
+
"description": "(If there is a save) loads the objects position.",
125
+
"fullName": "Load object's position",
126
+
"functionType": "Action",
127
+
"name": "LOAD",
128
+
"sentence": "Load_PARAM1_position",
129
+
"events": [
130
+
{
131
+
"type": "BuiltinCommonInstructions::Standard",
132
+
"conditions": [],
133
+
"actions": [
134
+
{
135
+
"type": {
136
+
"value": "ReadNumberFromStorage"
137
+
},
138
+
"parameters": [
139
+
"\"PLAYERSPOSITION\"",
140
+
"\"X\"",
141
+
"",
142
+
"PLAYERSPOSITIONX"
143
+
]
144
+
},
145
+
{
146
+
"type": {
147
+
"value": "ReadNumberFromStorage"
148
+
},
149
+
"parameters": [
150
+
"\"PLAYERSPOSITION\"",
151
+
"\"Y\"",
152
+
"",
153
+
"PLAYERSPOSITIONY"
154
+
]
155
+
},
156
+
{
157
+
"type": {
158
+
"value": "Delete"
159
+
},
160
+
"parameters": [
161
+
"Object_that_is_going_to_be_loaded",
162
+
""
163
+
]
164
+
},
165
+
{
166
+
"type": {
167
+
"value": "Create"
168
+
},
169
+
"parameters": [
170
+
"",
171
+
"Object_that_is_going_to_be_loaded",
172
+
"PLAYERSPOSITIONX",
173
+
"PLAYERSPOSITIONY",
174
+
""
175
+
]
176
+
}
177
+
]
178
+
}
179
+
],
180
+
"parameters": [
181
+
{
182
+
"description": "Object that is going to be loaded",
183
+
"name": "Object_that_is_going_to_be_loaded",
184
+
"type": "objectList"
185
+
}
186
+
],
187
+
"objectGroups": []
188
+
},
189
+
{
190
+
"description": "Checks if the save doesn't exist.",
0 commit comments