From 5605ab5b455098df0e13ff66c35566acf881d1ca Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Mon, 13 May 2024 23:08:04 -0700 Subject: [PATCH] add stuff to this website --- config.yml | 1 + content/music/calamity/index.md | 13 +++ .../posts/supalidlgame-devlog-1/doc-gen-1.png | Bin 0 -> 1266 bytes .../posts/supalidlgame-devlog-1/doc-gen-2.png | Bin 0 -> 1393 bytes .../posts/supalidlgame-devlog-1/doc-gen-3.png | Bin 0 -> 831 bytes .../supalidlgame-devlog-1/doc-lance-new.png | Bin 0 -> 426 bytes .../supalidlgame-devlog-1/doc-lance-old.png | Bin 0 -> 342 bytes content/posts/supalidlgame-devlog-1/index.md | 94 ++++++++++++++++++ layouts/partials/post-info-small.html | 10 ++ layouts/partials/post-info.html | 9 ++ layouts/shortcodes/emote.html | 1 + layouts/shortcodes/imgproc.html | 26 +++++ layouts/shortcodes/video.html | 10 ++ layouts/taxonomy/series.html | 13 +++ layouts/taxonomy/series.terms.html | 19 ++++ publish.sh | 2 +- static/css/main.css | 30 ++++++ 17 files changed, 227 insertions(+), 1 deletion(-) create mode 100644 content/music/calamity/index.md create mode 100644 content/posts/supalidlgame-devlog-1/doc-gen-1.png create mode 100644 content/posts/supalidlgame-devlog-1/doc-gen-2.png create mode 100644 content/posts/supalidlgame-devlog-1/doc-gen-3.png create mode 100644 content/posts/supalidlgame-devlog-1/doc-lance-new.png create mode 100644 content/posts/supalidlgame-devlog-1/doc-lance-old.png create mode 100644 content/posts/supalidlgame-devlog-1/index.md create mode 100644 layouts/shortcodes/emote.html create mode 100644 layouts/shortcodes/imgproc.html create mode 100644 layouts/shortcodes/video.html create mode 100644 layouts/taxonomy/series.html create mode 100644 layouts/taxonomy/series.terms.html diff --git a/config.yml b/config.yml index a2280dc..f587061 100644 --- a/config.yml +++ b/config.yml @@ -4,6 +4,7 @@ title: "sandvich.xyz" taxonomies: tag: tags + series: series Params: remark42SiteID: "sandvich" diff --git a/content/music/calamity/index.md b/content/music/calamity/index.md new file mode 100644 index 0000000..de67a49 --- /dev/null +++ b/content/music/calamity/index.md @@ -0,0 +1,13 @@ +--- +title: "The Tale of a Cruel World" +subtitle: "From \"Calamity\" (Terraria Mod)" +artist: "DM DOKURO" +musescore: https://musescore.com/user/40262822/scores/16586617 +date: "2024-05-09" +parts: +- "Piano" +- "Strings" +- "Carillon" +--- + +Transcription of the title theme of the Terraria mod Calamity. diff --git a/content/posts/supalidlgame-devlog-1/doc-gen-1.png b/content/posts/supalidlgame-devlog-1/doc-gen-1.png new file mode 100644 index 0000000000000000000000000000000000000000..d537e24e5558fec108a01e2ba2ab5b4320358a47 GIT binary patch literal 1266 zcmV1(f{3)nMH`_cfet1y(>chCFPHb;z4z|-a+l`5P@2oT_sRFY-0ye4cX!DkRadjc zQ$7IfcK*LNb^!RWy_t#2lS_@-cvGcvEoI;&J>V$)Wpf38`d}Vo2mbNc|0qoA`5U$I zW^)B!^nSZlPkAZNxorGN8V~0f*;%m6OGkHy~cEvExtX zr=%;^xc!Cks8?LJ{`RTBEXdevetTvjuj8#}Use$X|5SlE2!H%iwN&GI0k+U|MHZ|n58;hAVJ@np#~DgIP)m0xW9377oA zfSa3N0=Q+{+Ug>9EtYYmvL~&GW+w9Z(5h>3T>0b0&U8_h=T!do@_54n+1uL2!lC0> zICLBU@aZ?O{Hvnf-;`&nC_GVBsLNATlvMtr@|Z`JS4w|W`6Y@!WrfOXZFNytPV2~3 zMMUKf0P6mq?&R|vepwu+KWbjm#+%I*eAUf>8KPnzwj~{uQZ`{ zT1^1sC|!Th*JcxN)n+5H387Nk%#0O|`T+2}I38#XZV%ocH7|+dHN6AN_Luc@#e4Pr zn}6%fd1KyDz?I>&MS8Mwe3<=l$hJV4g(nCcMe~l(hZp+hzas zm4zdK1CB`>U!WNlIX@thOSRcBdcM@wpR_`yOr(|C zX6E(Tvt$7R&?bazuHft3!81v!RP)EaSjzDNhfh|)I&i!rFKX}KI*(vLqA-qmOCLi>u|dwKCmAOG&Tds>fq#XWy~Ql#>ybNt#I c{PMiO|DWKY+@Jmu-#dw1{N`%XGZ?+*suo!;;M-`#tk zzV}Wt;N;}w@18-Gf(Ssrj{`eX8{R{;Q()vYcw$%hA}KWg4E#H-t>bqAc| zjW!RUogta}i>*+ZvNYf*{qd~T>AdoNRlj4zwDm{L8-{qZK6o83Tf9NdkhG@!Ss!rJ z{&=2Oy$avk0RT)_<^iC)ZNj7WHxBXgo!PrEqkLcGkmLEdG+RD@Zq`7bZ{Y_s-nzNyv!r-HI1kHlrtn-fA7k6*6RD+FR;#C zzY{thwOFf?-)ds}{!`p~P`0Xwn7?A_d;kEKzyGD@7)uCASp4?yGam@=5V!m5kD50O z@rqxdwpCVn6K5uK`9di$;ql2-Os=N>R7u*D$5m^70_juP1=vjMqlC z{_=%VU{V#R+NH&N{Q6ZQCTk}qQwo2(3+sVwzbTJby?JQF+g(^EyC1BAm$mzMd#$^V z|4^U1ekb%7)z-$JteteqKW@qwN&&y%9QD3I|Gt_Pk6U04sI65t^H#d#aFKOOxz`(*$CpTB=BJ+Avul*!cJ$X2Mj)g*Pr zsk#xS3*FQYRCLeT&-2;p_LIHf-j$0X&s5bUh0?4hd8yWFqtq{NX(}r-uE<|XF?HIF z9OWQOizjmXorsthnKvq?jAz1EwMiqH>M(CV*;C%DxN9g&rg46vc>LOAoHrd_QrYlS z55D^CFYcOA@?^72k!O<&NUoo3k=AtKwqLwq5T$Pl7GqF&N;|f!_rD~(Z-4tcwykX6 zA7B3(;{Wu;iq=DxL0>;UDN^~<>Axm@+|=LyMD1=+#CR*;00000NkvXXu0mjfBX`h8 literal 0 HcmV?d00001 diff --git a/content/posts/supalidlgame-devlog-1/doc-gen-3.png b/content/posts/supalidlgame-devlog-1/doc-gen-3.png new file mode 100644 index 0000000000000000000000000000000000000000..72d6c0a52abbb5b1a4496fcb86f17bf8fdc8c609 GIT binary patch literal 831 zcmeAS@N?(olHy`uVBq!ia0y~yUscQc*;|-9tFeCH!i6_BZ+?I4*3U0rWVl%L zrTLsR!~-qm6TNlvuZ-P*gO zrmjricD!!i&F1URX1w{hgV#w$C`?wjLf^U1E_H=}@4*ZPzY2x?R=r6xoc3<5xOrs7 z>;0nA?($k;dbSC6fhE3q?TK@iO7qC+itD&)+6U?Z z07a^0)-60Bvw0_v`<8WKI?ts)En3un>4K+|%y!EIk%`|NpCthl52 zg3bEuC5r2AXLsM-viH?ulPxzDt{co~5w82>(v|gd*WOQYTkGZ5E7Tz=eGS_@=gw=(CI?~pD@E#>&!pIx zEgoLl`8WRb_4l$rVlOUSwlnT+z>$S#+brKDFr)|j{j&)9#9Oh{qx;>pl0`44)nsf| z)Vm$CM$xaM^CWMj<3-c6JQc!kKVE5^&0C#V>>D+u(BgjgGokmczi%g;y|Rf(E-ett!x;F^G#`75t) z&xweZXMH>C`V;5LQ)`l>nf#O47YK8%@jrJh@U#DdyZ&$Vt?!E#p08>?(^b literal 0 HcmV?d00001 diff --git a/content/posts/supalidlgame-devlog-1/doc-lance-new.png b/content/posts/supalidlgame-devlog-1/doc-lance-new.png new file mode 100644 index 0000000000000000000000000000000000000000..94f28245e9c704208eaf618ee3d609c60c73a859 GIT binary patch literal 426 zcmeAS@N?(olHy`uVBq!ia0vp^96&6`!3-qT;?~;(sWSmSA+8_^WT;yh`=vRI3jM13z4^`0{9BR<2unchuCC z>D!Li?Yr50{n?B+A9wIN$q0qX>Q?AG_t~Yc@b5jC!QfY+kl(5|X@=9@tra(qta!a& zRN7r$D@@Ne!7i}GH?KW$&QfU}IbCrbS55ms{ltcdg)>XftX%L_W0#c=&_6CEL4Lsu z|0xHXv^~p!=6QO$IEF|}o!Y;Xm%)I8S#asi&cDaG;_U)m3Lguzc?-;R&}4X8)Vwq0 znSeOs2jTu4HO2dhVP~E6?l^NLdu7j8}T)i$c~a9mp+eqc)R^{rE$U)^jXqn@Cn)8VbX zuUz}yJjWLY3sgka9c2wmRVX>R8>dfOv31k&^JiYaeJRZustt6NUP+K&FvEXRK+yCLAP@R_x;TbN zOifN;U{Yn{2nY&ly41CTM`10;L}tSSRtI=gCx}fD3Gfl*amWe@y?RA~ZIx3di!;|` vMc)|}}. I have been meaning to write this +but I have gotten really lazy (Forsen build) and just worked on the game +without bothering. + +But I am now at a point where I want to work on the game, but I do not know +specifically what to work on. I even made a [Kanban board and a +roadmap](https://github.com/users/HumanoidSandvichDispenser/projects/4) for +this game, and I do not even know what to add to it. Just having this dev log +would be nice as I can look back and laugh at wtf was this dumbass thinking. + +For a place to start, last July, I made a video showcasing the Dr. Disrespect +boss. Since that video, a lot about this game has changed. + +{{}} + +# Color Palette + +First, what I immediately after uploading that video was change the +colorscheme. The "arena" in the video was supposed to look more similar to the +arena from Dr. Disrespect's "Depths of the Arena" video, which I based this +particular level on. + +{{}} + +I was originally using [Adam C Younis's Apollo +palette](https://lospec.com/palette-list/apollo), which is indeed a pretty nice +set of colors; I originally used it for other works of pixel art, but I felt a +more drab palette would really fit with the game. I switched to using +[moor64](https://lospec.com/palette-list/moor64). The desaturated and off-white +colors rather really suited the atmosphere of the game. + +If you want to compare all of the sprites before and after, [here is the +commit](https://github.com/HumanoidSandvichDispenser/SupaLidlGame/commit/5c7b5a86a8ddf839b13253f7cf70c95ee36a5040) +that changed the color palette of all the sprites + +Besides the palette change, I also edited the Doc sprite to better highlight +his bulletproof mullet, and made his lance red and black rather than the +cyberpunk aesthetic of the old one. + +{{}} + +{{}} + +{{}} +First iteration +{{}} + +{{}} +Second iteration +{{}} + +{{}} +Third iteration (new palette; to see difference, click on both images) +{{}} + +# forsenLevel + +One gameplay mechanic I implemented into the game is the "level mechanic" +{{}} which despite its name, is not actually a level system. +It is more similar to Hollow Knight's SOUL system where you deal damage in +order to cast spells or heal. The difference here is that you must deal damage +rapidly, whereas in Hollow Knight, you can hit an enemy once and hide in a +corner. My goal with this change is that it should encourage aggressive +gameplay and combos. Playing solely a rangedcuck would be very inefficient, and +abusing magecuckery would be expensive (plus you do not gain level from magic +damage). + +When damage is dealt, your XP bar increases by a quarter amount. After 1 second +of not dealing any damage, the bar decays back to 25% of its capacity. When it +reaches 100%, the XP resets to 0 and your level is increased. + +Currently, the maximum level is 4, and upon reaching it, you can activate your +max level ability. Right now, the default one is LowTierGod's lightning, but I +plan to different abilities soon. + +{{}} + +# Anyways... {{}} + +That's all I have to say... for now {{}} diff --git a/layouts/partials/post-info-small.html b/layouts/partials/post-info-small.html index ea8330f..9b27246 100644 --- a/layouts/partials/post-info-small.html +++ b/layouts/partials/post-info-small.html @@ -16,4 +16,14 @@ {{ end }} + {{ with .Params.series }} + + + + + {{ . }} + + + + {{ end }} diff --git a/layouts/partials/post-info.html b/layouts/partials/post-info.html index 09a463a..b6711a5 100644 --- a/layouts/partials/post-info.html +++ b/layouts/partials/post-info.html @@ -17,5 +17,14 @@ {{ end }} + {{ with .Params.series }} + + + This post is part of a larger series: + + {{ . }} + + + {{ end }} diff --git a/layouts/shortcodes/emote.html b/layouts/shortcodes/emote.html new file mode 100644 index 0000000..edd4623 --- /dev/null +++ b/layouts/shortcodes/emote.html @@ -0,0 +1 @@ +{{ .Get 0 }} diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html new file mode 100644 index 0000000..13d2b58 --- /dev/null +++ b/layouts/shortcodes/imgproc.html @@ -0,0 +1,26 @@ +{{- with $.Get 0 }} + {{- with $i := $.Page.Resources.Get . }} + {{- with $spec := $.Get 1 }} + {{- with $i.Process . }} +
+ + + +
+ + {{- with $.Inner }} + {{ . }} + {{- end }} + +
+
+ {{- end }} + {{- else }} + {{- errorf "The %q shortcode requires a positional parameter (1) containing the image processing specification. See %s" $.Name $.Position }} + {{- end }} + {{- else }} + {{- errorf "The %q shortcode was unable to find %q. See %s" $.Name . $.Position }} + {{- end }} +{{- else }} + {{- errorf "The %q shortcode requires a positional parameter (0) indicating the image path, relative to the current page. See %s" $.Name $.Position }} +{{- end }} diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html new file mode 100644 index 0000000..f385b17 --- /dev/null +++ b/layouts/shortcodes/video.html @@ -0,0 +1,10 @@ +
+ {{ with .Get "src" }} + + {{ end }} + {{- with $.Inner }} +
+ {{ . }} +
+ {{- end }} +
diff --git a/layouts/taxonomy/series.html b/layouts/taxonomy/series.html new file mode 100644 index 0000000..cdad045 --- /dev/null +++ b/layouts/taxonomy/series.html @@ -0,0 +1,13 @@ +{{ partial "head.html" . }} +{{ partial "header.html" }} +
+
+

