Character with shader action

  • #1, by tristan-kangSaturday, 10. October 2015, 00:10 9 years ago
    I'm just having fun with shader currently. It looks like just adding too many effects to the objects.

    By the way, I have two questions.

    First. I can add shader effects to the objects, but it's possible adding these to characters?

    Second, I want to move characters without walking animation. Because there is a scene where the character rides the elevator. But the character just stands there (of course) but I want to scroll view to upstairs. To do this trick, I need to scroll down the background and scroll up the character and the elevator's floor at the same time. Of course, it is possible as just put gigantic Y-axis picture in the background and scroll up and down in the event. Then the character doesn't need to move but just the background moves itself.

    However, there will be a background animation in the background (for example let's say background is transparent and the birds are flying over the building). I can imagine the solution by just putting the animated version of the background but it will cost too many game memories and may result some lag. And there will be some interactive event in the background (for example the bird is closing to window and talking to you. You need to stop the elevator and interact with the bird. Interaction means I should put the object's event area).

    In order to make this gigantic Y-axis scene without calculating the object area suitably, I need some shader action.

    Set character to position is possible but it just instantly set the character to position. Of course I can make another copied character (standing and walking animations are same) and send it's position to where I wanted but it won't look smooth like moving objects.

    These two things are things I want to know. Because adding shader effects to the character will be interesting from my view. lol

    Great Poster

    267 Posts


  • #2, by afrlmeSaturday, 10. October 2015, 00:22 9 years ago
    Um no it's not currently possible to apply shader effects directly to characters.

    As for the elevator thing... I'm pretty sure I provided a template / example a couple years ago. Long story short: character goes into elevator. swap character for an npc or object version of the character (an object with characters idle animation is the easiest solution) as it's easy to move a animation to a specific position at a specific speed. Also you only need 1 animation frame for the elevator too as you can move that with Lua also.

    Imperator

    7278 Posts

  • #3, by tristan-kangSaturday, 10. October 2015, 00:26 9 years ago
    lol it's the fastest answer I've ever seen.

    I want to add ripple effects to the characters actually. Moving ripple effects how weird it is. It's shame we can't do that yet.

    I need to find your previous post about elevator thing smile

    Well I found it and downloaded it.

    Great Poster

    267 Posts

  • #4, by afrlmeSaturday, 10. October 2015, 00:31 9 years ago
    It's really old, so it's probably not how I would go about sorting it out these days as VS has come a long way since then (scripting wise).

    Imperator

    7278 Posts

  • #5, by tristan-kangSaturday, 10. October 2015, 00:56 9 years ago
    Yeah, many scripts written for this engine seems integrated with the engine already.

    But the engine should be added easing options just like I can select fade in/out options in editor.

    Then it would be great.

    Great Poster

    267 Posts

  • #6, by afrlmeSaturday, 10. October 2015, 01:18 9 years ago
    That may be a possibility in the future. wink

    Imperator

    7278 Posts