Skip to content

Commit

Permalink
Import
Browse files Browse the repository at this point in the history
  • Loading branch information
grahambates committed Feb 12, 2023
0 parents commit b699867
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
PROG=metadrops
TIC=/Applications/tic80.app/Contents/MacOS/tic80
TICOPTS=--skip
PAK=pakettic
TICTOOL=tic-tool
ALG=dlas
LEVEL=5
TARGET=128
PAKOPTS=-z$(LEVEL) -a$(ALG) -p -ccode --target-size=$(TARGET)

dist: $(PROG).tic

run:
$(TIC) $(TICOPTS) $(PROG).lua

run-dist:
$(TIC) $(TICOPTS) $(PROG).tic

analyze:
$(TICTOOL) analyze $(PROG).tic

$(PROG).tic: $(PROG).lua
$(PAK) $(PAKOPTS) $< -o $@

clean:
$(RM) $(PROG).tic

.PHONY: run dist run-dist clean
7 changes: 7 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

Metadrops
=========

128 byte TIC-80 intro for Lovebyte 2023

![preview](preview.png)
6 changes: 6 additions & 0 deletions file_id.diz
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Metadrops

Author: Gigabates
Party: Lovebyte 2023
Category: 128 Bytes Fantasy Console
System: Tic-80
13 changes: 13 additions & 0 deletions metadrops.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
TIC=function()
for p=0,32160 do
q=0
for m=0,24 do
q=q+peek4(p+m//5*240+m%5-482)
end
poke4(p,q/24-math.random()/2)
end
circ(math.random(176)+32,math.random(76)+32,math.random(24),-1)
end
-- <PALETTE>
-- 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57
-- </PALETTE>
Binary file added metadrops.tic
Binary file not shown.
Binary file added preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b699867

Please sign in to comment.