Compare commits

..

62 Commits

Author SHA1 Message Date
64faf81a0d fixed reflector size & android game starting 2018-12-01 19:45:38 +05:00
3d0bbe7ca8 interface fixes 2018-12-01 16:05:43 +05:00
cee9693119 removed debug code 2018-11-30 13:19:55 +05:00
3248d72416 merged gl-reinit, try to fix crash on reiniting 2018-11-29 08:37:06 +05:00
21c4c2a685 save 2018-11-19 00:02:23 +05:00
d2431e9f1c fixes 2018-10-18 20:22:47 +05:00
99cd961d44 master 2018-10-18 13:24:17 +05:00
a9f6a9be2b working with screen resizing 2018-10-17 08:59:08 +05:00
55b042a979 working on opengl resources reinitialization 2018-10-15 17:29:14 +05:00
ce905daa85 minor fix 2018-10-05 02:34:44 +05:00
Emil Kabirov
695f4f7a6d minor fix 2018-10-05 02:24:55 +05:00
ba9cba22eb fixed bugs, added progress saving, setted MIN API to 19 2018-10-05 02:16:10 +05:00
3e3daf6c0c added kotlin plugin for successfull compilation 2018-10-05 00:08:07 +05:00
7a2f0154fb fixed some GUI issues 2018-10-04 06:55:37 +05:00
c7290d0d0f merged 2018-10-03 01:05:22 +05:00
8b2950f9fb added star highlighting, progress saving 2018-10-03 01:03:29 +05:00
650ef4f460 added new stars 2018-10-02 22:45:26 +05:00
216d85cfd7 fix 2018-08-14 18:51:34 +05:00
63049c7d27 added missing header 2018-08-14 17:01:21 +05:00
47c632946d add cpp code for sound calls 2018-08-14 16:53:02 +05:00
584b48c3ab added sound players from obj-c 2018-08-13 21:29:26 +05:00
4ff8b0b88a minor fix 2018-08-12 19:18:46 +05:00
e7fc943114 added cpp functions for sounds 2018-08-12 19:16:12 +05:00
218ac42d6e add exaple sounds for native calls 2018-08-09 20:01:49 +05:00
db6b60d304 removed unneeded data from CMakeList 2018-08-07 23:25:37 +05:00
9ea4ad4b93 minor fix 2018-08-07 23:13:18 +05:00
128c330f48 added example sounds for JNI calls 2018-08-07 23:01:35 +05:00
69cb2f7cd3 workaround to fix broken boost variant, changed minSdkVersion 2018-08-06 21:51:51 +05:00
b4b42561eb fixed debug background images names 2018-08-03 23:55:41 +05:00
ea6e4ff654 Major changes 2018-07-23 01:56:46 +05:00
d605cf62f6 Merge branch 'master' of gitlab.fishrungames.com:salmon-engine-projects/double-hit-balls 2018-07-22 16:36:35 +05:00
b054872af9 Ading menu 2018-07-22 16:36:06 +05:00
5af1984671 add abi filtres 2018-07-19 16:48:37 +05:00
4e35c0e218 Remove console output 2018-07-14 16:53:59 +05:00
7d411110a6 Prepare for Android 2018-07-14 15:49:31 +05:00
2c8440db52 Adjust for Android 2018-07-14 14:10:13 +05:00
ae352e0590 minor changes 2018-06-10 00:51:32 +05:00
74e947b6f3 added levels snapshoting, quick debug loading, some level name refactoring 2018-06-10 00:29:55 +05:00
e25f4e3237 need fix at galaxy_menu.cpp #222 2018-06-01 16:45:16 +05:00
1abfa608b2 textures fix 2018-05-31 16:47:18 +05:00
c8d69040b3 start menu is now working 2018-05-30 16:21:50 +05:00
82812eecb0 level selection dev 2018-05-29 16:44:55 +05:00
457541edf5 level selection dev 2018-05-28 16:31:01 +05:00
c97c95baa6 menu interact 2018-05-25 16:51:26 +05:00
c30a2115dc menu proc 2018-05-24 16:44:58 +05:00
95bf02bd36 some menu position math 2018-05-23 16:46:02 +05:00
6e610664b0 menu dev 2018-05-22 17:00:30 +05:00
0d9d77769c galaxy obj 2018-05-21 16:19:56 +05:00
16a89a6ae2 assets changes 2018-05-21 12:31:19 +05:00
d8518bd7b9 background texture scaling 2018-05-17 12:56:46 +05:00
bdb032c970 UI button setup 2018-04-05 09:35:49 +05:00
3fa7602880 some new textures + UI test 2018-04-04 16:44:30 +05:00
c97c179199 end of level particle effect 2018-04-03 14:47:08 +05:00
6bd38df453 particle hit effect 2018-04-02 13:46:31 +05:00
2b875dfc2d some fixes for working with engine master branch 2018-03-30 16:16:49 +05:00
4673422314 Screen Resolution Scaling 2018-03-26 16:42:25 +05:00
fe76aec2b2 Level screen scaling 2018-03-23 17:22:07 +05:00
242622f0e6 Texture scaling 2018-03-22 17:50:52 +05:00
f246d1a710 Level screen scaling 2018-03-21 17:55:54 +05:00
0717486119 Screen Scaling 2018-03-20 15:54:53 +05:00
53f576ae3e New walls skins 2018-03-19 17:06:07 +05:00
Vladislav Khorev Dev
7f5aea5047 Fixed building 2017-12-11 18:00:43 +05:00
498 changed files with 24253 additions and 41611 deletions

