This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copper_showdown_version = "0.0.1" | |
copper_showdown_api_version = "0.0.1" | |
num_bitplanes = 3 | |
code = ''' | |
local num_frames=1 | |
function copperframe(n) | |
local frame = CopperListBuilder:new() | |
local name = string.format("frame_%d", n) | |
print(name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local num_frames = 128 | |
local copper_lists_builder = CopperListsBuilder.new() | |
for frame=1,num_frames do | |
local colors = {} | |
function rasterbar(y) | |
for i=0,15 do | |
colors[y+i]=i*0x111 |