Lua factory: More room for file names (34 chars instead of 18), and a preview of the script's first lines of comments.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1326 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-02-07 20:13:54 +00:00
parent df2a0ec4dd
commit b0a700850f
12 changed files with 122 additions and 17 deletions

View File

@@ -1,3 +1,5 @@
-- Apply a kind of AA filter on picture
-- Get the picture size
w, h = getpicturesize();

View File

@@ -1,4 +1,6 @@
-- Picture scene: Amigaball (by Richard Fhager, code adopted from Evalion)
-- Picture scene: Amigaball
-- by Richard Fhager, code adopted
-- from Evalion
w = 256
h = 256

View File

@@ -1,4 +1,4 @@
-- x1palettetopicture.lua
-- x1 palette to picture
w,h=getpicturesize();
for y1=0,7,1 do
for x1=0,31,1 do

View File

@@ -1,4 +1,4 @@
-- x8palettetopicture.lua
-- x8 palette to picture
setpicturesize(256,64);
for y1=0,7,1 do
for x1=0,31,1 do

View File

@@ -1,4 +1,4 @@
-- drawgrid8x8.lua
-- Draw 8x8 grid
w,h=getpicturesize();
for y=0,h-1,1 do
for x=0,w-1,8 do

View File

@@ -1,4 +1,4 @@
-- drawgrid8x8matchcolor.lua
-- Draw red 8x8 grid
w,h=getpicturesize();
c=matchcolor(0xFF,0x00,0x00)
for y=0,h-1,1 do

View File

@@ -1,4 +1,4 @@
-- drawisometricgrid.lua
-- Draw isometric grid
w,h=getpicturesize();
for y=0,h-1,8 do
for x=0,w-1,1 do

View File

@@ -1,4 +1,5 @@
-- 12bitcolourspacefrompalette.lua
-- 12bit colour space from palette
--
w,h=getpicturesize();
for y1=0,3,1 do
for x1=0,3,1 do

View File

@@ -1,4 +1,5 @@
-- 15bitcolourspacefrompalette.lua
-- 15bit colour space from palette
--
w,h=getpicturesize();
for y1=0,3,1 do
for x1=0,7,1 do

View File

@@ -1,4 +1,5 @@
-- 18bitcolourspacefrompalette.lua
-- 18bit colour space from palette
--
w,h=getpicturesize();
for y1=0,7,1 do
for x1=0,7,1 do

View File

@@ -1,3 +1,4 @@
-- ?
w,h=getpicturesize();
for y1=0,h-1,8 do
for x1=0,w-1,8 do