5
.gitignore vendored
View File

@ -7,6 +7,7 @@
## Build generated
build/
DerivedData/
.idea/
## Various settings
*.pbxuser
@ -74,4 +75,6 @@ iOSInjectionProject/
/windows/DoubleHitBalls-win/DoubleHitBalls-win/progress.txt
/windows/DoubleHitBalls-win/DoubleHitBalls-win/resources
*.db
*.opendb
*.opendb
/proj.android-studio/app/release/
assets/levels/user_progress.json

29
.idea/codeStyles/Project.xml Executable file
View File

@ -0,0 +1,29 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" fileNamingConvention="NONE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
</code_scheme>
</component>

24
.idea/double-hit-balls.iml Executable file
View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/../../double-hit-balls/gen" />
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/../../double-hit-balls/gen" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/../../double-hit-balls/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/../../double-hit-balls/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/../../double-hit-balls/assets" />
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/../../double-hit-balls/libs" />
<option name="PROGUARD_LOGS_FOLDER_RELATIVE_PATH" value="/../../double-hit-balls/proguard_logs" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
</content>
<orderEntry type="jdk" jdkName="Android API 27 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

8
.idea/modules.xml Executable file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/double-hit-balls.iml" filepath="$PROJECT_DIR$/.idea/double-hit-balls.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Executable file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

View File

@ -1,19 +0,0 @@
precision mediump float;
uniform sampler2D Texture;
uniform vec2 samplesOffset[4];
varying vec2 texCoord;
void main()
{
vec3 color = vec3(0, 0, 0);
for (int i = 0; i < 4; ++i)
{
color += texture2D(Texture, texCoord + samplesOffset[i]).rgb;
}
color /= 4;
//gl_FragColor = vec4(texture2D(Texture, texCoord ), 1.0);
gl_FragColor = vec4(color, 1.0);
}

BIN
assets/arial32.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

95
assets/arial32.txt Executable file
View File