+ Series "{{ .Title }}" +

+ {{ partial "post-list.html" .Pages }} +
+
+ diff --git a/layouts/taxonomy/series.terms.html b/layouts/taxonomy/series.terms.html new file mode 100644 index 0000000..b00dccd --- /dev/null +++ b/layouts/taxonomy/series.terms.html @@ -0,0 +1,19 @@ +{{ partial "head.html" . }} +{{ partial "header.html" }} +
+
+

+ {{ .Title }} +

+ +
+
+ diff --git a/publish.sh b/publish.sh index a840ec2..20902f0 100755 --- a/publish.sh +++ b/publish.sh @@ -7,4 +7,4 @@ # -hugo && rsync -r --progress public/ piscale:~/web/sandvich.xyz/ +hugo && rsync -r --progress public/ pi:~/web/sandvich.xyz/ diff --git a/static/css/main.css b/static/css/main.css index 834744d..f1e9fbf 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -186,6 +186,10 @@ a.tag:hover { color: white; } +a.image:hover { + background-color: unset; +} + .content img { max-width: 100%; } @@ -249,3 +253,29 @@ hr { .horizontal li { float: left; } + +figure { + padding: 0.25rem; +} + +figure img { + display: block; + margin: auto; +} + +figure video { + display: block; + margin: auto; +} + +figure figcaption { + margin-top: 0.5rem; + text-align: center; +} + +figure figcaption img { + display: unset; +} + +img.emote { + vertical-align: middle;