Skip to content

Commit

Permalink
added code & data
Browse files Browse the repository at this point in the history
first import
  • Loading branch information
makapuf committed Dec 3, 2014
1 parent 60e16e1 commit 3b6ad9c
Show file tree
Hide file tree
Showing 14 changed files with 783 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#testkernel makefile
NAME = bdash

GAME_C_FILES = main.c
GAME_BINARY_FILES = bdash.tset bdash.tmap clock.spr diams.spr rock.spr $(wildcard snd/*.raw)

USE_ENGINE=1
USE_SAMPLER=1

NO_SDCARD=1

include $(BITBOX)/lib/bitbox.mk
main.c:bdash.h

bdash.h: bdash.tmx bdash.png
python $(BITBOX)/scripts/tmx.py bdash.tmx > bdash.h

clock.spr: $(wildcard clock_xcf-??.png)
python $(BITBOX)/scripts/couples_encode.py $@ $^

diams.spr: $(wildcard diams_xcf-??.png)
python $(BITBOX)/scripts/couples_encode.py $@ $^

rock.spr: $(wildcard rock/????.png)
# RLE?
bash -c 'for f in rock/????.png ; do convert $$f -ordered-dither o8x8,32,32,32 $${f/.png/_od.png} ;done'
python $(BITBOX)/scripts/couples_encode.py $@ $(^:.png=_od.png)

snd/%.raw: snd/%.wav
sox $^ -r 30k -c 1 -b 8 --encoding signed-integer $@
Binary file added bdash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
310 changes: 310 additions & 0 deletions bdash.tmx

Large diffs are not rendered by default.

Binary file added clock.spr
Binary file not shown.
Binary file added diams.spr
Binary file not shown.
Loading

0 comments on commit 3b6ad9c

Please sign in to comment.