forum

LSBS: The Lua Storyboarding system.

posted
Total Posts
12
Topic Starter
Agka
current version: beta 2

In a few hours of boredom, I coded this small project to use Lua for making storyboard scripts- much alike SGL.

You give it a lua script with the correct syntax and methods and bam you get a osb.

Works for serious projects at this point. Contact me if you need assistence.

(all code included in download as well as a reference)

changelog

  • (alpha 2)
  1. enable use of math libraries from lua.
  2. additional useful functions
  3. a bit of a more complete example effect storyboard.

    (beta 1)
  4. lots of bugfixes
  5. added extsprite class with some util.lua functionality wrapped up for cool effects and utility functions
  6. full storyboard generation (which basically means you can put a whole .osb as output instead of what has been done so far, only outputting objects.)
  7. example storyboard for gimmick map I made
  8. we're close to feature complete but still moving onto beta

    known stuff:
  9. no official parameter nor native loop support (still using lua loops which ends up in a lot of lines)
  10. might need .net 4.5 if you use the front-end

    (beta 2)
  11. fixed lua errors not showing up properly
  12. updated barline script to be more generic and therefore usable

Download link (updated 2013/6/5)
Cristian
1st!
Rei Hakurei
how about supporting loops too ?
Topic Starter
Agka
loops are supported within lua if you know just a bit of math.

I don't need to directly support osu! loops because of this.

see util.lua (flash function) for an example of looping with lua
Rei Hakurei

Agkaemon wrote:

loops are supported within lua if you know just a bit of math.

I don't need to directly support osu! loops because of this.

see util.lua (flash function) for an example of looping with lua
oh i see, just to make it more accurate so w/o loops. (some bpm are supporting loops whenever their beat per second is integer =w=)
Topic Starter
Agka
here's how you do this with lua.

baseTime = timewheretheloopstarts
for loopstart=0, totaliterations, additionperiterationtoloopstart do
object:dosomething(whatever, baseTime + loopstart*timeperloopiteration, baseTime + loopstart*(timeperloopiteration+1), values values, etc)
end

you'd get functionally an unrolled osu loop that is actually a lua loop.
zeroclover
Agkaemon and ReiFan49 should work together to make masterpiece storyboard tool :>
ziin
loopCount = min((ending - startTime)/duration, startTime^0.7)+1

Can I do this with lua or do I have to make an infinite loop?
Topic Starter
Agka
yes you can

i have to update it so you can use the math libraries tho

edit: updated first post
Topic Starter
Agka
shameless bump:

http://puu.sh/1A9Zo

beta 1 is up.

-lots of bugfixes
-added extsprite class with some util.lua functionality wrapped up for cool effects and utility functions
-full storyboard generation (which basically means you can put a whole .osb as output instead of what has been done so far, only outputting objects.)
-example storyboard for gimmick map I made
-we're close to feature complete but still moving onto beta

known stuff:
-no official parameter nor native loop support (still using lua loops which ends up in a lot of lines)
-might need .net 4.5 if you use the front-end

future:
adding native loop support (to shorten the amount of lines more likely that the tool generates)
bugfixes if found
enhancements to front-end if deemed too hard to use.
Sushi
Moved in General Development for prosperity.

That looks sweeet !
Topic Starter
Agka
beta 3 is up
Please sign in to reply.

New reply