Use new sprite sheet from fatdog; wire up MrSprite to generate sprite code for now

This commit is contained in:
Lucas Scharenbroich 2021-08-21 14:25:44 -05:00
parent a0055cee46
commit 0b4373469e
7 changed files with 2338 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -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\*

31
demos/fatdog/package.json Normal file
View File

@ -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": {
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

2292
demos/fatdog/sprites/Ships.s Normal file

File diff suppressed because it is too large Load Diff