@ -0,0 +1,95 @@
32 0.00488281 0.00976562 0 0.0625 0 0 0.00878906
49 0.00976562 0.00976562 0.00292969 0.0175781 0.00878906 0.0449219 0.0175781
50 0.0234375 0.00976562 0 0.0175781 0.015625 0.0449219 0.0175781
51 0.0439453 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
52 0.0644531 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
53 0.0849609 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
54 0.105469 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
55 0.125977 0.00976562 0.00195312 0.0175781 0.0146484 0.0449219 0.0175781
56 0.145508 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
57 0.166016 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
48 0.186523 0.00976562 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
97 0.207031 0.00976562 0.000976562 0.0292969 0.0146484 0.0332031 0.0166016
98 0.226562 0.00976562 0.00195312 0.0175781 0.0136719 0.0449219 0.0166016
99 0.245117 0.00976562 0.000976562 0.0292969 0.0136719 0.0332031 0.015625
100 0.263672 0.00976562 0.000976562 0.0175781 0.0136719 0.0449219 0.0166016
101 0.282227 0.00976562 0.000976562 0.0292969 0.0146484 0.0332031 0.0166016
102 0.301758 0.00976562 0.000976562 0.0175781 0.00976562 0.0449219 0.00976562
103 0.316406 0.00976562 0 0.0292969 0.0146484 0.0449219 0.0166016
104 0.335938 0.00976562 0.00195312 0.0175781 0.0136719 0.0449219 0.0175781
105 0.354492 0.00976562 0.00195312 0.0175781 0.00292969 0.0449219 0.00683594
106 0.362305 0.00976562 -0.00195312 0.0175781 0.00683594 0.0566406 0.00683594
107 0.374023 0.00976562 0.00195312 0.0175781 0.0136719 0.0449219 0.015625
108 0.392578 0.00976562 0.00195312 0.0175781 0.00292969 0.0449219 0.00683594
109 0.400391 0.00976562 0.00195312 0.0292969 0.0224609 0.0332031 0.0263672
110 0.427734 0.00976562 0.00195312 0.0292969 0.0136719 0.0332031 0.0175781
111 0.446289 0.00976562 0.000976562 0.0292969 0.0146484 0.0332031 0.0166016
112 0.46582 0.00976562 0.00195312 0.0292969 0.0136719 0.0449219 0.0166016
113 0.484375 0.00976562 0.000976562 0.0273438 0.0136719 0.046875 0.0166016
114 0.50293 0.00976562 0.00195312 0.0292969 0.00878906 0.0332031 0.0107422
115 0.516602 0.00976562 0.000976562 0.0292969 0.0136719 0.0332031 0.015625
116 0.535156 0.00976562 0 0.0175781 0.0078125 0.0449219 0.00878906
117 0.547852 0.00976562 0.00195312 0.0292969 0.0136719 0.0332031 0.0175781
118 0.566406 0.00976562 0 0.0292969 0.0146484 0.0332031 0.0146484
119 0.585938 0.00976562 -0.000976562 0.0292969 0.0244141 0.0332031 0.0224609
120 0.615234 0.00976562 0 0.0292969 0.0146484 0.0332031 0.0136719
121 0.634766 0.00976562 0 0.0292969 0.015625 0.0449219 0.0146484
122 0.655273 0.00976562 0 0.0292969 0.0136719 0.0332031 0.0146484
65 0.673828 0.00976562 -0.000976562 0.0175781 0.0224609 0.0449219 0.0205078
66 0.701172 0.00976562 0.00292969 0.0175781 0.0166016 0.0449219 0.0205078
67 0.722656 0.00976562 0.000976562 0.0175781 0.0205078 0.0449219 0.0224609
68 0.748047 0.00976562 0.00292969 0.0175781 0.0185547 0.0449219 0.0224609
69 0.771484 0.00976562 0.00292969 0.0175781 0.015625 0.0449219 0.0205078
70 0.791992 0.00976562 0.00292969 0.0175781 0.015625 0.0449219 0.0195312
71 0.8125 0.00976562 0.000976562 0.0175781 0.0214844 0.0449219 0.0244141
72 0.838867 0.00976562 0.00292969 0.0175781 0.0166016 0.0449219 0.0224609
73 0.860352 0.00976562 0.00292969 0.0175781 0.00292969 0.0449219 0.00878906
74 0.868164 0.00976562 0 0.0175781 0.0126953 0.0449219 0.015625
75 0.885742 0.00976562 0.00292969 0.0175781 0.0185547 0.0449219 0.0205078
76 0.90918 0.00976562 0.00292969 0.0175781 0.0136719 0.0449219 0.0175781
77 0.927734 0.00976562 0.00292969 0.0175781 0.0205078 0.0449219 0.0263672
78 0.953125 0.00976562 0.00292969 0.0175781 0.0166016 0.0449219 0.0224609
79 0.00488281 0.0820312 0.000976562 0.0175781 0.0224609 0.0449219 0.0244141
80 0.0322266 0.0820312 0.00292969 0.0175781 0.0166016 0.0449219 0.0205078
81 0.0537109 0.0820312 0.000976562 0.0175781 0.0224609 0.0488281 0.0244141
82 0.0810547 0.0820312 0.00292969 0.0175781 0.0185547 0.0449219 0.0224609
83 0.104492 0.0820312 0.000976562 0.0175781 0.0175781 0.0449219 0.0205078
84 0.126953 0.0820312 0 0.0175781 0.0185547 0.0449219 0.0185547
85 0.150391 0.0820312 0.00292969 0.0175781 0.0166016 0.0449219 0.0224609
86 0.171875 0.0820312 -0.000976562 0.0175781 0.0224609 0.0449219 0.0205078
87 0.199219 0.0820312 0 0.0175781 0.0302734 0.0449219 0.03125
88 0.234375 0.0820312 0 0.0175781 0.0205078 0.0449219 0.0205078
89 0.259766 0.0820312 0 0.0175781 0.0205078 0.0449219 0.0205078
90 0.285156 0.0820312 0 0.0175781 0.0185547 0.0449219 0.0195312
46 0.308594 0.0820312 0.00292969 0.0566406 0.00292969 0.00585938 0.00878906
44 0.316406 0.0820312 0.00292969 0.0566406 0.00292969 0.015625 0.00878906
58 0.324219 0.0820312 0.00292969 0.0292969 0.00292969 0.0332031 0.00878906
59 0.332031 0.0820312 0.00292969 0.0292969 0.00292969 0.0429688 0.00878906
64 0.339844 0.0820312 0.00195312 0.0175781 0.0292969 0.0585938 0.03125
35 0.374023 0.0820312 0 0.0175781 0.0166016 0.0449219 0.0175781
36 0.395508 0.0820312 0.000976562 0.015625 0.015625 0.0527344 0.0175781
37 0.416016 0.0820312 0.00195312 0.0175781 0.0234375 0.0449219 0.0273438
94 0.444336 0.0820312 0.000976562 0.0175781 0.0117188 0.0234375 0.0136719
38 0.460938 0.0820312 0.000976562 0.0175781 0.0185547 0.0449219 0.0205078
42 0.484375 0.0820312 0.000976562 0.0175781 0.00976562 0.0195312 0.0117188
33 0.499023 0.0820312 0.00390625 0.0175781 0.00292969 0.0449219 0.0107422
63 0.506836 0.0820312 0.000976562 0.0175781 0.015625 0.0449219 0.0175781
40 0.527344 0.0820312 0.00195312 0.0175781 0.0078125 0.0566406 0.0107422
41 0.540039 0.0820312 0.000976562 0.0175781 0.0078125 0.0566406 0.0107422
91 0.552734 0.0820312 0.00195312 0.0175781 0.00585938 0.0566406 0.00878906
93 0.563477 0.0820312 0.000976562 0.0175781 0.00585938 0.0566406 0.00878906
123 0.574219 0.0820312 0.000976562 0.0175781 0.00878906 0.0566406 0.0107422
125 0.587891 0.0820312 0.000976562 0.0175781 0.00878906 0.0566406 0.0107422
60 0.601562 0.0820312 0.00195312 0.0253906 0.0146484 0.0292969 0.0185547
62 0.621094 0.0820312 0.00195312 0.0253906 0.0146484 0.0292969 0.0185547
95 0.640625 0.0820312 -0.000976562 0.0683594 0.0185547 0.00585938 0.0175781
45 0.664062 0.0820312 0.000976562 0.0429688 0.00878906 0.00585938 0.0107422
43 0.677734 0.0820312 0.00195312 0.0253906 0.0146484 0.0292969 0.0185547
61 0.697266 0.0820312 0.00195312 0.0292969 0.0146484 0.0195312 0.0185547
124 0.716797 0.0820312 0.00292969 0.0175781 0.00195312 0.0585938 0.0078125
92 0.723633 0.0820312 0 0.0175781 0.00976562 0.0449219 0.00878906
47 0.738281 0.0820312 0 0.0175781 0.00976562 0.0449219 0.00878906
126 0.75293 0.0820312 0.000976562 0.0351562 0.015625 0.0117188 0.0185547
96 0.773438 0.0820312 0.000976562 0.0175781 0.00585938 0.0078125 0.0107422
34 0.78418 0.0820312 0.000976562 0.0175781 0.00878906 0.015625 0.0107422
39 0.797852 0.0820312 0.000976562 0.0175781 0.00292969 0.015625 0.00585938

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

