mirror of
https://github.com/He4eT/DotDashPit.git
synced 2026-05-04 17:37:23 +00:00
cover: import function
This commit is contained in:
parent
db31c6a091
commit
ef1fef67c9
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -1,6 +1,7 @@
|
|||
game_name := DotDashPit
|
||||
|
||||
game_src := ./game.js
|
||||
cover_src := ./cover.png
|
||||
build_dir := ./build
|
||||
|
||||
tic_cmd := tic80 --skip --fs './'
|
||||
|
|
@ -23,6 +24,9 @@ export_png:
|
|||
${tic_cmd} --cli \
|
||||
--cmd 'load ${game_src} & save ${build_dir}/${game_name}.png & exit'
|
||||
|
||||
import_cover:
|
||||
${tic_cmd} --cli \
|
||||
--cmd 'load ${game_src} & import screen ${cover_src} & exit'
|
||||
release:
|
||||
@make cleanup
|
||||
@make export_tic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue