Sign In To Proceed 435v5c

Don't have an ? 473g1v

osu! to create your own !
forum

LSBS: The Lua Storyboarding system. 4o1o2e

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. me if you need assistence.

(all code included in 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 (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

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

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

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

Agkaemon wrote: 362t3l

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

I don't need to directly 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 ing 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 (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 (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 1b384i