From 4d1313fccc4500cca1ebef67b99dc5b51eb85cc8 Mon Sep 17 00:00:00 2001 From: Jonas1989 Date: Sun, 7 Dec 2014 15:33:48 +0100 Subject: [PATCH 1/3] add layers-details --- public/images/layers-details.png | Bin 3358 -> 6608 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/public/images/layers-details.png b/public/images/layers-details.png index 9dba3cd47827e65207ea65ae732ba0cfb06e6f6f..8116c52446968a8cf5cf58c928fde0af0df3056e 100644 GIT binary patch literal 6608 zcmds6^*7rX7k#^ z#+um+;bG6L1XtIx=CdIH0BB%v1zA1s`NL1X9(wvYN6=Ena-|CH)QZs%Vxq)Hj6gY= z1VULB0sDm#+0vj3;aP+IhUIr}O-oU4Jnr(CzB$=BUw#mjYj0RU30YsK2?n zL}+SG1Sg)!CKXwgx1|^^=a``&WB8%?soZO!@H)uY3&WSWkiz$VLGZ*1?bG$4KZaP! z+}sZ{ma)@szjp9ntWo-w6qk=5!mp=wFGrVUs4Ll%VRq!SjWKfx4s~{hTb^FCJVDFf z>+2xRq+(`!zTU(iZ?>~sRHjPQ3+wBX7hJk;ZQ)5zdT1=fdwQh%Z`k2Fj|EO*ss2oP z`vZwj>vh=Sr=Z3<2o-qx{-~npSL^UdUAQhqon=5x=78?FP{TD)Y-!W#PJx{6;XATK z8$L6K`&!5tYM@J|T4%4?cIrj4tev?ylH=k5xh}^zi)nFRk+3VA_;`11NsUP~we6dD z3{CR&`JlmXaQLV6`Ngn02>J%c`qrRDW3u{pr7D9h+xZmBtdIQj@$61Wmh;+%gXo2ju!t2gtU78o&V!6_M9g@8XQU2O z%m#PUNK0k9Ki84VXO6yicx)cf5*@Z;4DSnbv3D0vM2wYeSV|@D@UF|<8tyr0ob2UZ ztU4ab#3^h8bC2fgl}>#+UqL8OPfrurB2nGaQPXLW8&fJOlr=rm^TB2)yWJnfwQP9_ zYzV&Nf!PJ5iYD`ijWfLGPB0VR@vAWJMP_~SnuG5hp7*U5d35PVL+Pc_?Fl|@X& z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e_22hTkDN9hO>tAU~Jg=*9g9T6V#=Xrv z+AVKVKO^K_zCP3+2-{3ly9o@^rpW5|kLw|5(evD)bYhZIGf&_BNAQ_kW|BE~Pr#1u zdw(OM7V?y#5CafGQGsC3D{43X;8E?mL+@r}=V;OEg!&D&2;CvXn|Md>`Q9zqu%G%p zdTbXkSR5qReV^6X*JQd;f4Y&DFwe>ZYDUvBi zvyx069-h~3VU~hcXboU!Uf85I4gF?M{-{^yUejj=l*88*1uPlXqR=@s@J z)$=qpdVx-T$48R50^^>~4BCpoejEwGA6`e*1Bk}%sTL8`>Llmp028dC5WPMJNamQw z<@YMw1vW#aUyc!SR?J;#hafHdqMnF}MdP zzK0aG&zh=J7y0v8YiDP2^=Fcv%nZ^u02%X4qM%#2bn_TA6Lcrx!ucPF-hAZKlC|O;35<+U&;fA4$@^Yt!I^H&vrB3)XrD%oTPZnGf1^;&Ohe2@ zYJW(ps+8N@3iB+GDDdrHW|VqJiEZ%(yOiV*PW{n|h;8lJTyw{^FNu(T1geF@IrOtA zm)o~-79(`C+kT+mqW?EQxL1iKG3!t<6kQlMjfUPg1@T|tA}DP z3QFqN>pG#1gIdVZY?5P2i%*{;inGay2-09h#5S^xk5 From 82e5a55d24402e9887ab48add84bc891a2dedb85 Mon Sep 17 00:00:00 2001 From: Jonas1989 Date: Sun, 7 Dec 2014 15:37:13 +0100 Subject: [PATCH 2/3] add actions --- public/images/actions.png | Bin 672 -> 662 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/public/images/actions.png b/public/images/actions.png index ba7dad4ded4011ff2f3de1eea3dd6d6420942db6..774ea4c7cc0e5d91f639a4b1d973afcb485ff7a6 100644 GIT binary patch delta 567 zcmV-70?7TK1(pSnLI(~d2DiytpOHx{e+)@PK~zY`&6dq-6hRQjf8D*aDx$_1T=XD8 za`50q!Gkam4+}m(j^2F>@iBaaIpnklZ|iN|K#&lE5G29~8%Z?i&c~LQ9vqtfP!`0x zEY$xuRsXH2rbo?+;x+J!-=TpOz-qNJTI)B!OFUuq%fLlM-v$nVETBIF-T^f*fA;7b zz+&jD4-xsQlzIXjMfz_6RYHFc-1g{NYkkx94?VvT(6xwE%!;BV5Ys&WGAoKjOnahoZke4SWA!s<=ns3w>L+er5qTgY;?{SVN51;Qc)q(U ziTTx;I5dFuaFXuzyFz!YPK zN87{n{ez5%T(`M8!aTLPCgSgoWjX*mK$n?V<|I<*erg^fqKz?`=Kqfx_#V)f?g>bQ z`iH)=euF!uRI>3J%*F8X@-Vf{Z3dXJQfg&$H$rukQinFDBmO>H#sG9(f7f`J$})E& zbv~x%p_E#7UDqTxxNY0>HDACn&_&F}0B zIA3FnMZMVDQ&m;{3=#9Pyfn@8AHX+{d~05oW}4@91s01)v3xLI({aEI4k8mXS#;e-=qZK~zY`&6Pc96hRb#zuDVciD(w%Es1tY z5Q{X5jd+ciE+EMH)7YdIM6j?@TT45YRB2o#20bh!1O*Xm!72n%Bq&KP3Y&=F-d>)~ z1eaxg4iCgv?Y{4ud5<@k z2A%_}z?gyW16C~izlfsf2JqfdKLI{@_$^?%%Ddg}P`zGnIO_ZQdq_J?H?hQIv$@_* z)3%GhSzHtm5y$!uA`+M!%`*TIX;hsu*Uos^sdDX1>^Pd=t=1Khqaq@v^(E(+ivzT# zro_c3o6YqAPmDAgXKe$lG-PuUe?UAAz_&h}&wV&c6=&MuEaQ*0IF1trjGz{Vdj}k# z(+R_H7}&NsVHghUoYfJL9Vd4*rCw%P*74rp?;9I$2RwkAK+(q`jT@XA@TBy9yy7Il zA!W From 30f72a31354a097144b862a39407005f4b425a1c Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Sun, 7 Dec 2014 15:47:42 +0100 Subject: [PATCH 3/3] Pimp the GFX and make dead tiles --- notes.org | 4 +++- public/images/deadtiles.png | Bin 0 -> 1798 bytes public/images/layers.png | Bin 4465 -> 3588 bytes src/app.coffee | 2 +- src/tiles/tile.coffee | 8 +++++++- 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 public/images/deadtiles.png diff --git a/notes.org b/notes.org index 55bae5c..e7c5c87 100644 --- a/notes.org +++ b/notes.org @@ -8,4 +8,6 @@ Title: Entire game on one screen ** "tote" flächen einbauen (krater, berge) :jonas:aaron: ** Spielstart in irgend einer weise ... (grafik) ** Hint für shortcuts anzeigen :ruben: -** Preise für entities :ruben: \ No newline at end of file +** Preise für entities :ruben: +** Silos: Farben je nach Kapazität einfärben +** Game balancing :D diff --git a/public/images/deadtiles.png b/public/images/deadtiles.png new file mode 100644 index 0000000000000000000000000000000000000000..435058eaa340fcf505dd772f0d8b1bafe3856c2a GIT binary patch literal 1798 zcmV+h2l@DkP)M9Pi-UI}qPF4D;RR8+))%P#K{~3?p*Qh@K zt~q~XI=C`lE^g+gm|tD#RlD)TgF?XlNAx$Jf7d*DWI8bO<>I@!DOg?U(Tyj5Dg>N+ z=;%2BAteG3LSU^$2mwG8DgZ9s*yi-fBb2KN>7dU}FC`InpATf2wA;ZN!=Z%+{j5M{ zyF{Tvg&~`L&txSg9qv-ElvupcvPWiR~`Nr*LNmw z{^)Byo;ipa_Hp@$v**7j0D4*RWg+Pg!vM?74$Nk8JsW`@a-|S`CIU!(iW5}{F z6b|fEHWVG5Tr%xPY_2x1FyThEx z1CuD~%r~a#rUuzt-@k-X5l4?qvANx0q8hWZ+2L@bhI0-f1VRWN`NCI->$B`Mml$rh zcL9^*@ug)>vP; z`NG!j=#iD3;nUS>^?Y84&-DkxXk`2mQ+NvJ354P64;@%|{rc!zc_BFaV2Ar2F4$-m z>}-oW{HdJi;lUuq6$RE>Mx&f`WT{jVz*7{S($qYi{(!KQ;B-v4y+v#2n47LruGZ)o zi3k$%8BU+;zTR3(zLtzcphJe6YPaH?2=?H5bL7))=tSu-ChjktyB-U7z zlz7JOl>l}$WT!V^rc&C_O1}2?@^+FJ?m9p_^*=Yp5NJ(dE#7;)_gExP-w;df)MJcc z?K(X0C@fxtKmJu&qqIiuIS@c=?IJDKrei@I$GrMn!q0x7dEim* za3U>G0-U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NJ=CaO{@7tmZ6NJ6#%KZt1Q6S=!l@tEwbvm4(?jKswp*hRoB5? zdJS#VGNL}W>)@{Q@jO8ki>RPKsnM}ik`w!aX;B1CA=g0tus*k=f8zXqPJg<|Uh?PI z~Snuq7x>y4E4vIEje1IB+kXtq98)N`Vqm(rU1l}e9kBbfD^>xP5HOZ zGo^V^O#<#bJwTcD46n6+=`@VSVENPj!wc*0N^rt}wj8u(-OA;z@pcVE?f9e{Kq$@$ zf=K7s^G%u^-7zXL4!~w$gK-f61<({IKoD^$qWQ)Cpq8Zze^3bEL|=6DH={NK8+cIyZF!dV!yw6VN+1A~T9dUACxfE*puc_nJnGbj3@6AAv4b0M0hRC^**@jUS__6HdnyZ{|b s0U+oB9P>s9U_k`SWT1a^UY#oRf9hZMs-MDk?EnA(07*qoM6N<$g1(xY_W%F@ diff --git a/src/app.coffee b/src/app.coffee index a915aa6..9652e89 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -5,7 +5,7 @@ app = playground( smoothing: false, create: -> - @loadImages "layers", "active", "progress", "selected", "entities", "hud", "actions" + @loadImages "layers", "active", "progress", "selected", "entities", "hud", "actions", "deadtiles" @currentHoveredTile = new Tile ready: -> diff --git a/src/tiles/tile.coffee b/src/tiles/tile.coffee index c7a6dec..ccb40ba 100644 --- a/src/tiles/tile.coffee +++ b/src/tiles/tile.coffee @@ -6,12 +6,14 @@ class Tile @layers.push new Tilelayer( type: restype, depth: i, - amount: Math.round(Math.random(app.game.maxTileAmount-10)+10) + amount: Math.round(Math.random()*app.game.maxTileAmount)+1 ) @currentLayer = 0 @entity = null @isActive = false + @isBuildable = !(Math.round(Math.random()*10) == 5) + @randomSeed = Math.round(Math.random()*10) click: (button)-> if button == "left" @@ -46,6 +48,10 @@ class Tile tileLayer = @getCurrentLayer() app.layer.drawRegion app.images.layers, tileLayer.sprite, x*8, y*8 + unless @isBuildable + app.layer.drawRegion app.images.deadtiles, [8*@randomSeed, 0, 8, 8], x*8, y*8 + return + if @entity app.layer.drawRegion app.images.entities, @entity.sprite(), x*8, y*8