-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode0.js
46 lines (32 loc) · 1.46 KB
/
code0.js
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
gdjs.New_32sceneCode = {};
gdjs.New_32sceneCode.GDNewObjectObjects1= [];
gdjs.New_32sceneCode.GDNewObjectObjects2= [];
gdjs.New_32sceneCode.GDClickTextObjects1= [];
gdjs.New_32sceneCode.GDClickTextObjects2= [];
gdjs.New_32sceneCode.conditionTrue_0 = {val:false};
gdjs.New_32sceneCode.condition0IsTrue_0 = {val:false};
gdjs.New_32sceneCode.condition1IsTrue_0 = {val:false};
gdjs.New_32sceneCode.eventsList0 = function(runtimeScene) {
{
gdjs.New_32sceneCode.condition0IsTrue_0.val = false;
{
gdjs.New_32sceneCode.condition0IsTrue_0.val = gdjs.evtTools.input.isScrollingUp(runtimeScene);
}if (gdjs.New_32sceneCode.condition0IsTrue_0.val) {
gdjs.copyArray(runtimeScene.getObjects("ClickText"), gdjs.New_32sceneCode.GDClickTextObjects1);
{runtimeScene.getVariables().getFromIndex(0).add(1);
}{for(var i = 0, len = gdjs.New_32sceneCode.GDClickTextObjects1.length ;i < len;++i) {
gdjs.New_32sceneCode.GDClickTextObjects1[i].setString("test" + gdjs.evtTools.common.toString(gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0))));
}
}}
}
};
gdjs.New_32sceneCode.func = function(runtimeScene) {
runtimeScene.getOnceTriggers().startNewFrame();
gdjs.New_32sceneCode.GDNewObjectObjects1.length = 0;
gdjs.New_32sceneCode.GDNewObjectObjects2.length = 0;
gdjs.New_32sceneCode.GDClickTextObjects1.length = 0;
gdjs.New_32sceneCode.GDClickTextObjects2.length = 0;
gdjs.New_32sceneCode.eventsList0(runtimeScene);
return;
}
gdjs['New_32sceneCode'] = gdjs.New_32sceneCode;