From 27640fb0bf419f453e7e5af040e39f1d6a200562 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 2 Nov 2023 13:02:19 -0400 Subject: [PATCH] v2.3.0: implemented some early gnoll sapper and geomancer sprites --- .../main/assets/sprites/gnoll_geomancer.png | Bin 0 -> 865 bytes core/src/main/assets/sprites/gnoll_sapper.png | Bin 0 -> 559 bytes .../shatteredpixeldungeon/Assets.java | 2 + .../sprites/GnollGeomancerSprite.java | 54 ++++++++++++++++++ .../sprites/GnollSapperSprite.java | 54 ++++++++++++++++++ 5 files changed, 110 insertions(+) create mode 100644 core/src/main/assets/sprites/gnoll_geomancer.png create mode 100644 core/src/main/assets/sprites/gnoll_sapper.png create mode 100644 core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/GnollGeomancerSprite.java create mode 100644 core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/GnollSapperSprite.java diff --git a/core/src/main/assets/sprites/gnoll_geomancer.png b/core/src/main/assets/sprites/gnoll_geomancer.png new file mode 100644 index 0000000000000000000000000000000000000000..03ead16722f2f69278887c39613aec4ddbdcd093 GIT binary patch literal 865 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K51UQ(18JY9Mt!z$e5NNQ?8aZErH1o1>*E z$z`R?@1Q4A7a?DtWxu{JxFA&9&qN?Czg2yfeu?0v10nj42 zT@dSl&I39OCw_Yf@e@LbNEZ4$u1`{U{27*fG_WeV$LRYjhblQw4A1;rCe%gd+# z|G%Hl!%%a@)lCmKecJaWqrB8sl>JitF}*V>L8mrxTvz^8Z@z&2aL?OhugUhhO#qu zwYJ_o>Zy5JDQ5P+kZ`G6dCb2KntaZ=uRnE@j%oKx|I&2d%eexV&s-_J+@o|lXyc53 zG5Py=Ure9;@{G2&_EsJ5vq`^-@80sib>W!B?p?dKxwWvei-i67Xqog&`>wZi%tf}X z>#n#l|I3_t?NGwOa~bms&N}lb^jr*?7tHGRrBUvNx3r9xw3+$#Yun4qzJKF)<2&#o zrDH(?`vJx^4m=8c2fS+cO`YI%_r;MrOYXEC_;mLHAAf(Jzu)RA8TQYO|a6oox$w&$ThETbG~r{+;}l6U|3*|29?o zyR_yhGyf1^+qgR;bY1UNkDiPzPckOnUNFbL#%5R6B1SIVq#wU!7pKh^w3T<5P<%*m z8Z*P1CmlWC?zAc7+u7OX@82_Tzif}3gVx%Avf2%dmb}x1J_%adDj(6Y;8`m#fB!$P z1cTYOV`a?urCUh8Q|{ZpqG>;28SJS2a_Uv<)K_FxPhI!r6Y6$;JHUvpE+!m{o^6 z4y@nb>$+9BGVtQdt4u26SKlsWT(*IEjN`z#_SSu0<;FY}t1H+D1ss}6y=8J?+22oJ zQO435SYjIve~9CNNwFGmu!f0Yt4fH>YCfHi%s>$G?>jUga&u@PXcjTR;z8;}M{?c^RdcN$qL_ x90Gs6!_bq1zwyzZAV-m9Y5h3-YyiP1008AEAZK7y-% + */ + +package com.shatteredpixel.shatteredpixeldungeon.sprites; + +import com.shatteredpixel.shatteredpixeldungeon.Assets; +import com.watabou.noosa.TextureFilm; + +public class GnollGeomancerSprite extends MobSprite { + + public GnollGeomancerSprite() { + super(); + + texture(Assets.Sprites.GNOLL_GEOMANCER); + + TextureFilm frames = new TextureFilm( texture, 12, 16 ); + + idle = new Animation( 2, true ); + idle.frames( frames, 0, 0, 0, 1, 0, 0, 1, 1 ); + + run = new Animation( 12, true ); + run.frames( frames, 4, 5, 6, 7 ); + + attack = new Animation( 12, false ); + attack.frames( frames, 2, 3, 0 ); + + zap = attack.clone(); + + die = new Animation( 12, false ); + die.frames( frames, 8, 9, 10 ); + + play( idle ); + } + + +} diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/GnollSapperSprite.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/GnollSapperSprite.java new file mode 100644 index 000000000..f4f52dd13 --- /dev/null +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/GnollSapperSprite.java @@ -0,0 +1,54 @@ +/* + * Pixel Dungeon + * Copyright (C) 2012-2015 Oleg Dolya + * + * Shattered Pixel Dungeon + * Copyright (C) 2014-2023 Evan Debenham + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ + +package com.shatteredpixel.shatteredpixeldungeon.sprites; + +import com.shatteredpixel.shatteredpixeldungeon.Assets; +import com.watabou.noosa.TextureFilm; + +public class GnollSapperSprite extends MobSprite { + + public GnollSapperSprite() { + super(); + + texture(Assets.Sprites.GNOLL_SAPPER ); + + TextureFilm frames = new TextureFilm( texture, 12, 15 ); + + idle = new Animation( 2, true ); + idle.frames( frames, 0, 0, 0, 1, 0, 0, 1, 1 ); + + run = new Animation( 12, true ); + run.frames( frames, 4, 5, 6, 7 ); + + attack = new Animation( 12, false ); + attack.frames( frames, 2, 3, 0 ); + + zap = attack.clone(); + + die = new Animation( 12, false ); + die.frames( frames, 8, 9, 10 ); + + play( idle ); + } + + +}