Compare commits
381 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
20420207d0 | ||
![]() |
80dcd3b90b | ||
![]() |
69f1750c88 | ||
![]() |
dd914bf747 | ||
![]() |
285cae40ba | ||
![]() |
e389b4c24d | ||
![]() |
61f9be1b20 | ||
![]() |
d0f14fd803 | ||
![]() |
54ec6d0737 | ||
![]() |
99849ad32c | ||
![]() |
b3679ae214 | ||
![]() |
9032164b2c | ||
![]() |
2b902debc5 | ||
![]() |
d967f9d3c0 | ||
![]() |
9ef560acff | ||
![]() |
b1907d323f | ||
![]() |
2afc1b926c | ||
![]() |
b20ebddadf | ||
![]() |
abf2127d2f | ||
![]() |
3121e632ec | ||
![]() |
d5b18fa718 | ||
![]() |
5926bdb67b | ||
![]() |
e25e8482a1 | ||
![]() |
6e911147d0 | ||
![]() |
48418e58fe | ||
![]() |
d4cfc645f7 | ||
![]() |
90b6d1f2f1 | ||
![]() |
ab53f71daf | ||
![]() |
aaf9205be5 | ||
![]() |
b4e7f90400 | ||
![]() |
e8d55c2d21 | ||
![]() |
3a3fabd0ac | ||
![]() |
9cb741c1e6 | ||
![]() |
fc39808092 | ||
![]() |
f6c69dd70a | ||
![]() |
d78538ce10 | ||
![]() |
7693a067bd | ||
![]() |
50902f849f | ||
![]() |
1411bfcce8 | ||
![]() |
42f14c1c84 | ||
![]() |
fff226aff8 | ||
![]() |
7460f69487 | ||
![]() |
6ac19fca77 | ||
![]() |
1787e4bb99 | ||
![]() |
8ff6884837 | ||
![]() |
836b46477b | ||
![]() |
e61e5163b7 | ||
![]() |
a38c90bdbd | ||
![]() |
191881987e | ||
![]() |
0b8f2e0b8d | ||
![]() |
ce603f4c06 | ||
![]() |
bac2aa2018 | ||
![]() |
c6f70cf472 | ||
![]() |
4382225576 | ||
![]() |
1997c8d0a0 | ||
![]() |
f81290e1b8 | ||
![]() |
ae0d05d074 | ||
![]() |
4145f33ff6 | ||
![]() |
7ca447c5fd | ||
![]() |
527cf5a715 | ||
![]() |
8d6a59e12e | ||
![]() |
6bfa99e2ad | ||
![]() |
b4e4d5b9ae | ||
![]() |
05072ecf23 | ||
![]() |
a5e9f4bdec | ||
![]() |
4f17be3b6a | ||
![]() |
f358a12957 | ||
![]() |
e7fcb2e3de | ||
![]() |
e444d22d18 | ||
![]() |
8cac0d1260 | ||
![]() |
983a0bffc6 | ||
![]() |
db123a4dab | ||
![]() |
ed957916b9 | ||
![]() |
0a768a4496 | ||
![]() |
caeabc2fec | ||
![]() |
f29d17ec91 | ||
![]() |
130f5526f2 | ||
![]() |
ddb1f1dbda | ||
![]() |
b36ae89326 | ||
![]() |
2f3422db70 | ||
![]() |
99ce00dd57 | ||
![]() |
2f45674e16 | ||
![]() |
125cbafcc0 | ||
![]() |
191dd9487a | ||
![]() |
d0e10d8904 | ||
![]() |
4de9107f41 | ||
![]() |
2b6b67a988 | ||
![]() |
7c6d59de3e | ||
![]() |
639a1e3a93 | ||
![]() |
203ef52776 | ||
![]() |
656e513c89 | ||
![]() |
ddd2bbdc9a | ||
![]() |
b2a3ec44a4 | ||
![]() |
b35ce4876c | ||
![]() |
1c58546dc9 | ||
![]() |
b7932c88fd | ||
![]() |
f4d905afe3 | ||
![]() |
eeeb2fd649 | ||
![]() |
2abde472a5 | ||
![]() |
cb84a16584 | ||
![]() |
3eaf3504ce | ||
![]() |
e630e8e3b2 | ||
![]() |
acbb6d4594 | ||
![]() |
6cbd70c2b0 | ||
![]() |
cc17702e46 | ||
![]() |
bd7c09b05a | ||
![]() |
d93bfd709d | ||
![]() |
157a9de543 | ||
![]() |
348459c9bf | ||
![]() |
b397f48f89 | ||
![]() |
719bcc3301 | ||
![]() |
cedd93cf26 | ||
![]() |
6f768f0929 | ||
![]() |
c2fdc0ae86 | ||
![]() |
5191f3b50a | ||
![]() |
fe7273ed2e | ||
![]() |
a289f05a4c | ||
![]() |
6043e22633 | ||
![]() |
2317368415 | ||
![]() |
b96faee7ad | ||
![]() |
d8c8bf997b | ||
![]() |
48b5c8aa42 | ||
![]() |
498bd9fe8e | ||
![]() |
3383f8fbc0 | ||
![]() |
cf9007ac26 | ||
![]() |
64e6860718 | ||
![]() |
2057f26b62 | ||
![]() |
e05a606139 | ||
![]() |
67db5bf5ac | ||
![]() |
f5bc1ed5b7 | ||
![]() |
36e357d8c5 | ||
![]() |
0e92ebfd4a | ||
![]() |
6c9cf071ea | ||
![]() |
d159bd620b | ||
![]() |
c8879a20db | ||
![]() |
de9bb0470e | ||
![]() |
5932a3f5a6 | ||
![]() |
c43ef6166c | ||
![]() |
d8e85e6955 | ||
![]() |
ae1f6d61b3 | ||
![]() |
dd7f98fdac | ||
![]() |
875a5eb73a | ||
![]() |
b391b12f60 | ||
![]() |
ed5b9d2a33 | ||
![]() |
6eea30d35a | ||
![]() |
9d75da7c76 | ||
![]() |
d2b4d678ea | ||
![]() |
f18b258083 | ||
![]() |
a02f905f82 | ||
![]() |
b7961926c8 | ||
![]() |
0d3b8e90ef | ||
![]() |
abcb040462 | ||
![]() |
2612df46c7 | ||
![]() |
ced2dcf782 | ||
![]() |
768204bb56 | ||
![]() |
9dbe80e5b3 | ||
![]() |
d7d4c3b18c | ||
![]() |
f58b1d883c | ||
![]() |
4a287c3b94 | ||
![]() |
74b4501134 | ||
![]() |
698a0d5a44 | ||
![]() |
b8245076f4 | ||
![]() |
a0080e0720 | ||
![]() |
9d7f4901f6 | ||
![]() |
a5e343f760 | ||
![]() |
661b531216 | ||
![]() |
221c4bc16b | ||
![]() |
ea3e441315 | ||
![]() |
0d23941855 | ||
![]() |
418bae8632 | ||
![]() |
5e3be0a793 | ||
![]() |
ebfc7f06c5 | ||
![]() |
e1ecdda1c3 | ||
![]() |
561e176216 | ||
![]() |
01e9848feb | ||
![]() |
ee82ccd170 | ||
![]() |
900636c078 | ||
![]() |
91a5551047 | ||
![]() |
0caadb1010 | ||
![]() |
84e1af710c | ||
![]() |
613a053007 | ||
![]() |
82610a2c1c | ||
![]() |
64691e75a7 | ||
![]() |
ff81b68d80 | ||
![]() |
4c39bf0fa2 | ||
![]() |
26b2d5c500 | ||
![]() |
3adde344e8 | ||
![]() |
56baa8df31 | ||
![]() |
ef3d68d53e | ||
![]() |
00eaac6298 | ||
![]() |
8d2dc681dd | ||
![]() |
4b9d58eddb | ||
![]() |
6d70a7f5b6 | ||
![]() |
5896fa6c90 | ||
![]() |
984da13353 | ||
![]() |
83b67b8878 | ||
![]() |
e27dc7ab4b | ||
![]() |
0146182fbc | ||
![]() |
da872e8408 | ||
![]() |
d4f8062cef | ||
![]() |
2f19d4b8e1 | ||
![]() |
b64388c6b9 | ||
![]() |
7eba1708b8 | ||
![]() |
cc87ec6f96 | ||
![]() |
62081db475 | ||
![]() |
9ab929da7b | ||
![]() |
d1e4768f7d | ||
![]() |
2c7e80e056 | ||
![]() |
7421f87406 | ||
![]() |
906110f7f5 | ||
![]() |
3cb560ee38 | ||
![]() |
73443cf77d | ||
![]() |
7e7f9187a9 | ||
![]() |
ff11dc1857 | ||
![]() |
4646d469b2 | ||
![]() |
26dedc23a9 | ||
![]() |
5a5781ba88 | ||
![]() |
da0c208efd | ||
![]() |
ca7781d3ca | ||
![]() |
be6deaea49 | ||
![]() |
9f119903e5 | ||
![]() |
187dfc89a2 | ||
![]() |
4711be9ffe | ||
![]() |
db286c9fd8 | ||
![]() |
1e48dd46fb | ||
![]() |
7e01c0db43 | ||
![]() |
fc6239c4e9 | ||
![]() |
8ade981e37 | ||
![]() |
33953b0639 | ||
![]() |
6d49b6fff1 | ||
![]() |
1a9cc65259 | ||
![]() |
55fcd0468f | ||
![]() |
0213ccebec | ||
![]() |
9033249a28 | ||
![]() |
2b0c3a71c2 | ||
![]() |
4503b55bad | ||
![]() |
67e3d777c6 | ||
![]() |
e9ac59fb60 | ||
![]() |
2e39604df7 | ||
![]() |
73e9c0269b | ||
![]() |
d3ec776ed7 | ||
![]() |
284ba048fd | ||
![]() |
106f583fac | ||
![]() |
11365ebf96 | ||
![]() |
c63b557a88 | ||
![]() |
851379a9de | ||
![]() |
6dcc4d2e5d | ||
![]() |
540886e354 | ||
![]() |
7a3d9ecc7f | ||
![]() |
a5af985fd4 | ||
![]() |
095ced4870 | ||
![]() |
0cab34facb | ||
![]() |
3d007b91b5 | ||
![]() |
2bb9687b2d | ||
![]() |
6b2fc20e2a | ||
![]() |
c38ce1999d | ||
![]() |
89b33de435 | ||
![]() |
30a0b8c8f7 | ||
![]() |
d0c7138359 | ||
![]() |
af7c9705d4 | ||
![]() |
4ba3ec1a9d | ||
![]() |
378721ea1e | ||
![]() |
a79600f302 | ||
![]() |
868950f721 | ||
![]() |
9cd6c781da | ||
![]() |
30de4d82cb | ||
![]() |
38b8dae7c7 | ||
![]() |
0aaf2c221f | ||
![]() |
c71337c3f9 | ||
![]() |
2ff89dc967 | ||
![]() |
7f26b3f7a4 | ||
![]() |
b063f560cc | ||
![]() |
e5989571ee | ||
![]() |
efa64b6505 | ||
![]() |
ee303a5f7a | ||
![]() |
330bd24c02 | ||
![]() |
b2033eb3fd | ||
![]() |
ee33dc6768 | ||
![]() |
e7bb56f203 | ||
![]() |
2b02bcc3c8 | ||
![]() |
232f98511d | ||
![]() |
abdfd08806 | ||
![]() |
293c008eed | ||
![]() |
615d1d72f9 | ||
![]() |
55165519d2 | ||
![]() |
5cd8c56ee2 | ||
![]() |
0d1521f791 | ||
![]() |
6bf8a89612 | ||
![]() |
a7da97ba4d | ||
![]() |
55b42ddee6 | ||
![]() |
cf991818d9 | ||
![]() |
592b202218 | ||
![]() |
ef616baca3 | ||
![]() |
3be2561ceb | ||
![]() |
ff170070ce | ||
![]() |
2379aa086c | ||
![]() |
9984802a9d | ||
![]() |
973665cd33 | ||
![]() |
2124d87107 | ||
![]() |
8d335c571a | ||
![]() |
97b4ae7b1a | ||
![]() |
a707b51c41 | ||
![]() |
c519c26787 | ||
![]() |
bcc4decd3c | ||
![]() |
8310853fd9 | ||
![]() |
e4dd9d1df2 | ||
![]() |
891d055695 | ||
![]() |
227d5daa78 | ||
![]() |
b58db65442 | ||
![]() |
8d8cb27d24 | ||
![]() |
92bc85775c | ||
![]() |
1c32a2501c | ||
![]() |
8a3a26e9c6 | ||
![]() |
7e714da230 | ||
![]() |
388d62031e | ||
![]() |
60a51931a1 | ||
![]() |
40a82c61ea | ||
![]() |
bff5f45976 | ||
![]() |
0f4ca89fa1 | ||
![]() |
66af8c2d6b | ||
![]() |
1cb1befe7a | ||
![]() |
d517536baf | ||
![]() |
ad1d2b51fa | ||
![]() |
46784cee94 | ||
![]() |
0ef3edccfe | ||
![]() |
8fed8e0ef9 | ||
![]() |
502c04abaa | ||
![]() |
0622a69aec | ||
![]() |
f7f8401416 | ||
![]() |
c0b3f9ef56 | ||
![]() |
e999f953b9 | ||
![]() |
8b3c862fee | ||
![]() |
b128446464 | ||
![]() |
21624b2d96 | ||
![]() |
506e3a3226 | ||
![]() |
05624f84c7 | ||
![]() |
de34b562ad | ||
![]() |
d54ae5d44a | ||
![]() |
1c921efa4e | ||
![]() |
3494048e5a | ||
![]() |
26bee9ab19 | ||
![]() |
b5397c8f46 | ||
![]() |
b4201172ae | ||
![]() |
b59f39fec7 | ||
![]() |
d89675d266 | ||
![]() |
1d62312bb6 | ||
![]() |
282b64e5ae | ||
![]() |
2829098fa7 | ||
![]() |
9f6d2f8e32 | ||
![]() |
fb0841c824 | ||
![]() |
80c298d21e | ||
![]() |
0a2655ed14 | ||
![]() |
0873cb2139 | ||
![]() |
2c4bcf69de | ||
![]() |
0178d374c3 | ||
![]() |
8505da8729 | ||
![]() |
c4cb2842f5 | ||
![]() |
76bd2b12b3 | ||
![]() |
5a4a5f2070 | ||
![]() |
50e7a9a97a | ||
![]() |
6c354f4c57 | ||
![]() |
f005a2d4b1 | ||
![]() |
03e3afced9 | ||
![]() |
ac71edf43f | ||
![]() |
d2a706eca6 | ||
![]() |
b7b83c0c44 | ||
![]() |
7898451eca | ||
![]() |
9520fb093d | ||
![]() |
b7e002b3ea | ||
![]() |
bc2cd7f0db | ||
![]() |
e5aa88b71b | ||
![]() |
9dd603fbe4 | ||
![]() |
b479cc0aa1 | ||
![]() |
bbeeba23e3 | ||
![]() |
581f2a49a1 | ||
![]() |
f9bb82d17b | ||
![]() |
a28eef12a6 | ||
![]() |
37aaf660f5 | ||
![]() |
088b478b58 | ||
![]() |
c9544542b2 | ||
![]() |
de1408fbb4 |
@@ -17,6 +17,7 @@
|
||||
"no-console": 0,
|
||||
"curly": 0,
|
||||
"no-redeclare": 0,
|
||||
"no-underscore-dangle": 0
|
||||
"no-underscore-dangle": 0,
|
||||
"strict": 0
|
||||
}
|
||||
}
|
||||
|
24
.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
/GDSDK
|
||||
/docs/GDJS Runtime Documentation
|
||||
/docs/GDJS Documentation
|
||||
/docs/GDCpp Documentation
|
||||
@@ -28,8 +27,12 @@
|
||||
/Binaries/Releases/**/*.tar.lzma
|
||||
/Binaries/Releases/**/*.zip
|
||||
/Binaries/Releases/**/*.deb
|
||||
Binaries/Packaging/debian-package/opt/
|
||||
Binaries/Packaging/debian-package/debian
|
||||
Binaries/Packaging/debian-source-package/gdevelop/
|
||||
Binaries/Packaging/opensuse-build-service/gdevelop/
|
||||
Binaries/Packaging/opensuse-build-service/final/
|
||||
Binaries/Packaging/GDevelop.app/Contents/Frameworks
|
||||
Binaries/Packaging/GDevelop.app/Contents/Resources
|
||||
Binaries/Packaging/logs
|
||||
/WebIDE
|
||||
*.depend
|
||||
*.layout
|
||||
@@ -47,6 +50,9 @@ Binaries/Packaging/debian-package/debian
|
||||
*.debhelper.log
|
||||
/Binaries/Output/Debug_Linux/**
|
||||
/Binaries/Output/Release_Linux/**
|
||||
/Binaries/Output/Debug_Darwin/**
|
||||
/Binaries/Output/Release_Darwin/**
|
||||
/Binaries/Output/Frameworks/
|
||||
!/Binaries/Output/Release_Linux/StartGDevelop.sh
|
||||
!/Binaries/Output/Release_Linux/CppPlatform/
|
||||
/Binaries/**/MinGW32
|
||||
@@ -62,4 +68,14 @@ Binaries/Packaging/debian-package/debian
|
||||
/Binaries/Output/WebIDE/libGD.raw.js
|
||||
/WebIDE
|
||||
!/GDCpp/scripts/bcp.exe
|
||||
/GDJS/tests/node_modules
|
||||
!/scripts/libgettextlib-0-17.dll
|
||||
!/scripts/libgettextsrc-0-17.dll
|
||||
!/xgettext.exe
|
||||
!/Binaries/Output/Release_Windows/locale/libgettextlib-0-17.dll
|
||||
!/Binaries/Output/Release_Windows/locale/libgettextsrc-0-17.dll
|
||||
!/Binaries/Output/Release_Windows/locale/msgcat.exe
|
||||
!/Binaries/Output/Release_Windows/locale/msgfmt.exe
|
||||
!/ExtLibs/curl.exe
|
||||
!/ExtLibs/7za.exe
|
||||
**/.DS_Store
|
||||
**/node_modules/
|
||||
|
33
.travis.yml
@@ -6,32 +6,27 @@ compiler:
|
||||
install:
|
||||
- sudo apt-get update
|
||||
#Download and compile dependencies
|
||||
- cd ExtLibs
|
||||
- sudo apt-get install p7zip-full
|
||||
#SFML
|
||||
#SFML dependencies:
|
||||
- sudo apt-get install libopenal-dev libjpeg-dev libglew-dev libudev-dev libxrandr-dev libsndfile1-dev libglu1-mesa-dev libfreetype6-dev
|
||||
- wget http://www.compilgames.net/code/GameDevelopSDK/SFML.7z
|
||||
- 7za x SFML.7z > /dev/null
|
||||
- cd SFML
|
||||
- mkdir build-linux
|
||||
- cd build-linux
|
||||
- cmake ..
|
||||
- make
|
||||
- sudo make install
|
||||
- cd ..
|
||||
- cd ..
|
||||
#Boost
|
||||
- wget http://www.compilgames.net/code/GameDevelopSDK/boost_1_55_0.7z
|
||||
- 7za x boost_1_55_0.7z > /dev/null
|
||||
- mv boost_1_55_0 boost
|
||||
- cd ..
|
||||
#Compile the tests only
|
||||
- mkdir .build-tests
|
||||
- cd .build-tests
|
||||
- cmake -DBUILD_GDJS=FALSE -DBUILD_IDE=FALSE -DBUILD_EXTENSIONS=FALSE -DBUILD_TESTS=TRUE -DNO_GUI=TRUE ..
|
||||
- make
|
||||
- make -j 4
|
||||
- cd ..
|
||||
#Install GDJS tests dependencies
|
||||
- cd GDJS/tests
|
||||
- npm install
|
||||
- cd ../..
|
||||
|
||||
script:
|
||||
#GDJS game engine tests:
|
||||
- cd GDJS/tests
|
||||
- npm test
|
||||
- cd ../..
|
||||
#GDCore and GDCpp game engine tests:
|
||||
- cd .build-tests
|
||||
# - export LD_LIBRARY_PATH=$PWD/Binaries/Output/Release_Linux:$PWD/.build-tests/ExtLibs/SFML/lib:$LD_LIBRARY_PATH
|
||||
- Core/GDCore_tests
|
||||
- GDCpp/GDCpp_tests
|
||||
- GDCpp/GDCpp_tests
|
@@ -4,10 +4,16 @@
|
||||
#(Right click on file > Properties)
|
||||
|
||||
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
|
||||
./GDIDE
|
||||
if [ -z ${1+x} ]; then
|
||||
./GDIDE
|
||||
else
|
||||
./GDIDE "$1"
|
||||
fi
|
||||
|
||||
if [ "$?" = "127" ]; then
|
||||
mkdir -p ~/.GDevelop
|
||||
./GDIDE 1> ~/.GDevelop/errorMsgWhileLoadingGD.txt 2> ~/.GDevelop/errorMsgWhileLoadingGD.txt
|
||||
|
||||
errorMsg=$(cat < ~/.GDevelop/errorMsgWhileLoadingGD.txt)
|
||||
|
||||
echo "$errorMsg" | grep "loading shared"
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 581 B |
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 685 B |
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 804 B |
Before Width: | Height: | Size: 584 B After Width: | Height: | Size: 639 B |
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 826 B |
Before Width: | Height: | Size: 412 B After Width: | Height: | Size: 319 B |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 619 B After Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 483 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 340 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 717 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 545 B |
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 478 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 896 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 961 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 987 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 708 B |
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 469 B After Width: | Height: | Size: 386 B |
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 819 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 858 B |
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 859 B |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 943 B |
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 650 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1010 B |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 869 B |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 464 B |
BIN
Binaries/Output/Release_Windows/Examples/01.jpg
Executable file
After Width: | Height: | Size: 7.8 KiB |
BIN
Binaries/Output/Release_Windows/Examples/02.jpg
Executable file
After Width: | Height: | Size: 7.2 KiB |
BIN
Binaries/Output/Release_Windows/Examples/03.jpg
Executable file
After Width: | Height: | Size: 7.3 KiB |
BIN
Binaries/Output/Release_Windows/Examples/04.jpg
Executable file
After Width: | Height: | Size: 7.3 KiB |
BIN
Binaries/Output/Release_Windows/Examples/05.jpg
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
Binaries/Output/Release_Windows/Examples/06.jpg
Executable file
After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
@@ -0,0 +1,906 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<project firstLayout="">
|
||||
<gdVersion build="78" major="3" minor="6" revision="0" />
|
||||
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
|
||||
<name>Animation speed scale</name>
|
||||
<author></author>
|
||||
<windowWidth>800</windowWidth>
|
||||
<windowHeight>600</windowHeight>
|
||||
<latestCompilationDirectory></latestCompilationDirectory>
|
||||
<maxFPS>60</maxFPS>
|
||||
<minFPS>10</minFPS>
|
||||
<verticalSync>false</verticalSync>
|
||||
<extensions>
|
||||
<extension name="BuiltinObject" />
|
||||
<extension name="BuiltinAudio" />
|
||||
<extension name="BuiltinVariables" />
|
||||
<extension name="BuiltinTime" />
|
||||
<extension name="BuiltinMouse" />
|
||||
<extension name="BuiltinKeyboard" />
|
||||
<extension name="BuiltinJoystick" />
|
||||
<extension name="BuiltinCamera" />
|
||||
<extension name="BuiltinWindow" />
|
||||
<extension name="BuiltinFile" />
|
||||
<extension name="BuiltinNetwork" />
|
||||
<extension name="BuiltinScene" />
|
||||
<extension name="BuiltinAdvanced" />
|
||||
<extension name="Sprite" />
|
||||
<extension name="BuiltinCommonInstructions" />
|
||||
<extension name="BuiltinCommonConversions" />
|
||||
<extension name="BuiltinStringInstructions" />
|
||||
<extension name="BuiltinMathematicalTools" />
|
||||
<extension name="BuiltinExternalLayouts" />
|
||||
<extension name="TiledSpriteObject" />
|
||||
<extension name="PlatformAutomatism" />
|
||||
<extension name="TextObject" />
|
||||
</extensions>
|
||||
<platforms>
|
||||
<platform name="GDevelop C++ platform" />
|
||||
<platform name="GDevelop JS platform" />
|
||||
</platforms>
|
||||
<currentPlatform>GDevelop JS platform</currentPlatform>
|
||||
</properties>
|
||||
<resources>
|
||||
<resources>
|
||||
<resource alwaysLoaded="false" file="p1_stand.png" kind="image" name="p1_stand.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_jump.png" kind="image" name="p1_jump.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk01.png" kind="image" name="p1_walk01.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk02.png" kind="image" name="p1_walk02.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk03.png" kind="image" name="p1_walk03.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk04.png" kind="image" name="p1_walk04.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk05.png" kind="image" name="p1_walk05.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk06.png" kind="image" name="p1_walk06.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk07.png" kind="image" name="p1_walk07.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk08.png" kind="image" name="p1_walk08.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk09.png" kind="image" name="p1_walk09.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk10.png" kind="image" name="p1_walk10.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="p1_walk11.png" kind="image" name="p1_walk11.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="brickWall.png" kind="image" name="brickWall.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="bridge.png" kind="image" name="bridge.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="grassHalfMid.png" kind="image" name="grassHalfMid.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="castleCenter.png" kind="image" name="castleCenter.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="bridgeLogs.png" kind="image" name="bridgeLogs.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="Left.png" kind="image" name="Left.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="Right.png" kind="image" name="Right.png" smoothed="true" userAdded="false" />
|
||||
<resource alwaysLoaded="false" file="ladder_mid.png" kind="image" name="ladder_mid.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="Grass.png" kind="image" name="Grass.png" smoothed="true" userAdded="true" />
|
||||
</resources>
|
||||
<resourceFolders />
|
||||
</resources>
|
||||
<objects />
|
||||
<objectsGroups />
|
||||
<variables />
|
||||
<layouts>
|
||||
<layout b="252" disableInputWhenNotFocused="true" mangledName="New_32scene" name="New scene" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="201" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="233">
|
||||
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="70" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="70" snap="true" windowMask="false" zoomFactor="1.000000" />
|
||||
<objectsGroups />
|
||||
<variables />
|
||||
<instances>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Player" width="0.000000" x="117.999947" y="449.230774" zOrder="20">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="true" height="70.000000" layer="" locked="false" name="TiledGrassPlatform" width="5262.430664" x="-583.046265" y="571.000000" zOrder="1">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="-581.269226" y="167.923035" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="-579.961609" y="500.076843" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="-578.653503" y="434.692230" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="-578.653503" y="369.307617" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="-578.653992" y="301.307648" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="-579.961609" y="233.307648" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="4552.730469" y="435.999939" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="4551.422363" y="501.384552" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="4552.730469" y="370.615326" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="4552.729980" y="302.615356" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="4550.114746" y="169.230743" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platform" width="0.000000" x="4551.422363" y="234.615356" zOrder="21">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="917.730652" y="421.615326" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="779.115295" y="422.923035" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="848.422913" y="421.615326" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="363.269226" y="420.307678" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="432.576843" y="418.999969" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="501.884521" y="418.999969" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="572.500000" y="421.615356" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="641.807617" y="420.307648" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Jumpthru" width="0.000000" x="711.115356" y="420.307648" zOrder="22">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="Nouveau calque" locked="false" name="AnimationScaleText" width="0.000000" x="18.807678" y="14.923172" zOrder="1">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
</instances>
|
||||
<objects>
|
||||
<object name="Player" type="Sprite">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism acceleration="1500.000000" deceleration="1500.000000" gravity="1300.000000" ignoreDefaultControls="false" jumpSpeed="1000.000000" maxFallingSpeed="1000.000000" maxSpeed="250.000000" name="PlatformerObject" slopeMaxAngle="0.000000" type="PlatformAutomatism::PlatformerObjectAutomatism" />
|
||||
</automatisms>
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_stand.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="46.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="92.000000" />
|
||||
<vertice x="0.000000" y="92.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_jump.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="47.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="94.000000" />
|
||||
<vertice x="0.000000" y="94.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="true" timeBetweenFrames="0.050000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk03.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk04.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk05.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk06.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk07.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object name="Platform" type="Sprite">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="NormalPlatform" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="brickWall.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="35.000000" y="35.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="70.000000" />
|
||||
<vertice x="0.000000" y="70.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="Grass.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="35.000000" y="35.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="70.000000" />
|
||||
<vertice x="0.000000" y="70.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object name="Jumpthru" type="Sprite">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="Jumpthru" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="bridgeLogs.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="35.000000" y="12.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="25.000000" />
|
||||
<vertice x="0.000000" y="25.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object height="70.000000" name="TiledGrassPlatform" texture="grassHalfMid.png" type="TiledSpriteObject::TiledSprite" width="70.000000">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="NormalPlatform" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
</object>
|
||||
<object height="70.000000" name="TiledCastlePlatform" texture="castleCenter.png" type="TiledSpriteObject::TiledSprite" width="70.000000">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="NormalPlatform" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
</object>
|
||||
<object name="MovingPlatform" type="Sprite">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="Jumpthru" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="bridge.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="35.000000" y="10.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="0.000000" />
|
||||
<vertice x="70.000000" y="20.000000" />
|
||||
<vertice x="0.000000" y="20.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object name="GoLeft" type="Sprite">
|
||||
<variables />
|
||||
<automatisms />
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="Left.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="13.500000" y="13.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="27.000000" y="0.000000" />
|
||||
<vertice x="27.000000" y="27.000000" />
|
||||
<vertice x="0.000000" y="27.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object name="GoRight" type="Sprite">
|
||||
<variables />
|
||||
<automatisms />
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="Right.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="13.500000" y="13.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="27.000000" y="0.000000" />
|
||||
<vertice x="27.000000" y="27.000000" />
|
||||
<vertice x="0.000000" y="27.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object height="70.000000" name="Ladder" texture="ladder_mid.png" type="TiledSpriteObject::TiledSprite" width="70.000000">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="Ladder" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
</object>
|
||||
<object bold="true" italic="false" name="AnimationScaleText" smoothed="true" type="TextObject::Text" underlined="false">
|
||||
<variables />
|
||||
<automatisms />
|
||||
<string>Text</string>
|
||||
<font></font>
|
||||
<characterSize>20</characterSize>
|
||||
<color b="0" g="0" r="0" />
|
||||
</object>
|
||||
</objects>
|
||||
<events>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>The "Player" object has an automatism called "Platformer object": 
You can move it using the arrows key and the Shift key to jump.