BIN
assets/ball.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

BIN
assets/ball_glow.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
assets/ball_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

29
assets/bg_textures_config.json Executable file
View File

@ -0,0 +1,29 @@
{
"useDebugBackgrounds": "true",
"TextureList":
{
"bg_1": "022259762-alien-world",
"bg_2": "029655296-mountains-landscape",
"bg_3": "065090581-exoplanet-exploration",
"bg_4": "037162994-sunset-illeo",
"bg_5": "038904975-dying-world",
"bg_6": "039839543-fantastic-landscape",
"bg_7": "040712579-fantastic-landscape",
"bg_8": "040712589-fantastic-landscape",
"bg_9": "040892807-fantastic-landscape",
"bg_10": "040892815-fantastic-landscape",
"bg_11": "041515701-fantastic-landscape",
"bg_12": "047196154-venus-landscape",
"bg_13": "053070150-moon-landscape",
"bg_14": "053070150-moon-landscape",
"bg_15": "058104293-red-planet-saturn-moon",
"bg_16": "060594794-sunset-alien-planet-and-20km-g",
"bg_17": "065090581-exoplanet-exploration",
"bg_18": "065743048-exoplanet-exploration-3d-rende",
"bg_19": "068717925-lava-landscape-3d-illustration",
"bg_20": "081085895-flying-over-mountains-sunny-da",
"bg_21": "088515499-mars-red-planet-landscape-moun",
"bg_22": "black_background_image"
}
}

BIN
assets/black_square.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

BIN
assets/block1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/block1_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
assets/block2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/block2_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
assets/block3.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/block3_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
assets/bonus_floor.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

BIN
assets/bonus_floor_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
assets/bonus_gothrough.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

BIN
assets/bonus_gothrough_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
assets/bonus_multiplier.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

BIN
assets/bonus_multiplier_mod1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

View File

@ -1,7 +0,0 @@
precision mediump float;
varying vec4 color;
void main()
{
gl_FragColor = color;
}

7
assets/config.json Executable file
View File

@ -0,0 +1,7 @@
{
"lefteffect": "effects/ball-hit-spark-l.json",
"righteffect": "effects/ball-hit-spark-r.json",
"topeffect": "effects/ball-hit-spark-t.json",
"boteffect": "effects/ball-hit-spark-b.json",
"lvlFinish": "effects/magic-stars-firework.json"
}

BIN
assets/credits.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

102
assets/effects/O-func.json Executable file
View File

@ -0,0 +1,102 @@
{
"name": "Sparkler - бенгальский огонь",
"emitters":
[
{
"name": "Spark",
"maxParticles": 300,
"preloading": 100,
"texturePath": "textures/spark.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 0 ]
},
"lifeTime":
{
"value": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 100, 0, 0]
},
{
"t": 0.1,
"value": [ 95, 30, 0]
},
{
"t": 0.5,
"value": [ 0, 100, 0]
},
{
"t": 1.0,
"value": [ -100, 0, 0]
},
{
"t": 1.5,
"value": [ 0, -100, 0]
},
{
"t": 1.9,
"value": [ 95, -30, 0]
},
{
"t": 2.000,
"value": [ 100, 0, 0]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}

94
assets/effects/S-func.json Executable file
View File

@ -0,0 +1,94 @@
{
"name": "Sparkler - бенгальский огонь",
"emitters":
[
{
"name": "Spark",
"maxParticles": 300,
"preloading": 100,
"texturePath": "textures/spark.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 0 ]
},
"lifeTime":
{
"value": 2
},
"coords_system": "PARTICLE_EFFECT",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0]
},
{
"t": 0.5,
"value": [ 50, 20, 0]
},
{
"t": 1.0,
"value": [ 100, 100, 0]
},
{
"t": 1.5,
"value": [ 150, 180, 0]
},
{
"t": 2.000,
"value": [ 200, 200, 0]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}

View File

@ -0,0 +1,174 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.05,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 270, 0, 175 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, -3, 0 ]
},
{
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}

View File

@ -0,0 +1,174 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.05,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 175 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 3, 0, 0 ]
},
{
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}

View File

@ -0,0 +1,174 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.05,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 175 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ -3, 0, 0 ]
},
{
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}

View File

@ -0,0 +1,174 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.05,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 90, 0, 175 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 3, 0 ]
},
{
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}

116
assets/effects/chaotic.json Executable file
View File

@ -0,0 +1,116 @@
{
"emitters":
[
{
"maxParticles": 300,
"preloading": 100,
"texturePath": "textures/spark.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"value": 3
},
"coords_system": "PARTICLE_EFFECT",
"offset_axis_system": "PARTICLE_EFFECT",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0]
},
{
"t": 3.000,
"value": [ 500, 0, 0]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 10, 0, 0]
},
{
"t": 0.025,
"value": [ 9.5, 3, 0]
},
{
"t": 0.125,
"value": [ 0, 10, 0]
},
{
"t": 0.25,
"value": [ -10, 0, 0]
},
{
"t": 0.375,
"value": [ 0, -10, 0]
},
{
"t": 0.475,
"value": [ 9.5, -3, 0]
},
{
"t": 0.5,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}

861
assets/effects/confetti.json Executable file
View File

@ -0,0 +1,861 @@
{
"emitters":
[
{
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/star-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 15
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 0]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 100, 0, 0 ],
"max": [ 200, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeOffset":
{
"min": 0,
"max": 1
},
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 0, 1, 0, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/rect-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 15
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 0]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 100, 0, 0 ],
"max": [ 200, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeOffset":
{
"min": 0,
"max": 1
},
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 1, 0, 0, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/circle-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 15
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 0]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 100, 0, 0 ],
"max": [ 200, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeOffset":
{
"min": 0,
"max": 1
},
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 0, 0, 1, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/star-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 15
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 0]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 100, 0, 0 ],
"max": [ 200, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeOffset":
{
"min": 0,
"max": 1
},
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/rect-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 15
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 0]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 100, 0, 0 ],
"max": [ 200, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeOffset":
{
"min": 0,
"max": 1
},
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 0, 1, 1, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/circle-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 15
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 0]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 100, 0, 0 ],
"max": [ 200, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeOffset":
{
"min": 0,
"max": 1
},
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 1, 0, 1, 1 ]
}
}
]
}

View File

@ -0,0 +1,275 @@
{
"emitters":
[
{
"preloading": 4,
"texturePath": "textures/magic-star.png",
"textureSize": [ 22.625, 12.5 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 4
}
]
},
"spawnRange":
{
"value": [ 0, 90, 0, 60 ]
},
"lifeTime":
{
"min": 0.5,
"max": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.500,
"min": [ 60, 0, 0 ],
"max": [ 160, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"value": 0.8
}
]
},
"color":
{
"value": [ 1, 1, 1, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 110,
"preloading": 110,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -200, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1,
"value": 50
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 1,
"max": 1.98
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 0, 0, 0 ],
"max": [ 50, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 1, 1, 1 ]
},
{
"t": 1.000,
"value": [ 0, 0, 1, 1 ]
},
{
"t": 1.200,
"value": [ 0, 0, 1, 0 ]
}
]
}
},
{
"name": "Spark",
"maxParticles": 300,
"preloading": 300,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "true",
"gravity": [0, -500, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "DISCRETE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 2.000,
"value": 300
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 1,
"max": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 25, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 1.000,
"value": [ 1, 0, 0, 1 ]
},
{
"t": 1.200,
"value": [ 1, 0, 0, 0 ]
}
]
}
}
]
}
]
}

274
assets/effects/magic-stars.json Executable file
View File

@ -0,0 +1,274 @@
{
"emitters":
[
{
"preloading": 20,
"texturePath": "textures/magic-star.png",
"textureSize": [ 22.625, 12.5 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 2
}
]
},
"spawnRange":
{
"value": [ 0, 30, 0, 45 ]
},
"lifeTime":
{
"min": 1.5,
"max": 3
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 300, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"value": 1
}
]
},
"color":
{
"value": [ 1, 1, 1, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 110,
"preloading": 110,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1,
"value": 50
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 1,
"max": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 0, 0, 0 ],
"max": [ 50, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 1, 1, 1 ]
},
{
"t": 1.000,
"value": [ 0, 0, 1, 1 ]
},
{
"t": 1.200,
"value": [ 0, 0, 1, 0 ]
}
]
}
},
{
"name": "Spark",
"maxParticles": 300,
"preloading": 300,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "true",
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "DISCRETE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 2.000,
"value": 300
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 1,
"max": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 25, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 1.000,
"value": [ 1, 0, 0, 1 ]
},
{
"t": 1.200,
"value": [ 1, 0, 0, 0 ]
}
]
}
}
]
}
]
}

110
assets/effects/sine-comets.json Executable file
View File

@ -0,0 +1,110 @@
{
"name": "Sparkler - бенгальский огонь",
"emitters":
[
{
"name": "Spark",
"maxParticles": 300,
"preloading": 100,
"texturePath": "textures/comet.png",
"textureSize": [ 20, 7.12 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 3
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 0 ]
},
"lifeTime":
{
"value": 6
},
"coords_system": "PARTICLE_EFFECT",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 50, 0, 0 ]
},
{
"t": 0.001,
"value": [ 50, 0, 0 ]
},
{
"t": 1.000,
"value": [ 100, 100, 0 ]
},
{
"t": 2.000,
"value": [ 200, -100, 0 ]
},
{
"t": 3.000,
"value": [ 300, 100, 0 ]
},
{
"t": 4.000,
"value": [ 400, -100, 0 ]
},
{
"t": 5.000,
"value": [ 500, 100, 0 ]
},
{
"t": 5.999,
"value": [ 600, -100, 0 ]
},
{
"t": 6.000,
"value": [ 600, -100, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 1, 1 ]
}
}
]
}

