From 50562dbf5cfc0e85466de2d2ab5554f0b771b1a5 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 13 Mar 2024 18:24:36 -0500 Subject: [PATCH] Earthbound font --- TiledCollisionEditor/Tiles/Basic Tileset.tsx | 810 ++++++++++++++++++ .../Tiles/tilemap-3-normal.png | Bin 0 -> 13501 bytes TiledCollisionEditor/font.png | Bin 0 -> 5189 bytes TiledCollisionEditor/font2.png | Bin 0 -> 5168 bytes TiledCollisionEditor/font3.png | Bin 0 -> 1893 bytes TiledCollisionEditor/main.cpp | 28 +- TiledCollisionEditor/pixelGameEngine.h | 46 +- 7 files changed, 847 insertions(+), 37 deletions(-) create mode 100644 TiledCollisionEditor/Tiles/Basic Tileset.tsx create mode 100644 TiledCollisionEditor/Tiles/tilemap-3-normal.png create mode 100644 TiledCollisionEditor/font.png create mode 100644 TiledCollisionEditor/font2.png create mode 100644 TiledCollisionEditor/font3.png diff --git a/TiledCollisionEditor/Tiles/Basic Tileset.tsx b/TiledCollisionEditor/Tiles/Basic Tileset.tsx new file mode 100644 index 0000000..b0d0850 --- /dev/null +++ b/TiledCollisionEditor/Tiles/Basic Tileset.tsx @@ -0,0 +1,810 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TiledCollisionEditor/Tiles/tilemap-3-normal.png b/TiledCollisionEditor/Tiles/tilemap-3-normal.png new file mode 100644 index 0000000000000000000000000000000000000000..ddd413ed8436161fb119c770fe608f14cd774765 GIT binary patch literal 13501 zcmeHuc{tST|MzEj3vuhhOv)|I0>f|NsLxSC`8r? zp-A?fne1elvCJ4|`TRcWobx^3>-jy`bA7Mp`8|If*EQFCKKK2;U-x^z@ArL=-^@(( zw{O|M1pt8Uh6cJ90DupAguM~m1btC$hIT<;4IviR_zMmMDIY(ai@PUQ3Lor)mBI$O zy8u8?zn59{_FAcJ9A!QI589`%NVvszZdZ>m_I!5uyWt}t@g1WIRV0~;UmhGb=s%l> z(vP-yHE40q%}v()UXo~UVM*AOQNbCvD3PtO z!2#pS^78>QZ$v(Ae;6(|VN*OKx)w{=W9x7MT|`33kU4`*FFFR2sy0l(ezn+Cpb}Yn zIP=wq&xS&~3a*~I;PN}+$%a*ARy2JBRnq2Tk4(v1NWN(I)2Gc0PoMr%BuJ1);ditQ zYIP*)Fymo!qWabEzI|(O?5eK2 zWF=sAY9|Nq4fMHyzq1QW*<Nv~W>t_pW~iNCpy4We&pmyG?O6>XYFk3UWqU7ElZC zPl+C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zs(Uncb!_U}D0h^WsPv@5*w$yS~nq$RVt#*Ve2(-L@gLv8cK_0Bxb zgYENWYYh(vdDE??eA@0tqOjBa(KS=JK-0~v!$;$8e(k94zj|JQIW`|e=QWp}N{DzBVX#yvEaIhe_{wuV{5opK3_kN;#((T}N*Q#}aH- zxk=;M8_>2ppAE!Zy}ftL_<`J(6_Y69uCZw;2+s=CfEj!UZ0{V6|FXfLzavqou{AhH zAG#X3;v&A*+LM^>C-()DPnAGu;N6F5T`%y7(AzGA#`3pDw+~}9bFAs+Ryz~eo)}_k zRlgN$gBNrgta*zh!T;%I_<2^=NLZOeMa}P@7Go6M#K~LJ93v9amsX42qP@=%Rr)=|~?;m1Gwk5C`y=#+5$2ozplDVzC45O(G1rkc^5zAhX;>_F5Qp zv2by}X&;Ygtw6MYCTUc1q$#6-%Z=vV)fT=pfN&Q8%5YO3Tj1h}vDVNv!*gHgh*u3u z`s{;&-YjhkW}$Q9zlgzJS8duJ0Kk_6YFs0^1{vvzW|F!4;M;Ih%l9p5=&Wq`rN9QJ z*7|_yUk?o-+{ui5)nfpV+2kVoSkpCvA#x2WtKUFQR=ixG$8Dbr_A(6p_=_zJD6<33 z-CShdGi%wpW;0CsnHyn|@_T`#YV(&g|{;WBHKlP-PLG9wX*?jf9Q*=k4v|@ zSgkJ!(90W4v1zd+(5g`g9ar~86WaWpv%k1 zgNe{jEujB7(SZTLQRtB$`uy|vj|ToX8c<;I(8{b6=3jqV4PPfQ)HBh|`}NB8{{jhS BYS{n) literal 0 HcmV?d00001 diff --git a/TiledCollisionEditor/font.png b/TiledCollisionEditor/font.png new file mode 100644 index 0000000000000000000000000000000000000000..a29f329cc1b85ec8ab17ead6b8f9eda240c411c0 GIT binary patch literal 5189 zcmeHKdo+}JA0H_sjrO8VqS>J&&3%TMS>rmwYGhHlbn!gTJToTd(#&LL*sS91-4>NP z6q4G_CKatgsiY!ZY*pkk1tmFm|}YMqsKRXy4*Q%>x-rvC%n3c)!7eFd=9gI{h7~a z-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sb;|39+rr`u?trm}yx2ahij9%!{{fk1!AJlA literal 0 HcmV?d00001 diff --git a/TiledCollisionEditor/font3.png b/TiledCollisionEditor/font3.png new file mode 100644 index 0000000000000000000000000000000000000000..348a508bddb0949f84bcc596abbba28856bca5a0 GIT binary patch literal 1893 zcmV-r2b%baP)EX>4Tx04R}tkv&MmKpe$iQ>7{`4t5Z6$WWc^VnrNF6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|?BJy6A|?JWDYS_3;J6>}?mh0_0Ya)N&;^Mfxh}i>#<}dUz%#=}E;COYCKk&*EcY<07%K4$aYRuy$`|r3 zE1b7DtF;E}+>^gBSkzXsT&FpXB$kju8X{ygP(=+EqO@wHn8?t6!oxr2_|xQ)$yEg- z#{%k5Avu2VKlt6PS&B`&Nx=lr|6)#N?kat9cF(j`N3BtK1|R07`5=$i__$Sp9m=JwXv$LRx*qpp^3fP+I| zvP{|Q9`7FL?d{()o&J6R)jo30B29;$00006VoOIv01p5M00x&opB?}J010qNS#tmY zE+YT{E+YYWr9XB6000McNliru=mQNFFe;y4v84b202y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{00lisL_t(|+U=duj^iK+fC#(W0AFR@MqI7^tL2HdmzA^1^JgMh*a18zGUcN> zIqKkyP851m4Pqh~96(#8MIF)n`)nOqSvn42A^`6*-0#rwjPY#Sw$0_YZQE8eoNS+u zIy_rep?4g}qU-0Z15ng6m!1DcmH}7mRMpPv?{Jpx`^rmz|An*Fb<^DeJm1i90&?ko zC1g}eevb-5xD9BYxugA<%g%LvQ{TTlIL@`ldyrMf59=uU-d=Yr zKl`1b56u3|zQ91R>;wb=0000000000_&M$aNzV4iQHabZk?cmAO#4pxj}I8SHFb6`Y7$hS`CvxP<7+xWfQeJwT!X-aT}T03_|HUP5Ks zR%hnzvW8ZbcRv4UdENo|*8czu003a{0{{R30000000000z*{mKK~$T7vh8Qv?%Mx< z{eQN6)`l`=92=27mH)P0#hs9u=U-wgaArI1@%PcgEYY$@`Lq3xJbbn@_wKjqMyg0% zyTTK`8qJ&v`-L-!luA7P`Bmw(qV?Rt>D}ReN{9U8 z7lYu+CBPkKT~&Xh5zJBl4+sz7`ELi=_t^lVv)6V2BZ8}=kM4Hol7GM3+EMW?WA(uV z>nuY?HN(xOqjILib~w_x{~c$+qx_CRSmhm5OV000000000000000?!l(K zTRu|0TKi|~$R5Xh_xm$-e7e`~+d9&S~#i+QM`IwL+`urUBx8E+LVJl=yvPm(NSG-5$jwY3{Z{Jp=w93wa&Xid0 z2tY9l9gV+IYOE{uuh3mq{%#TIs4#10ua+hymSz@nCWNVAgDdubS9Zc>ybNLJynIom zv5V9ta{vktx@t0!SHCk!Nu#s){CkJ~iP*dhmGQd5DEE12&SPt%xJ*8XjQwToHk;Ex z`57CB3IG5A000000000000000HY)A>bIQ_nE44yy$04qY_UB-KKncgw`DWV+b%4OV0000006xKYLx3B=-4r6_LBD6`Jdjl33yk7| zS{wi@{p{RFqSgKXR;FEf9@%w0v-3Q@`Z#Umdi9I}R5(tout6q+82f9@5ZzP$+JBu{ zcPMUG&D`t8y2-~jQ9+i~^uJdzf=t=YJK?g|J0HuRttWdkv2x~J)d?T%_extHcTnJ* zkARsxKJZ-ntMuHimg8MMjVoms41qdPK=yj-jz?lEL>^TfjzbS4>v`Pg(G}l6GXrP! z^Z1JXSNMkAIV?~`",WHITE,{1.5f,1.5f}); + DrawStringDecal({0,18},"THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 !@#$%^&*()-=_+[]{}\\;':\",./<>?~`",WHITE,{1.5f,1.5f}); + DrawStringPropDecal({0,36},"the quick brown fox jumps over the lazy dog 1234567890 !@#$%^&*()-=_+[]{}\\;':\",./<>?~`",WHITE,{1.5f,1.5f}); + DrawStringPropDecal({0,54},"THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 !@#$%^&*()-=_+[]{}\\;':\",./<>?~`",WHITE,{1.5f,1.5f}); + return true; } diff --git a/TiledCollisionEditor/pixelGameEngine.h b/TiledCollisionEditor/pixelGameEngine.h index 8e17d03..043373d 100644 --- a/TiledCollisionEditor/pixelGameEngine.h +++ b/TiledCollisionEditor/pixelGameEngine.h @@ -3303,18 +3303,18 @@ namespace olc { if (c == '\n') { - spos.x = 0; spos.y += 8.0f * scale.y; + spos.x = 0; spos.y += 16.0f * scale.y; } else if (c == '\t') { - spos.x += 8.0f * float(nTabSizeInSpaces) * scale.x; + spos.x += 16.0f * float(nTabSizeInSpaces) * scale.x; } else { int32_t ox = (c - 32) % 16; int32_t oy = (c - 32) / 16; - DrawPartialDecal(pos + spos, fontRenderable.Decal(), {float(ox) * 8.0f, float(oy) * 8.0f}, {8.0f, 8.0f}, scale, col); - spos.x += 8.0f * scale.x; + DrawPartialDecal(pos + spos, fontRenderable.Decal(), {float(ox) * 16.0f, float(oy) * 16.0f}, {16.0f, 16.0f}, scale, col); + spos.x += 16.0f * scale.x; } } } @@ -3326,17 +3326,17 @@ namespace olc { if (c == '\n') { - spos.x = 0; spos.y += 8.0f * scale.y; + spos.x = 0; spos.y += 16.0f * scale.y; } else if (c == '\t') { - spos.x += 8.0f * float(nTabSizeInSpaces) * scale.x; + spos.x += 16.0f * float(nTabSizeInSpaces) * scale.x; } else { int32_t ox = (c - 32) % 16; int32_t oy = (c - 32) / 16; - DrawPartialDecal(pos + spos, fontRenderable.Decal(), { float(ox) * 8.0f + float(vFontSpacing[c - 32].x), float(oy) * 8.0f }, { float(vFontSpacing[c - 32].y), 8.0f }, scale, col); + DrawPartialDecal(pos + spos, fontRenderable.Decal(), { float(ox) * 16.0f + float(vFontSpacing[c - 32].x), float(oy) * 16.0f }, { float(vFontSpacing[c - 32].y), 16.0f }, scale, col); spos.x += float(vFontSpacing[c - 32].y) * scale.x; } } @@ -3349,18 +3349,18 @@ namespace olc { if (c == '\n') { - spos.x = center.x; spos.y -= 8.0f; + spos.x = center.x; spos.y -= 16.0f; } else if (c == '\t') { - spos.x += 8.0f * float(nTabSizeInSpaces) * scale.x; + spos.x += 16.0f * float(nTabSizeInSpaces) * scale.x; } else { int32_t ox = (c - 32) % 16; int32_t oy = (c - 32) / 16; - DrawPartialRotatedDecal(pos, fontRenderable.Decal(), fAngle, spos, { float(ox) * 8.0f, float(oy) * 8.0f }, { 8.0f, 8.0f }, scale, col); - spos.x -= 8.0f; + DrawPartialRotatedDecal(pos, fontRenderable.Decal(), fAngle, spos, { float(ox) * 16.0f, float(oy) * 16.0f }, { 16.0f, 16.0f }, scale, col); + spos.x -= 16.0f; } } } @@ -3372,17 +3372,17 @@ namespace olc { if (c == '\n') { - spos.x = center.x; spos.y -= 8.0f; + spos.x = center.x; spos.y -= 16.0f; } else if (c == '\t') { - spos.x += 8.0f * float(nTabSizeInSpaces) * scale.x; + spos.x += 16.0f * float(nTabSizeInSpaces) * scale.x; } else { int32_t ox = (c - 32) % 16; int32_t oy = (c - 32) / 16; - DrawPartialRotatedDecal(pos, fontRenderable.Decal(), fAngle, spos, { float(ox) * 8.0f + float(vFontSpacing[c - 32].x), float(oy) * 8.0f }, { float(vFontSpacing[c - 32].y), 8.0f }, scale, col); + DrawPartialRotatedDecal(pos, fontRenderable.Decal(), fAngle, spos, { float(ox) * 16.0f + float(vFontSpacing[c - 32].x), float(oy) * 16.0f }, { float(vFontSpacing[c - 32].y), 16.0f }, scale, col); spos.x -= float(vFontSpacing[c - 32].y); } } @@ -3629,11 +3629,11 @@ namespace olc // Draw the console buffer SetDecalMode(olc::DecalMode::NORMAL); for (int32_t nLine = 0; nLine < vConsoleSize.y; nLine++) - DrawStringDecal(olc::vf2d( 1, 1 + float(nLine) ) * vConsoleCharacterScale * 8.0f, sConsoleLines[nLine], olc::WHITE, vConsoleCharacterScale); + DrawStringDecal(olc::vf2d( 1, 1 + float(nLine) ) * vConsoleCharacterScale * 16.0f, sConsoleLines[nLine], olc::WHITE, vConsoleCharacterScale); // Draw Input State - FillRectDecal(olc::vf2d(1 + float((TextEntryGetCursor() + 1)), 1 + float((vConsoleSize.y - 1))) * vConsoleCharacterScale * 8.0f, olc::vf2d(8, 8) * vConsoleCharacterScale, olc::DARK_CYAN); - DrawStringDecal(olc::vf2d(1, 1 + float((vConsoleSize.y - 1))) * vConsoleCharacterScale * 8.0f, std::string(">") + TextEntryGetString(), olc::YELLOW, vConsoleCharacterScale); + FillRectDecal(olc::vf2d(1 + float((TextEntryGetCursor() + 1)), 1 + float((vConsoleSize.y - 1))) * vConsoleCharacterScale * 16.0f, olc::vf2d(8, 8) * vConsoleCharacterScale, olc::DARK_CYAN); + DrawStringDecal(olc::vf2d(1, 1 + float((vConsoleSize.y - 1))) * vConsoleCharacterScale * 16.0f, std::string(">") + TextEntryGetString(), olc::YELLOW, vConsoleCharacterScale); } @@ -4071,12 +4071,12 @@ namespace olc fontRenderable.Decal()->Update(); constexpr std::array vSpacing = { { - 0x03,0x16,0x34,0x16,0x16,0x08,0x16,0x43,0x34,0x14,0x16,0x16,0x13,0x16,0x33,0x08, - 0x08,0x17,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x24,0x15,0x06,0x07,0x16,0x17, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x17,0x08,0x08,0x17,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x17,0x08,0x08,0x08,0x08,0x17,0x08,0x33,0x08,0x23,0x16,0x08, - 0x13,0x16,0x16,0x17,0x16,0x16,0x15,0x17,0x17,0x33,0x15,0x17,0x23,0x08,0x17,0x16, - 0x07,0x07,0x24,0x17,0x24,0x17,0x16,0x08,0x23,0x17,0x17,0x25,0x32,0x15,0x07,0x00, } }; + 0x03,0x02,0x04,0x03,0x06,0x0B,0x0A,0x03,0x04,0x04,0x04,0x06,0x03,0x03,0x03,0x05, + 0x06,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x02,0x03,0x05,0x06,0x05,0x05, + 0x05,0x07,0x06,0x06,0x06,0x05,0x05,0x06,0x06,0x02,0x05,0x06,0x05,0x08,0x06,0x06, + 0x06,0x06,0x06,0x06,0x06,0x06,0x07,0x08,0x06,0x06,0x05,0x06,0x05,0x07,0x05,0x06, + 0x03,0x06,0x05,0x05,0x05,0x05,0x04,0x05,0x05,0x02,0x03,0x05,0x02,0x08,0x05,0x05, + 0x05,0x05,0x04,0x05,0x04,0x05,0x06,0x08,0x05,0x05,0x05,0x03,0x06,0x03,0x07,0x08, } }; for (auto c : vSpacing) vFontSpacing.push_back({ c >> 4, c & 15 });