The platforms are recognized thanks to their "Platform" automatism.</comment>
|
||||
<comment2>L'objet "Player" possède un automatisme appelé "Personnage déplaçable sur les plateformes":
Vous pouvez le bouger avec les flèches directionnelles et utiliser la touche Shift ( ou Maj ) pour sauter.

Les plateformes ont toutes un automatisme "Plateforme" afin d'être reconnues comme telles.</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="DepartScene" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimationSpeedScale" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>1</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>Change the animation according to what the player do.</comment>
|
||||
<comment2>On change l'animation en fonction de ce que fait le joueur.</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsJumping" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>1</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsFalling" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>1</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsOnFloor" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions />
|
||||
<events>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="true" value="PlatformAutomatism::IsMoving" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>0</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsMoving" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>2</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
</events>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="KeyPressed" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>Left</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="FlipX" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>yes</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="BuiltinCommonInstructions::Once" />
|
||||
<parameters />
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ResetTimer" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>"movementTime"</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>We use a timer to know the time elasped since the beginning of the movement. Then, we use this time to determine the speed of the player (and update the animation speed scale to accelerate the animation)</comment>
|
||||
<comment2>On utilise un chronomètre pour connaître le temps écoulé depuis le début du mouvement du personnage. Ensuite, on utilise ce temps pour déterminer la vitesse du personnage (et mettre à jour l'échelle de vitesse de l'animation du personnage).</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions />
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="PlatformAutomatism::MaxSpeed" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>800*(1-exp(-0.5*TimerElapsedTime("movementTime")))</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimationSpeedScale" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>(800*(1-exp(-0.5*TimerElapsedTime("movementTime"))))/400</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
</events>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="KeyPressed" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>Right</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="FlipX" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>no</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="BuiltinCommonInstructions::Once" />
|
||||
<parameters />
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ResetTimer" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>"movementTime"</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions />
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="PlatformAutomatism::MaxSpeed" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>800*(1-exp(-0.5*TimerElapsedTime("movementTime")))</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimationSpeedScale" />
|
||||
<parameters>
|
||||
<parameter>Player</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>(800*(1-exp(-0.5*TimerElapsedTime("movementTime"))))/400</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
</events>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>Make sure the camera follows the player.</comment>
|
||||
<comment2>On s'assure que la caméra suit le joueur.</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions />
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="CameraX" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>Player.X()</parameter>
|
||||
<parameter></parameter>
|
||||
<parameter></parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
<action>
|
||||
<type inverted="false" value="TextObject::String" />
|
||||
<parameters>
|
||||
<parameter>AnimationScaleText</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>ToString(Player.AnimationSpeedScale())</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>Management of the moving platform:</comment>
|
||||
<comment2>Gestion de la plateforme bougeante:</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="DepartScene" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="Cache" />
|
||||
<parameters>
|
||||
<parameter>GoLeft</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
<action>
|
||||
<type inverted="false" value="Cache" />
|
||||
<parameters>
|
||||
<parameter>GoRight</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
</events>
|
||||
<layers>
|
||||
<layer name="" visibility="true">
|
||||
<cameras>
|
||||
<camera defaultSize="true" defaultViewport="true" height="0.000000" viewportBottom="1.000000" viewportLeft="0.000000" viewportRight="1.000000" viewportTop="0.000000" width="0.000000" />
|
||||
</cameras>
|
||||
</layer>
|
||||
<layer name="Nouveau calque" visibility="true">
|
||||
<cameras>
|
||||
<camera defaultSize="true" defaultViewport="true" height="0.000000" viewportBottom="1.000000" viewportLeft="0.000000" viewportRight="1.000000" viewportTop="0.000000" width="0.000000" />
|
||||
</cameras>
|
||||
</layer>
|
||||
</layers>
|
||||
<automatismsSharedData>
|
||||
<automatismSharedData name="Platform" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
<automatismSharedData name="PlatformerObject" type="PlatformAutomatism::PlatformerObjectAutomatism" />
|
||||
</automatismsSharedData>
|
||||
</layout>
|
||||
</layouts>
|
||||
<externalEvents />
|
||||
<externalLayouts />
|
||||
<externalSourceFiles />
|
||||
</project>
|
Before Width: | Height: | Size: 259 KiB After Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 963 B After Width: | Height: | Size: 757 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 772 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 24 KiB |