110
assets/effects/sine-sparks.json Executable file
View File

@ -0,0 +1,110 @@
{
"name": "Sparkler - бенгальский огонь",
"emitters":
[
{
"name": "Spark",
"maxParticles": 300,
"preloading": 100,
"texturePath": "textures/spark.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 0 ]
},
"lifeTime":
{
"value": 6
},
"coords_system": "PARTICLE_EFFECT",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 50, 0, 0 ]
},
{
"t": 0.001,
"value": [ 50, 0, 0 ]
},
{
"t": 1.000,
"value": [ 100, 100, 0 ]
},
{
"t": 2.000,
"value": [ 200, -100, 0 ]
},
{
"t": 3.000,
"value": [ 300, 100, 0 ]
},
{
"t": 4.000,
"value": [ 400, -100, 0 ]
},
{
"t": 5.000,
"value": [ 500, 100, 0 ]
},
{
"t": 5.999,
"value": [ 600, -100, 0 ]
},
{
"t": 6.000,
"value": [ 600, -100, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}

View File

@ -0,0 +1,93 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"maxParticles": 2000,
"preloading": 2000,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.001,
"value": 0
},
{
"t": 9.999,
"value": 10000
},
{
"t": 10.000,
"value": 10000
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 0.1,
"max": 1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1,
"min": [ 300, 0, 0 ],
"max": [ 600, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}

85
assets/effects/sparkler.json Executable file
View File

@ -0,0 +1,85 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"maxParticles": 1100,
"preloading": 1100,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "CONTINUED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 1000
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 0.1,
"max": 1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1,
"min": [ 300, 0, 0 ],
"max": [ 600, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}

646
assets/effects/test.json Executable file
View File

@ -0,0 +1,646 @@
{
"emitters":
[
{
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/star-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 180 ]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_ITSELF",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 150, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"offset":
{
"interpolation": "CUBIC_SPLINE",
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.00,
"value": [ 10, 0, 0]
},
{
"t": 0.05,
"value": [ 9.5, 3, 0]
},
{
"t": 0.25,
"value": [ 0, 10, 0]
},
{
"t": 0.5,
"value": [ -10, 0, 0]
},
{
"t": 0.75,
"value": [ 0, -10, 0]
},
{
"t": 0.95,
"value": [ 9.5, -3, 0]
},
{
"t": 1.0,
"value": [ 10, 0, 0]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 0, 1, 0, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/rect-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 180 ]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_ITSELF",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 150, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 1, 0, 0, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/circle-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 180 ]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_ITSELF",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 150, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 0, 0, 1, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/star-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 180 ]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_ITSELF",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 150, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/rect-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 180 ]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_ITSELF",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 150, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 0, 1, 1, 1 ]
}
},
{
"name": "Magic Star",
"maxParticles": 10000,
"preloading": 1000,
"texturePath": "textures/circle-white.png",
"textureSize": [ 5, 5 ],
"gravity": [ 0, -100, 0 ],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1.000,
"value": 5
}
]
},
"spawnRange":
{
"value": [ 0, 0, 360, 180 ]
},
"lifeTime":
{
"min": 10,
"max": 10
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"offset_axis_system": "PARTICLE_ITSELF",
"rotation_system": "PARTICLE_ITSELF",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 150, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"interpolation": "LINEAR_SPLINE",
"timeOffset":
{
"min": 0,
"max": 1
},
"timelineType": "LOOPED",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 45, 0 ]
},
{
"t": 1.000,
"value": [ 360, 45, 0 ]
}
]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"min": 1,
"max": 2
}
]
},
"color":
{
"value": [ 1, 0, 1, 1 ]
}
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 KiB

BIN
assets/game_end.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

29
assets/gui_alex.json Executable file
View File

