From 62f34ba51220d3033f3e7780ec5aa36c0d02edff Mon Sep 17 00:00:00 2001 From: neingeist Date: Mon, 25 Nov 2013 12:32:47 +0100 Subject: [PATCH] add martin as enemy --- asset/sprites-src/martin.gif | Bin 0 -> 13466 bytes asset/sprites-src/martin.png | Bin 0 -> 1047 bytes asset/sprites-src/martin01.xcf | Bin 0 -> 2999 bytes asset/sprites/martin01.png | Bin 0 -> 1409 bytes data/sprites.json | 2 +- images/sprites.png | Bin 2568 -> 3873 bytes platformer.js | 33 ++++++++++++++++++++++++++++++++- 7 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 asset/sprites-src/martin.gif create mode 100644 asset/sprites-src/martin.png create mode 100644 asset/sprites-src/martin01.xcf create mode 100644 asset/sprites/martin01.png diff --git a/asset/sprites-src/martin.gif b/asset/sprites-src/martin.gif new file mode 100644 index 0000000000000000000000000000000000000000..d60379b07eade959820f6704b44dccc4568a35f5 GIT binary patch literal 13466 zcmaL7XH-+)+U~uw(hCqE^cH%D(7Pt|UX+ePAavhD+lneg-4;( z`1y~hsTs@5)6~>X=;3L>MA7Ye{CrN01U7?cmUWwe#$BU|CYen+Des6l_J(sp64x%dCEugzlTGb(x3nSOuEV)4A~khI2>J{vw4svy8`StBVLc@%2X+E4)$$l-LiI`#5Kjv*#L zaj*>#xZM2>B4f3oKqL%AW@e@E@F6hh!bt1*B;8Y{wS{8E#swG;e+Q^gjZ$bNq6Oj+ z5Lm)<0)wd(_D*o1Mn@pv5lEDGy&e+V-zf`+AnJw;ZwbQHF%z-ZMG;tRctlG9_grgmA{zsO2Q&B z5Tt5_tIT^Gt-8*VKU7KH-grdOrd5TSw|T#Q}Scc$rh?M?*+53H;*%MuLr~} z2R1AK{|4!pW}1X}iMR;+&A_Ln02Bt3XenLQZRZ=4@#Nq<`W7FAQ{~YezI5xM!3%cY z;G2&aQ1r^x0I$iY7)C%_u;NdxXlfV~$tD$X(|?8SGdp}Uh221#lG1L{O@3y1G3T4X zN4EVXQ3=PCJLT?G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HuxjlVxN^!Clk+gAp9Fohphx4(PmmlGpDJJmmSedJu<`P;WH zokK)X>mIpt_u8@Z1ILG7`QhlHlkbiFw4YHl_x@z!!=dgsuMb~1JTTGQ_wMjZJqXkI z%cky|zZyDt_BVex^b|CBd`8Uw?Ec>9<-WdCy{@j4ub#d(0p^+I%QV&u2dB?k+#4Xo}fq-5IKFb-XTF= zLw24bI3N9;=j+R(X&;e*pmP-8$7?QlCOI*LFIt-xEh36VKIsS=J*GplEEVapn4(H! zj1bnP0emEgF3ZX`Cgl}wsL;T90mlqu{7AUIA~~kGt|}$0Tm`aqub_Zt{Pu~|KUR-$I!(SJK`yRyo z@2e!4_3hPb9QvH|MRkbmVD4lq9?4t1q_$9m^=yyv6wiVOuA{!(@Y*4oDWG-$Rr8EiWxFx03EE( z(Es{5B4ED*gZL9x=AtDTKKeQ)UL^BxWJn;+C(vwj*%~^Wtu4x8tGkJ)xKy|e?FQ_> pd40j(g7GCK2?FK;191;20<$E6H{o&wfJ+8h1sj#*Dw#vn_@6ueEhhi~ literal 0 HcmV?d00001 diff --git a/asset/sprites/martin01.png b/asset/sprites/martin01.png new file mode 100644 index 0000000000000000000000000000000000000000..fe368b52317eba2c8de06484cc6db794bc4582df GIT binary patch literal 1409 zcmV-{1%CR8P)5ON<;>6~^&jRdrW& zPxp-H;qhzY*ks6rXc7~Hl?aKv1S^EZk_D?sfCO6>>`)en6*!A5S-^%35^IDIhz(Id z5kU$`6r4D*X^%Y~yL+D9UENi6S=4wuQQ%0WQq?`@{PlhJ=tLeynsKtzweXdvtUi4) zJxJP1|A-sS?e}g@qC_!M<=ZFTdcSyOI&~|F{a~1Tz7a&-jyO#{Ge7IQ-}-8E{e!!U z-`g2wAN}qRH;0YG=F#$;PLlZiOzOn-TdqF7QnecKbnWNAx*cA=l*D_v^LP5y?zHf? z7oYN*nYN8Tz3t^B_Rh&g_g}c=>(@5C635jq$K!l$e}CG;5x@&io6njiY3gThe`s}- zmx|Hgi!WY^-bvE({Fg5H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prites.json @@ -1 +1 @@ -{"astronaut":{"sx":0,"sy":1,"cols":1,"tilew":24,"tileh":24,"frames":1},"neingeist":{"sx":0,"sy":26,"cols":1,"tilew":24,"tileh":24,"frames":1},"rocket":{"sx":0,"sy":51,"cols":1,"tilew":26,"tileh":52,"frames":1},"starbug":{"sx":0,"sy":104,"cols":1,"tilew":24,"tileh":24,"frames":1}} \ No newline at end of file +{"astronaut":{"sx":0,"sy":1,"cols":1,"tilew":24,"tileh":24,"frames":1},"martin":{"sx":0,"sy":26,"cols":1,"tilew":24,"tileh":24,"frames":1},"neingeist":{"sx":0,"sy":51,"cols":1,"tilew":24,"tileh":24,"frames":1},"rocket":{"sx":0,"sy":76,"cols":1,"tilew":26,"tileh":52,"frames":1},"starbug":{"sx":0,"sy":129,"cols":1,"tilew":24,"tileh":24,"frames":1}} \ No newline at end of file diff --git a/images/sprites.png b/images/sprites.png index 32624098584cee0b10bdabac08a3d4f00e19393c..624a0a1e233bd8c5d91771f07135fba9083a1c54 100644 GIT binary patch delta 3871 zcmV+)58&{K6rmoF7YdmO1^@s6F>Wfjks%a+4%SITK~!jg?V5RTUDbWZKj+^2?%SXC z#S*q^I0cX;eYZ*S{q1D=XejR%-aKH#*#wCONC`>gl*JajUk zlWGHF=2RzT^66x1pArbBZ@y`n?o80k3WhU5GiM&10U4)cQtQ|M_>=-xuDoqpV4vAX zbHDn?Y4M*DD3V&H6oK8UX^q}oMoSHp2Os1^ZcwHASM8fo~-NN-qws)Egt+w5`sgS(O9|6)nal?2VUFZEBPalfT}&hmNAztB&_$AvX1Yr+Kis4x}qP)5AGqa3r{Xyy+@Yr{X$hJVYoSrmJYf zfkB01JL?zDXH`QDH^suVM#D6OOnyTXU;R#)Vl#ne#sSHZ+O;dwl0A|%f*o1HhA|Y5lANC!AbQTVOq+lfH^|fp+ zX|1Qr$kGQ`<253egItm7TnS=fxOg@MbWoDZ3S}+}nx61z7%Us|me*b?!{uEtrwJSf zG6krL61=RFo3B`cdz?mF4nV+w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EP`(ozzN*3?`%W%;tNx9{20 zkc7UOK}ZWJB~*wEk$8esDus!_or;nXDU4(aw+bgeJVNH0d${3qD|xM97i)jDm<=0$ zpC(lLH1`&}mVetNm+#mYW!ItjTwqUs*WJ6RL)=$FwdiX= znY85ZEQ_Zys^B4SD_*4)sZV5!J|2C4dWOX}v@QycQ@An&0bP*HNHRcIMki7Y-~B=gGo@l$X56V@s#Q!=FmKsOlBo>W)s}Mq$^bKK?EiPRX01Q-*poX8g%Hl|u1)lb z%Kun`*7~6QO2DsSnUdA9Dh|XI)_n91uN|)D%?=miLk3rlxr3SGS5Q`Yh&z`kNXu4P zQk+&FT(kM*rejSf&llbRX4oKqRi-j_lFrq|L6r|uF5ITUTrGmD`857EFUQLR%&I+s zVYG7Ftr0X0q%;w@xMGaO+ecj2?%vn@WN(iR^erRyMp-<|Eu(&giMN*}xve-3no2wl zNvYtk_i}xWN!64XmLYlWWl3c@_=5sr3A&<*(5%IeJhT0!O`U@g{RlXJyrqk$s})%h zu;f*Wrr`6cbaz=~++JMsikLE9Vp;H;zn00rZ?C$)q0yagIPMsiF6@sg0Tf{Wp*IBh0lj4U9M8&y z-VK_2?15Kye*D$9-rDv)khDVqH;^Hh^JoAl*mrORoZENZK=xa2;48;|_#eLvsZtDn Rjp_gZ002ovPDHLkV1f>7(R2U+ diff --git a/platformer.js b/platformer.js index b157e91..971fc5b 100644 --- a/platformer.js +++ b/platformer.js @@ -94,7 +94,6 @@ Q.Sprite.extend("Neingeist",{ } }); - // FIXME do not copy // ## Enemy Sprite // Create the Enemy class to add in some baddies @@ -126,6 +125,37 @@ Q.Sprite.extend("Starbug",{ } }); +// FIXME do not copy +// ## Enemy Sprite +// Create the Enemy class to add in some baddies +Q.Sprite.extend("Martin",{ + init: function(p) { + this._super(p, { sheet: 'martin', vx: 100 }); + + // Enemies use the Bounce AI to change direction + // whenver they run into something. + this.add('2d, aiBounce'); + + // Listen for a sprite collision, if it's the player, + // end the game unless the enemy is hit on top + this.on("bump.left,bump.right,bump.bottom",function(collision) { + if(collision.obj.isA("Player")) { + Q.stageScene("endGame",1, { label: "DU BIST TOT" }); + collision.obj.destroy(); + } + }); + + // If the enemy gets hit on the top, destroy it + // and give the user a "hop" + this.on("bump.top",function(collision) { + if(collision.obj.isA("Player")) { + this.destroy(); + collision.obj.p.vy = -300; + } + }); + } +}); + // ## Level1 scene // Create a new scene called level 1 Q.scene("level1",function(stage) { @@ -152,6 +182,7 @@ Q.scene("level1",function(stage) { // Add in a couple of enemies stage.insert(new Q.Starbug({ x: 600, y: 0 })); stage.insert(new Q.Neingeist({ x: 650, y: 0 })); + stage.insert(new Q.Martin({ x: 550, y: 0 })); stage.insert(new Q.Rocket({ x: 146, y: 32 })); });