Would you mind please add this features to new version

  • #1, by TinTinFriday, 16. December 2016, 07:25 8 years ago
    Hi

    I hope see new version before christmas . There is some important feature that make VS more and more powerful . Maybe some features is ready that I don't know and I'm appreciate let me know.

    Please add this features:

    1) Turn before walking . Custom turning is so graet and I'm ready for make add 56 custom turning for 8 direction .

    2) More flexibility for Chaser. It always stop walking in back of character . Please more random in front with random distance and direction.

    3) Add a simple physics to engine. like fall character in valley and pull or drap a box and so on.

    4) Control character with keyboard ( I know it's almost ready by lua but please add it to official editor without code)

    5) Character make overlapping by NPC . Please improve it and make solid character . You can make a checkbox for active or deactive it.

    6) Android port doesn't make a fresh apk . I'm not sure for other ports like iOS

    7) Add Persian font ( Right to Left ) . It's similar to Arabic font .If you can't  please lead me for any guide .( We have less than 110 symbol word)


    Thanks for any suggestion and help

    Forum Fan

    196 Posts


  • #2, by afrlmeFriday, 16. December 2016, 12:47 8 years ago
    2. Chase works by basic collision detection of when the character doing the chasing comes into the character being chased's radius you defined which is based on their current position. You could dynamically control this in the action block or with Lua script with some if queries to have the character doing the chasing do other things when they reach the character, but that would be down to you.

    3. I believe Simon is planning or has already added box2D physics engine.

    5. not really sure how he could do this as it's 2D, meaning paper thin flat, so by default the only thing you could check is when 2 players coordinates overlap at each of the characters positions which is too small of a margin. To achieve this you would need to set a bounding box (radius) around the character - this would also need to increase/decrease in size dynamically when your character scales up & down too. Kind of complicated & then there's the issue of handling character collision... which character should do what & just what exactly is it that they should do? stop? stop & say something? stop & play some animation? stop & move aside? You have to take into consideration that the latter would also mean storing the current destination target (position, object, character), clearing those & then restoring them after the character has moved aside. Tricky stuff.

    Imperator

    7285 Posts

  • #3, by TinTinFriday, 16. December 2016, 17:20 8 years ago
    2) How do I command to chaser that sometimes stop in front of player ? Sorry I'm not familiar with Lua

    3) Great news . It's so useful and more flexibility.

    5) I think it have to affect on way area . My mean is NPC or player must be non walkablea area for itself . After that they can walk around together without overlapping.

    Forum Fan

    196 Posts

  • #4, by afrlmeFriday, 16. December 2016, 18:03 8 years ago
    Heh! Sorry, not really sure how I ended up writing them out of order. I edited my post to correct the order. smile

    2. You don't necessarily need to use Lua script. I believe it's possible to link to a called by other action block on chasing character collision with character being chased? You set a random value inside of said action block then you would query if value is x, y or z (x, y or z being a number between the min & max value you specified in the random value) which you would then use to trigger some other actions based on the returned result.

    basically... (action parts)

    set random value 'value_name' between 1 and 5
    if value 'value_name' == 1
     -- insert some actions to perform here
    end if
    if value 'value_name' == 2
     -- insert some actions to perform here
    end if
    if value 'value_name' == 3
     -- insert some actions to perform here
    end if
    if value 'value_name' == 4
     -- insert some actions to perform here
    end if
    if value 'value_name' == 5
     -- insert some actions to perform here
    end if


    That's the general gist of it without me going into too much detail

    5. it's complicated & even more so if both characters are moving around because that requires loops to constantly calculate all characters positions & whether any characters radius are overlapping. Also it's not possible to affect the way system/borders in any way with Lua script as far as I'm aware. It's already complicated enough to have a character stop & perform an action without having to come up with some calculation to divert the characters walk path around the other character. Most simplest solution would be to have the npc stop when they come into contact with your radius & then listen out for when it's no longer colliding with your character & then have it resume its journey to wherever it was heading prior, but even that requires a fair amount of work.

    Imperator

    7285 Posts

  • #5, by TinTinFriday, 16. December 2016, 18:32 8 years ago
    Thanks for fast reply

    I'll try it and I ask agian if I had problem .

    Forum Fan

    196 Posts