It would basicly be a simple paint interface that could be built in the Zeditor or externally,. the user would paint normally with whatever tools we could come up with,. line, circle, star, superforumla!, blur, sharpen, tint, splater, spray, etc. and instead of saving a bitmap the system would save a ZExpression that would re-draw the users creation.
It is what this little NDS painter does,. and it save little files,. that can even be plaved back like a video of the creation of the painting,.
http://www.collectingsmiles.com/colors/
[aside] I know you have a DS ville do you have the R4? I d/l the ZGE source and when lookng at the free pascal compiler got interested in doing a DS game,. or music app. [/aside]
The reason I think this would be quite cool is, it could allow for small file sized hi-ish res. sprite creation in ZGE,. that would be cool for 2d games with neet-o hand-drawn looking sprites and of course textures,. with a nice procedural implementation.
I guess that start point for this is to get a bunch of drawing script fragments together,. the trick will be to implement it is such a way that small bits of code can re-draw all the drawing steps,. .
I realise this is sort-a what can be done in the editor now,. but it is a bit limited, and not that easy to 'draw' stuff with,.
Code: Select all
ZZDC<?xml version="1.0" encoding="iso-8859-1" ?>
<Bitmap Name="Bitmap1" Width="4" Height="4">
<Producers>
<Repeat Count="10">
<OnIteration>
<BitmapZoomRotate Rotation="0.025"/>
<BitmapRect Color="0 1 0 1" Size="-0.6 -0.6 0.6 0.6"/>
</OnIteration>
</Repeat>
<BitmapRect Color="1 1 0 1" Size="-0.1 -0.3 0.1 0.3"/>
<BitmapRect Color="1 1 0 1" Size="-0.3 -0.1 0.3 0.1"/>
</Producers>
</Bitmap>