LUA Script requests in here ...

  • #1, by afrlmeMonday, 14. January 2013, 14:36 13 years ago
    I'm taking a break this week - or for a few days at least - from scripting ...

    but in the meantime does anyone have any requests for LUA Scripts or possible ideas for when I decide to resume scripting?

    anything but 360 degree panoramic scenes @ NigeC! wink

    P.S: please check the lua board & sticky topic wiki page to make sure the script hasn't already been done!

    Imperator

    7286 Posts


  • #2, by marvelMonday, 14. January 2013, 18:13 13 years ago
    Would it be possible to do some sound- and color-manipulations via lua? I plan to reduce heights or basses of a playing music-file when something strange happens. Or i would like to manipulate the RGB Settings of the graphic card.

    Hard task. I don't know if there is any way to realize it. wink

    Key Killer

    603 Posts

  • #3, by afrlmeMonday, 14. January 2013, 18:16 13 years ago
    haha me either ...

    I'm hoping David adds some new player commands along with the new sound engine!

    I will ask divo about the RGB settings ... although seems a bit of a strange idea?

    I would like to adjust contrast settings myself.

    Imperator

    7286 Posts

  • #4, by marvelMonday, 14. January 2013, 23:29 13 years ago
    Another one: I really would like to zoom the scenery to focus on some special objects! smile Could this be done via lua?

    And here is one more - easy - thing i really would like to realize with lua: A classical fade out/fade in without changing the scenery or blending to a black menu. smile

    Key Killer

    603 Posts

  • #5, by afrlmeTuesday, 15. January 2013, 00:01 13 years ago
    fade in/out to what? could you elaborate a little more on this?

    if you just want to smoothly fade the screen to black then back again we could do that with the editor itself; a condition or better yet a value & the jump to x action part for creating a loop then we just add a small function in lua to check if screen brightness has reached x value so that it changes the condition or value to kill the loop. or we could just use lua on it's own to achieve this also. (you would use a pause x value to control the speed of the fade in/out)

    haha you created this Engine mate!

    it's 2D not 3D so there are no cameras we can adjust like in Adobe After Effects / 3Ds Max etc.

    if we had 3D support we'd be able to zoom in or do the panoramic thing like NigeC wants ... without having to resort to loads & loads of animation frames.

    for the zoom: maybe use adobe ae to make a video zooming into said object then switch to x scene without fading or enable an image over the top of the scene maybe - I dunno?

    Imperator

    7286 Posts

  • #6, by marvelTuesday, 15. January 2013, 09:32 13 years ago
    Fade In/Fade Out: Yes... I mean fade in/ fade out to a special color! smile Sure... i already can realise that - but it could be more fomfortable with lua. So you could easily add some parameters. (speed, color, acceleration...)

    Zooming: I think in theory this would be possible... also for a 2d engine. But i don't know, if alex has to implement some more flexibility first. It's already possible to zoom animations.

    Sound- and color-manipulations via lua Maybe there is a chance to realise it with an external script... based on the idea divo had?

    Key Killer

    603 Posts

  • #7, by marvelTuesday, 15. January 2013, 09:41 13 years ago
    Here's another one:

    Moving the whole scenery: My character is playing on a ship, which has to move up and down because of the tide. I could need a script wich moves the whole scene .... just everything ... up and down. wink

    Key Killer

    603 Posts

  • #8, by afrlmeTuesday, 15. January 2013, 12:27 13 years ago
    couldn't we adapt on the earthquake/screenshake feature for that? maybe have it so we can choose the x,y strength values independently or set a random value?

    the screen manipulation of colors (hue), contrast, saturation is something I'm interested in myself.

    you'll have to ask alex about the zoom thing.

    Imperator

    7286 Posts

  • #9, by NigecWednesday, 16. January 2013, 20:25 13 years ago
    But I WANT 360!

    Key Killer

    640 Posts

  • #10, by afrlmeWednesday, 16. January 2013, 20:38 13 years ago
    tough! I want never gets!

    wait until 3D is implemented into the engine (let's say by 2023 - possibly) grin

    haha!

    Imperator

    7286 Posts

  • #11, by afrlmeWednesday, 16. January 2013, 21:19 13 years ago
    https://love2d.org/wiki/Main_Page

    some of the modules & plug-ins of the open-source lua thing I linked above sound interesting ... maybe Alex can find something useful in it to integrate into the VS engine?

    Imperator

    7286 Posts