Upgrate Lua sample scripts to DawnBringer's 1.3 toolbox

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2013 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-09-28 00:04:55 +00:00
parent effde4aee2
commit 5165312bff
5 changed files with 1368 additions and 115 deletions

View File

@@ -1,4 +1,4 @@
--ANIM: Sprite Animator v0.1
--ANIM: Sprite Animator v0.15
--Spare page holds data - Plays on current
--by Richard Fhager
@@ -11,8 +11,8 @@ OK, XS, YS, SPACE, FRAMES, XOFF, YOFF, FPS = inputbox("Sprite-Sheet Animator",
"Sprite Y-size", arg.YS, 1, 256,0,
"Spacing", arg.SPACE, 0, 32,0,
"# of Frames", arg.FRAMES,2, 100,0,
"X-offset", arg.XOFF, 0, 256,0,
"Y-offset", arg.YOFF, 0, 256,0,
"X-offset", arg.XOFF, 0, 800,0,
"Y-offset", arg.YOFF, 0, 800,0,
"Play Speed (FPS)",arg.FPS, 1, 60,0
);
@@ -21,7 +21,7 @@ if OK == true then
memory.save({XS=XS,YS=YS,SPACE=SPACE,FRAMES=FRAMES,XOFF=XOFF,YOFF=YOFF,FPS=FPS})
MAXPLAYS = 25
MAXPLAYS = 100
w,h = getpicturesize()
OX = w / 2 - XS/2