From eb9899804638ec1f6bdcbe6a8416f49de21f1c61 Mon Sep 17 00:00:00 2001 From: Webeled Date: Fri, 11 Oct 2013 22:29:50 +0100 Subject: [PATCH] Testing --- .../Animation from a JSON object.php | 144 ++++++++++++++++++ .../Animation from a texturePacker file.php | 38 +++++ examples/animation/animation wraparound.php | 52 +++++++ examples/assets/maps/cybernoid.png.png | Bin 0 -> 4849 bytes .../groups/add to group after creation.php | 63 ++++++++ examples/groups/bring a group to top.php | 101 ++++++++++++ .../groups/bring specific sprites to top.php | 46 ++++++ .../groups/create a sprite inside a group.php | 56 +++++++ examples/input/drag several sprites.php | 51 +++++++ examples/loader/random images from loader.php | 50 ++++++ examples/sprites/add a sprite.php | 28 ++++ examples/sprites/add several sprites.php | 61 ++++++++ examples/sprites/move a sprite.php | 64 ++++++++ examples/sprites/multiple .php | 59 +++++++ ...several sprites using one texture file.php | 59 +++++++ .../crop and see part of an image.php | 44 ++++++ .../crop and tween horizontally.php | 42 +++++ .../crop and tween vertically.php | 42 +++++ examples/tweens/bounce.php | 48 ++++++ examples/tweens/bubbles.php | 44 ++++++ examples/tweens/combined tweens.php | 73 +++++++++ examples/tweens/easing spritesheets.php | 42 +++++ examples/tweens/easing.php | 54 +++++++ examples/tweens/fading in a sprite.php | 34 +++++ .../tweens/tweening several properties.php | 40 +++++ 25 files changed, 1335 insertions(+) create mode 100644 examples/animation/Animation from a JSON object.php create mode 100644 examples/animation/Animation from a texturePacker file.php create mode 100644 examples/animation/animation wraparound.php create mode 100644 examples/assets/maps/cybernoid.png.png create mode 100644 examples/groups/add to group after creation.php create mode 100644 examples/groups/bring a group to top.php create mode 100644 examples/groups/bring specific sprites to top.php create mode 100644 examples/groups/create a sprite inside a group.php create mode 100644 examples/input/drag several sprites.php create mode 100644 examples/loader/random images from loader.php create mode 100644 examples/sprites/add a sprite.php create mode 100644 examples/sprites/add several sprites.php create mode 100644 examples/sprites/move a sprite.php create mode 100644 examples/sprites/multiple .php create mode 100644 examples/sprites/several sprites using one texture file.php create mode 100644 examples/texture crop/crop and see part of an image.php create mode 100644 examples/texture crop/crop and tween horizontally.php create mode 100644 examples/texture crop/crop and tween vertically.php create mode 100644 examples/tweens/bounce.php create mode 100644 examples/tweens/bubbles.php create mode 100644 examples/tweens/combined tweens.php create mode 100644 examples/tweens/easing spritesheets.php create mode 100644 examples/tweens/easing.php create mode 100644 examples/tweens/fading in a sprite.php create mode 100644 examples/tweens/tweening several properties.php diff --git a/examples/animation/Animation from a JSON object.php b/examples/animation/Animation from a JSON object.php new file mode 100644 index 00000000..c42d0643 --- /dev/null +++ b/examples/animation/Animation from a JSON object.php @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/examples/animation/Animation from a texturePacker file.php b/examples/animation/Animation from a texturePacker file.php new file mode 100644 index 00000000..67420bd1 --- /dev/null +++ b/examples/animation/Animation from a texturePacker file.php @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/examples/animation/animation wraparound.php b/examples/animation/animation wraparound.php new file mode 100644 index 00000000..aef294fe --- /dev/null +++ b/examples/animation/animation wraparound.php @@ -0,0 +1,52 @@ + + + + + \ No newline at end of file diff --git a/examples/assets/maps/cybernoid.png.png b/examples/assets/maps/cybernoid.png.png new file mode 100644 index 0000000000000000000000000000000000000000..8f49737ce6c94def90ece22b9d3e9f12ad3d7ef9 GIT binary patch literal 4849 zcmV~S1__1rR_fY%x?c3H~zr8-n^Y{9py6JOY+w!M>AD+J+bz}eatS0+= zea^1I>;KBf_w#q>|NR#Vj|UVw&H@n~BhSJ69{D;7@B!ZU@s$9t|H11&?YW`eqR`11#T6<=!ReWBs*%A01VWGwdv2z zB!MFkZ&Fu`o|_7RE`SDUYp?f&6x~4&hEODV*WX0HW4*6`p8yF zXFbT902aC~(s@_4VOD^nZKpz5oudJgprQ+ar1uVbC4Jek@J3SSur>|w>o}zUB6zEf zIMz4T&07s{1Y!yBXd^9ZfXeF-QXQlOwhRk&QP2f~9tEHpFv;ZU(-K;w14~e^@IqMU zX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$y%M3? zFGv@#D}-0hs@R4!1#h)SA~MRD2CY&2ngVPDOguH|s&WL^HQ;?<^{=4BwIocT>VVXT zSKIP8z?7ft1w=WyTOtek-vnTJj9Yln@I>hRk6q4&rBWozB3Mlt%)5~<5VWdj-tR9~ zJu51K!8&YK3S5PQo&7;%iMK$^0y9~FHM~}M)KdZEe}gkpoV=B28f*lhL%*L4F#G)l zuCcJ#tIBv24}1N?vU8XO-u4rpXbR#lvev}1@W>=F)DXbNYyv8Mqf+>g0-IDJ?k|B! znNpVOx9+o+o@$lATH;1J$&$KZAF1IQivqk;BaA6BS{R_T%}4?f1vshyG6M=3bEtX8 z_qIUD+9?!GBo!^FytFN1g21(;?|MgCDnx4`k{*B~YgR;!H+NDi0JwFo;9c8-I{c7W zyc{J9E#AB=&C-{u35FC#(w9l#j6PfiaK!u2oB~=9HvcGqy+X#JH6IF82MI0G+2kLH zNM58`GzBsmR0y-2Yj7G98fB^g{s=dkw`hmwmFTHmz}5$jw#)?$OJuzuAE-a9SDv># z5#~xpfmtX_O{xIkGbHfDjajDa0on|?*wW={ovFzT2a?}TGUp2tqZ)E|NrChb!4b9-rJZ{(j zE&ywY^V12L;Isr@J5oxD-GvMcsg~P`xz9${IMA-LS@qyv z9rS8Ha>eo864+877{uC=_SB54A)X!JRzK|3e&h-jrd0y}?^rd2Qb)cRZap3E3W%)> zcNc(L{IFO1k*}A)tC7Y^2x)i~#9F_*0^o?`nHAt(KkN*C(p0DiX51^9&aY|l0p;EH9m9)O?ik-*RPY^?zIE+zW_{A>@v&-QE&z|Zyo z`~duH55Nz=&-MWPY|r+%(Vp$Y0e%7*&-O^*2jFMB0^lc^=h+^BAAp~2(Dok}hJ4^w zv1b(k001p?MObuGZ)S9NVRB^vVtFoNY;SL5WO*)Qa(QrcZ!T$VVP|D7P) XZ)9b1s0M%T00000NkvXXu0mjfRdx^0 literal 0 HcmV?d00001 diff --git a/examples/groups/add to group after creation.php b/examples/groups/add to group after creation.php new file mode 100644 index 00000000..b224864a --- /dev/null +++ b/examples/groups/add to group after creation.php @@ -0,0 +1,63 @@ + + + + + + diff --git a/examples/groups/bring a group to top.php b/examples/groups/bring a group to top.php new file mode 100644 index 00000000..5a8324aa --- /dev/null +++ b/examples/groups/bring a group to top.php @@ -0,0 +1,101 @@ + + + + + + diff --git a/examples/groups/bring specific sprites to top.php b/examples/groups/bring specific sprites to top.php new file mode 100644 index 00000000..60c1c512 --- /dev/null +++ b/examples/groups/bring specific sprites to top.php @@ -0,0 +1,46 @@ + + + + + + diff --git a/examples/groups/create a sprite inside a group.php b/examples/groups/create a sprite inside a group.php new file mode 100644 index 00000000..16ccdf0c --- /dev/null +++ b/examples/groups/create a sprite inside a group.php @@ -0,0 +1,56 @@ + + + + + + diff --git a/examples/input/drag several sprites.php b/examples/input/drag several sprites.php new file mode 100644 index 00000000..bdea15f1 --- /dev/null +++ b/examples/input/drag several sprites.php @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/examples/loader/random images from loader.php b/examples/loader/random images from loader.php new file mode 100644 index 00000000..732ed414 --- /dev/null +++ b/examples/loader/random images from loader.php @@ -0,0 +1,50 @@ + + + + + \ No newline at end of file diff --git a/examples/sprites/add a sprite.php b/examples/sprites/add a sprite.php new file mode 100644 index 00000000..cb889eb7 --- /dev/null +++ b/examples/sprites/add a sprite.php @@ -0,0 +1,28 @@ + + + + + \ No newline at end of file diff --git a/examples/sprites/add several sprites.php b/examples/sprites/add several sprites.php new file mode 100644 index 00000000..1263b99d --- /dev/null +++ b/examples/sprites/add several sprites.php @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/examples/sprites/move a sprite.php b/examples/sprites/move a sprite.php new file mode 100644 index 00000000..13b8fceb --- /dev/null +++ b/examples/sprites/move a sprite.php @@ -0,0 +1,64 @@ + + + + + \ No newline at end of file diff --git a/examples/sprites/multiple .php b/examples/sprites/multiple .php new file mode 100644 index 00000000..25bb6e2d --- /dev/null +++ b/examples/sprites/multiple .php @@ -0,0 +1,59 @@ + + + + + \ No newline at end of file diff --git a/examples/sprites/several sprites using one texture file.php b/examples/sprites/several sprites using one texture file.php new file mode 100644 index 00000000..25bb6e2d --- /dev/null +++ b/examples/sprites/several sprites using one texture file.php @@ -0,0 +1,59 @@ + + + + + \ No newline at end of file diff --git a/examples/texture crop/crop and see part of an image.php b/examples/texture crop/crop and see part of an image.php new file mode 100644 index 00000000..31cbd4c7 --- /dev/null +++ b/examples/texture crop/crop and see part of an image.php @@ -0,0 +1,44 @@ + + + + + \ No newline at end of file diff --git a/examples/texture crop/crop and tween horizontally.php b/examples/texture crop/crop and tween horizontally.php new file mode 100644 index 00000000..f4daeb7e --- /dev/null +++ b/examples/texture crop/crop and tween horizontally.php @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/examples/texture crop/crop and tween vertically.php b/examples/texture crop/crop and tween vertically.php new file mode 100644 index 00000000..0ca156e1 --- /dev/null +++ b/examples/texture crop/crop and tween vertically.php @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/bounce.php b/examples/tweens/bounce.php new file mode 100644 index 00000000..92a6663e --- /dev/null +++ b/examples/tweens/bounce.php @@ -0,0 +1,48 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/bubbles.php b/examples/tweens/bubbles.php new file mode 100644 index 00000000..cee5199d --- /dev/null +++ b/examples/tweens/bubbles.php @@ -0,0 +1,44 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/combined tweens.php b/examples/tweens/combined tweens.php new file mode 100644 index 00000000..7afd42e8 --- /dev/null +++ b/examples/tweens/combined tweens.php @@ -0,0 +1,73 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/easing spritesheets.php b/examples/tweens/easing spritesheets.php new file mode 100644 index 00000000..18f0ae62 --- /dev/null +++ b/examples/tweens/easing spritesheets.php @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/easing.php b/examples/tweens/easing.php new file mode 100644 index 00000000..6dc369f2 --- /dev/null +++ b/examples/tweens/easing.php @@ -0,0 +1,54 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/fading in a sprite.php b/examples/tweens/fading in a sprite.php new file mode 100644 index 00000000..51790c7c --- /dev/null +++ b/examples/tweens/fading in a sprite.php @@ -0,0 +1,34 @@ + + + + + \ No newline at end of file diff --git a/examples/tweens/tweening several properties.php b/examples/tweens/tweening several properties.php new file mode 100644 index 00000000..d358278c --- /dev/null +++ b/examples/tweens/tweening several properties.php @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file