From 0b4373469e8a9cd540f542bbcffb86d78bd163c3 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Sat, 21 Aug 2021 14:25:44 -0500 Subject: [PATCH] Use new sprite sheet from fatdog; wire up MrSprite to generate sprite code for now --- demos/fatdog/assets/all-sprites.gif | Bin 0 -> 1611 bytes demos/fatdog/assets/all-sprites.png | Bin 0 -> 1761 bytes demos/fatdog/assets/shooter-sprites.gif | Bin 0 -> 1048 bytes demos/fatdog/build-sprites.bat | 15 + demos/fatdog/package.json | 31 + demos/fatdog/sprites/Ship_Wallpaper.gif | Bin 0 -> 3023 bytes demos/fatdog/sprites/Ships.s | 2292 +++++++++++++++++++++++ 7 files changed, 2338 insertions(+) create mode 100644 demos/fatdog/assets/all-sprites.gif create mode 100644 demos/fatdog/assets/all-sprites.png create mode 100644 demos/fatdog/assets/shooter-sprites.gif create mode 100644 demos/fatdog/build-sprites.bat create mode 100644 demos/fatdog/package.json create mode 100644 demos/fatdog/sprites/Ship_Wallpaper.gif create mode 100644 demos/fatdog/sprites/Ships.s diff --git a/demos/fatdog/assets/all-sprites.gif b/demos/fatdog/assets/all-sprites.gif new file mode 100644 index 0000000000000000000000000000000000000000..f2995e64d1c905c664a4d57858172e47e7b7e9f7 GIT binary patch literal 1611 zcmV-R2DJG{Nk%w1VH^Q(0B`^REC2ui02~2t0D}M~{|OcG|Nj85|NsC0 z$^fMaiTnZtIz?L;6eR!v0000000000000F45XecZy*TU5yZ>M)j$~<`XsWJk>%MR- z&vb3yc&_h!@BhG{a7Zi~kI1BQ$!t2G(5Q4uty-_xtai)odcWYXcuX#v&*(HLz-9~H z?_nEGkK5pbygskC1_%TNf&~VJ26jFHczOf}2ZeAlb##u7dVNv>0|IUXfrOBVF@~gu zZHk_NjgO%xr3RG;Y^t=Ym3){@nw**gsDr=+qlU4S25zT@fX0UcBc#QSr^$uOu>-kG zZF`@2Z+gx%#Eyl?d4O!nwFGn`D9HD*-4C_1=DOfri#62?F)bam_b3|o|S8} z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2;#CEc47X*KG66IOnYM&OG<*^UpvP2QBo_L>F!J S(MTt)^wLZ>?R2&w0028u82^a? literal 0 HcmV?d00001 diff --git a/demos/fatdog/build-sprites.bat b/demos/fatdog/build-sprites.bat new file mode 100644 index 0000000..9b67e7f --- /dev/null +++ b/demos/fatdog/build-sprites.bat @@ -0,0 +1,15 @@ +echo off + +set MRSPRITE="%1" + +mkdir build +copy assets\all-sprites.gif build\all-sprites.gif +%MRSPRITE% EXTRACT build\all-sprites.gif 0026FF FC0204 +%MRSPRITE% RENAME build\all-sprites_spr*.gif Ship +%MRSPRITE% CODE build\Ship_*.gif 0026FF 09162A 181425 293C5A 3A455B 5400D9 9C44FF A50989 FC0204 FF00AF FFCA00 FFFFFF +type build\Ship_*.txt > sprites\Ships.s + +REM Create a wallpaper and copy that for reference +%MRSPRITE% WALLPAPER build\Ship_*.gif 0026FF FC0204 +copy build\Ship_Wall.gif sprites\Ship_Wallpaper.gif +del /q build\* diff --git a/demos/fatdog/package.json b/demos/fatdog/package.json new file mode 100644 index 0000000..6dd30a5 --- /dev/null +++ b/demos/fatdog/package.json @@ -0,0 +1,31 @@ +{ + "name": "fatdog-shooter", + "version": "1.0.0", + "description": "Horizontal shoot-em-up", + "main": "index.js", + "config": { + "merlin32": "C:\\Programs\\IIgsXDev\\bin\\Merlin32-1.1.10.exe", + "cadius": "C:\\Programs\\IIgsXDev\\bin\\Cadius.exe", + "gsport": "C:\\Programs\\gsport\\gsport_0.31\\GSPort.exe", + "macros": "C:\\Programs\\BrutalDeluxe\\Merlin32\\Library", + "crossrunner": "C:\\Programs\\Crossrunner\\Crossrunner.exe", + "mrsprite": "C:\\Programs\\IIgsXDev\\bin\\MrSprite.exe" + }, + "scripts": { + "build": "%npm_package_config_merlin32% -V %npm_package_config_macros% App.s", + "build:sprites": "build-sprites.bat %npm_package_config_mrsprite%" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/lscharen/iigs-game-engine.git" + }, + "author": "Lucas Scharenbroich", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/lscharen/iigs-game-engine/issues" + }, + "homepage": "https://github.com/lscharen/iigs-game-engine#readme", + "devDependencies": { + } + } + \ No newline at end of file diff --git a/demos/fatdog/sprites/Ship_Wallpaper.gif b/demos/fatdog/sprites/Ship_Wallpaper.gif new file mode 100644 index 0000000000000000000000000000000000000000..6d6ac4f4b4784081571ced925de035bdea0e0546 GIT binary patch literal 3023 zcmeH{`9IW&1I9njW<-RvgEqOE#(iX149U5Pm0_7IHusGC8bncIj2L(B`-ov0rZ6%j zNA0+?k!x~gW=xXY65ri_4vQhSyAdn%ZwiiT=@0*)A1_HY}g-Y@q}LBHz8gqE2sWF(TRedr@tUhJ#+6JY3xup z=6=dmEh?|n+BDl1yi6~-(MFoD_CL!H4VGv^B}8us{A}G$UhKt*DS1QM7Z}{91bB6W zcY~Ju^R+OHAu5GAYN#eGSpLeG>o2f;T?tI`IcJLOF<5%DC=de>P77Mz)#-5t+Ayat z+H|&WF27Z4O=`INjf)7FZp!i5!m~Y$b8m~LXT(s@#JlJBzxt97*woUW+ z2`R_J5VRlP_qRA7yLV-f`(JnX%eZ(|)!l-R6rL_T5Y)jrIrvt*hz|k~aG3-?Y1TrL zbR=sr*+nmR((k2;Ol}HT#K|4W%O5X;Qy+jXKh{Pkz5>9elP;->4N$j4Uz*c$hN*;~ zJPv+XI~#b5j|`;q9N{K`I%?EPu9J7Y*8>m$UJ2W92A#{z0#iQ~_}13f`f%*nC4pbl ztZH&GlYY#SsGnOIVOL_#`=G`O3hGSt&!Jfr4;33&mHbW2nkNaGGnwV!Og+Fo%e#SH z$k~B9By4e6v1?DIp+s_dq2;f#cQV)3h{snWJ5aGkxA-t-O+w|E8i=GNKy1>9V3GS6 z=+Dj9uCA`sDNoM0W%ik4pr&c;U*a1Cob)qZ@T(ddH`xD)pYkQ}yRTD)3h<42?^-#k zwnj9ijhlkQ`fB#{7&HmLH7%e*C6vCzbo^Z!qtXiUA!6FNV{d<=SYESSzUiP~ z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