Skip to content
A REXPaint .xp parser for Nim
Branch: master
Clone or download
Latest commit b176b54 Oct 13, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src REXPaintImage.layers should be public Oct 14, 2018
tests Nimble init Oct 14, 2018
LICENSE License Oct 14, 2018 Hello world Oct 14, 2018
rexpaint.nimble Fix my name Oct 14, 2018

REXPaint for Nim

import rexpaint

let image = newREXPaintImage("xptest.xp")

# "REXPaintImage(10x10, 2 layers)"
echo image 

# layer, x, y
let cell = image.get(0, 0, 0)
echo "code: ", cell.code
echo "foreground color: ", cell.fgColor
echo "background color: ", cell.bgColor
You can’t perform that action at this time.