From 7e1c955c8bef845b51dc6d6e9dec429933996ab1 Mon Sep 17 00:00:00 2001 From: Recrown Date: Fri, 21 Jul 2017 22:33:21 -0500 Subject: [PATCH] prepared for explosion effects and added disintegrate sound fx --- android/assets/sounds/disintegrate.ogg | Bin 0 -> 7938 bytes android/assets/sounds/explosion.ogg | Bin 6287 -> 9706 bytes core/src/zero1hd/polyjet/Polyjet.java | 2 ++ .../polyjet/entity/EntityController.java | 9 ++++++++- .../polyjet/entity/enemies/VoidCircle.java | 17 ++++++++++++++++- 5 files changed, 26 insertions(+), 2 deletions(-) create mode 100755 android/assets/sounds/disintegrate.ogg diff --git a/android/assets/sounds/disintegrate.ogg b/android/assets/sounds/disintegrate.ogg new file mode 100755 index 0000000000000000000000000000000000000000..affc432662839b874ec55f6a77a0a7f41993c7b4 GIT binary patch literal 7938 zcmaiZ2|U!@_x~OHmYpaxWE)Y&QjH!d1dx)R9z5ZmjKZ?ql2k-}RDyhtUB@Kjq zGX|c$7f%Xhsn_*By)`UdkpJ~@6ygbg%1k}KD{U@mR&ZC0P00cUp$f@N3EQq z#iN8^bzQ{2L%b-!nQ+=hZYhh`OhgXojb+GG5aL`C_h)r6g-Qy6O$B}k#BJI~A&k9BTRepv{u2BnZ z=|}{~*^fz`M&(KD$(zFD(MLp;(g7E$N|3C{5~$>SgF-jYa*xc~bN6e#yQ<~8syS$n zK$|j9X9IFPG7A4kakEKv{lAOWxehs?1$Ei(C(`aGsf&|r_m^j;X}AMGn`+_YTm4n^ z0#w=q{(wau)1a%?^MTTBOxaI`>axMt{ai4~8@2V@@%D=HT-imYFhj z#c7!|3wremPeWUxI@4Qo()%+4dJQ--C_Al7yqU~p#RITUcs7f(P53N)&SM~hxp?#x z9Bb2`F>|kuAGU6gGi7S(EO+?*1&iV{S-sCOAK-`^W0{0HR(sf5cggzF!%FS@Pxxp- zyPbU_)OIHf84}Or#4lbbo+1{Qz?qVR?m!iY-HbnpEey&-at<)t?txB7F)#fXkxleGQA&TWyA&PI-%wz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J@h%;Rc!dMr#rU!_A20nYr|Y%F)x zG~T61PX|*dlFKLzxZwTfe(=eULh)h_htb6)_3-vPOQX#q3mF9#qtI3Pb@hmktYZK_ znRs_D0sY8c9<1Lsx_=awV_ z{ZLR5*D54-HR^g?^aI{}<5x1JQV~qY)X{6xBV;x03+em&Z|&{BMAX`PliFmmH#=i< zavwp{7;(&T`RY0!0BKe)ZP6B>iJ$3cw%Jsx;$WI`=7USaANSwhckz3y^^(0t;Cg>+ z@!(W|=b(q@Mt}Po9gA5@wV($N3kL@V2M6;9r?IAetDkF<2o*hvg=`+KGaDlb@j6pF z5=r`!1MmZZ?RB|BqBl+@=t#h~-^LahCsmCHIb4M@P99)<>$Y^$ijXyYVX)A+Sx1Nc zxg^l=+}w5u=`MF13tc?khydJz50c5p5n$Pgo;33#CQT|-Uq4iQ%V#UDdRe&(yYK85 zY^k@zRH|bDyM;~+!{}1fp86FfmOz^xxghu3L+~l;3@^;-Y;4Pgg}x z3CH56k1x3K@+ed;)9y25Hm%ep4N=D`<)DQNjWcn+%ATsz8# zA296-daYY>Fno8O4k878@rz610Qi5}eWSks literal 0 HcmV?d00001 diff --git a/android/assets/sounds/explosion.ogg b/android/assets/sounds/explosion.ogg index e4ce2373a7ae2691966d5e04eb6da775acf4f904..9011613a008ab0351fec97deb396db8fd5e18022 100755 GIT binary patch literal 9706 zcmai32|Sct+rP(H%T|{3P(}}FWE%_(X|zZN$uNZMTlSq6%M>LgiOIe*WX~QdDqGpI zlQqhoLI^S6nbGq;&-;Gg@BQxkIL>{p`&{Q-*ZE(|xkua1P8XtseqXstyN$89=RaYG zVLq-NmiC_1F4(#J->>+>XpQGEZR*H>UDT0OiiObSc1|VAzg_R(yNr$l`el2!tCHFt zb_geXOMM!9ggQb-8YLqwBQ1+KrtR!v@8)6SY2)IBr1FL_><&eqIjawYm_ZLp6VX8Y z5J7+-P6#p=MzTlQsw2syv}4y}Nf)TC2Ib&%>zO75b+pGc*c~v zLp#QfPc+;k6=Q$#L^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MtB#Fj-fjx=^f7(P=WpB0`GVCYMu@875)0RRy>EPAWPu+m3I=FB1@-pJ-G;rygfyDpmaTMZZS#;=?!P zM|j8FYStoUADKmd|Ke}_z4dbUo?<0=dbFaQEug5kTo`Sh)?O+`C8A4<(D!52U(ad6 z>!xe$8G+^Io)z;dEBKfL+Z{>06zGTxzqpN~G%-s^yFvr7t%R<4>q=u_^kXGdFP zx-R_OjH%NWcI*WHe4W%Kd=7Y1GjHr&qM%CMQ>~hpAr&&ohFU}(H8yg4KAN_5i1ls0 z+fu6!mNJ11sV!nC0lNL4`R(1p{edn-KFrqJ{U%oE2&IQ!ZK$!UuruEto#`JvnIq() zkdpsGLcL$#VyEg)-xv|P^WSV9*TQGdtIu03!(LKD`;gb>;vRNnMYrvnZ{N23^U{Tf z=R(C^+La{+mzc^+8hy%{V-UBxUzjcb39)%Tk*i<%=X5IMoSg&Vs{5l4&{XT8Q=(fw z=V1H$1H(hTli(pU?^L7h9w(=M8c)|~_4D{qJ~#GSxbyo;c`tr$fs7e;TWji);yV`SF2ay;dwSw%|@5)qL)GFV!jA&8Z+IUi&YoFto z*h34i#hq;*%7@k-srNlN(Om1u+SESp^RB&y78RK@StpuW%bg-f#dO!29(L~@%ih#? zM`cWpcmKTbUD@npSv;K6g7vRd&RuB^Fiiv;zWpc?Ev!^g`cNL5A5~p*`^{x#?l(lR z&9)s7*1ULK*^Jio%mG+VY`|Xydd8fL3!DJMeNisS*+NWhg>*h2@c!B|AN|74+c-5f o*xfL4q6d<*dGd#CfAEEJc#E!kE8bXnQLH&T;1cJZgFfW{0Ee@}UjP6A diff --git a/core/src/zero1hd/polyjet/Polyjet.java b/core/src/zero1hd/polyjet/Polyjet.java index 49a93d9..2e4543e 100755 --- a/core/src/zero1hd/polyjet/Polyjet.java +++ b/core/src/zero1hd/polyjet/Polyjet.java @@ -132,6 +132,8 @@ public class Polyjet extends Game { assetManager.load("void_circle.png", Texture.class); assetManager.load("laser.ogg", Sound.class); assetManager.load("explosion.ogg", Sound.class); + assetManager.load("disintegrate.ogg", Sound.class); + assetManager.load("explosion-s.p", ParticleEffect.class); } public void generateFonts() { initComplete = true; diff --git a/core/src/zero1hd/polyjet/entity/EntityController.java b/core/src/zero1hd/polyjet/entity/EntityController.java index 362ab83..50cb294 100755 --- a/core/src/zero1hd/polyjet/entity/EntityController.java +++ b/core/src/zero1hd/polyjet/entity/EntityController.java @@ -7,6 +7,8 @@ import com.badlogic.gdx.Preferences; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Texture; +import com.badlogic.gdx.graphics.g2d.ParticleEffect; +import com.badlogic.gdx.graphics.g2d.ParticleEffectPool; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.utils.Pool; @@ -26,6 +28,9 @@ public class EntityController { public Array activeAllies; public Array activeEnemies; + //Particle pools; + ParticleEffectPool explosionEffectPool; + //Enemy pool declaration; private Pool voidCirclePool; private Pool pelletPool; @@ -42,11 +47,13 @@ public class EntityController { this.assets = assetManager; this.prefs = preferences; + explosionEffectPool = new ParticleEffectPool(assets.get("explosion-s.p", ParticleEffect.class), 1, 64); + //Enemy pool initialization; voidCirclePool = new Pool() { @Override protected VoidCircle newObject() { - return new VoidCircle(assets.get("void_circle.png", Texture.class)); + return new VoidCircle(assets.get("void_circle.png", Texture.class), assets.get("disintegrate.ogg", Sound.class), prefs); } }; diff --git a/core/src/zero1hd/polyjet/entity/enemies/VoidCircle.java b/core/src/zero1hd/polyjet/entity/enemies/VoidCircle.java index b81fb62..ef40869 100755 --- a/core/src/zero1hd/polyjet/entity/enemies/VoidCircle.java +++ b/core/src/zero1hd/polyjet/entity/enemies/VoidCircle.java @@ -1,5 +1,7 @@ package zero1hd.polyjet.entity.enemies; +import com.badlogic.gdx.Preferences; +import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Batch; @@ -23,9 +25,15 @@ public class VoidCircle extends Actor implements Entity, Poolable { private boolean begin; private Vector2 center; private float maxTime; -public VoidCircle(Texture voidTexture) { + private Sound sound; + private Preferences prefs; + + public VoidCircle(Texture voidTexture, Sound sound, Preferences prefs) { hitBox = new Rectangle(); center = new Vector2(); + this.sound = sound; + this.prefs = prefs; + voidCircleTexture = new Sprite(voidTexture); } @@ -112,6 +120,13 @@ public VoidCircle(Texture voidTexture) { @Override public void collided(Entity entity) { + switch (entity.getEntityType()) { + case LASER: + sound.play(prefs.getFloat("fx vol")); + break; + default: + break; + } } @Override