@ -0,0 +1,29 @@
{
"widgets": [{
"type": "FrameLayout",
"name": "levelLayout",
"background": "#00000000",
"width": "match_parent",
"height": "match_parent",
"horizontalAlignment": "HA_CENTER",
"verticalAlignment": "VA_CENTER",
"children": [{
"type": "HorizontalLinearLayout",
"name": "topPannel",
"background": "#000000ff",
"marginBottom": 300,
"width": "wrap_content",
"height": "wrap_content",
"itemSpacing": 1,
"children": [{
"type": "Button",
"name": "backButton",
"width": 60,
"height": 40,
"background": "back_btn.png",
"pressedDrawable": "back_btn.png",
"hoverDrawable": "back_btn.png"
}]
}]
}]
}

52
assets/gui_game_pause_menu.json Executable file
View File

@ -0,0 +1,52 @@
{
"widgets": [
{
"type": "FrameLayout",
"name": "gameFrame",
"background": "#00000000",
"width": "match_parent",
"height": "match_parent",
"visible": 1,
"touchTransparency": 1,
"marginTop": 20,
"horizontalAlignment": "HA_CENTER",
"verticalAlignment": "VA_TOP",
"children" : [
{
"type": "Button",
"name": "pauseButton",
"width": 128,
"height": 64,
"background": "back_btn.png"
}]
},
{
"type": "VerticalLinearLayout",
"name": "buttonList",
"background": "#00000000",
"width": "match_parent",
"height": "match_parent",
"touchTransparency": 0,
"visible": 0,
"zLevel": 10,
"marginLeft" : 0,
"itemSpacing": 20,
"horizontalAlignment": "HA_LEFT",
"verticalAlignment": "VA_BOTTOM",
"children" : [
{
"type": "Button",
"name": "exitButton",
"width": 128,
"height": 128,
"background": "slide_up_btn.png"
},
{
"type": "Button",
"name": "resumeButton",
"width": 128,
"height": 128,
"background": "tap_to_continue_btn.png"
}]
}]
}

26
assets/gui_loading.json Executable file
View File

@ -0,0 +1,26 @@
{
"widgets": [{
"type": "FrameLayout",
"name": "Loading",
"background": "#000000FF",
"width": "match_parent",
"height": "match_parent",
"horizontalAlignment": "HA_CENTER",
"verticalAlignment": "VA_CENTER",
"children": [
{
"type": "VerticalLinearLayout",
"name": "holder",
"background": "#000000FF",
"width": "wrap_content",
"height": "wrap_content",
"children":[{
"type": "ImageView",
"name": "logo",
"height" : "400",
"width" : "400",
"background": "logo.png"
}]
}]
}]
}

206
assets/gui_main_menu.json Executable file
View File

@ -0,0 +1,206 @@
{
"widgets": [{
"type": "FrameLayout",
"name": "modal_background",
"background": "#80808080",
"width": "match_parent",
"height": "match_parent",
"visible" : 0,
"touchTransparency": 0,
"horizontalAlignment": "HA_CENTER",
"verticalAlignment": "VA_CENTER",
"children": [{
"type": "VerticalScrollLayout",
"name": "panel",
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": "wrap_content",
"height": "match_parent",
"touchTransparency": 0,
"zLevel": 10,
"marginTop" : 0,
"marginBottom" : 0,
"paddingTop": 10,
"paddingBottom": 10,
"paddingLeft": 10,
"paddingRight": 10,
"itemSpacing": 20,
"children" : [
{
"type": "HorizontalLinearLayout",
"name": "row1",
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": 454,
"height": "wrap_content",
"touchTransparency": 0,
"itemSpacing": 20,
"visible": 1,
"children": [{
"type": "Button",
"name": "button0",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button1",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button2",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
},
{
"type": "HorizontalLinearLayout",
"name": "row2",
"itemSpacing": 20,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": 454,
"height": "wrap_content",
"touchTransparency": 0,
"visible": 1,
"children": [{
"type": "Button",
"name": "button3",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button4",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button5",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
},
{
"type": "HorizontalLinearLayout",
"name": "row3",
"itemSpacing": 20,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": 454,
"height": "wrap_content",
"touchTransparency": 1,
"visible": 1,
"children": [{
"type": "Button",
"name": "button6",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button7",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button8",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
},
{
"type": "HorizontalLinearLayout",
"name": "row4",
"itemSpacing": 20,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": 454,
"height": "wrap_content",
"touchTransparency": 0,
"visible": 1,
"children": [{
"type": "Button",
"name": "button9",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button10",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button11",
"width": 128,
"height": 80,
"background": "#00000000",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
}]
}
]
}]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Some files were not shown because too many files have changed in this diff Show More