View Point, and character that "walk" whatever want!

  • #1, z funkygallo-1Wednesday, 24. July 2013, 16:45 hodinky 12 years ago
    Hi I just beginning to use VS.. and I have the first problem.

    I have loaded, my background, and my main character

    I have also set the way borders and some view point, all internall.
    as showed in pix below.
    http://imageshack.us/a/img541/8853/eczc.png

    When I run the game, my character went crazy!

    If for example is near the door saloon, and I click near the bank sign, the character, walk down untill he reach the bottom of the screen and after walk right , also over the white house on the bottom right.

    Any hints?

    Bažant

    40 Posts


  • #2, z afrlmeWednesday, 24. July 2013, 16:53 hodinky 12 years ago
    first things first: VS cms auto parses images so you need to edit your post & remove the url part - just copy/paste direct link to the image.

    you need to make sure that the characters initial position on the scene is inside of the way borders otherwise strange things can occur.

    Also you have to be careful when creating way-paths as they will affect which path the character will take to reach their destination.

    Imperátor

    7285 Posts

  • #3, z funkygallo-1Wednesday, 24. July 2013, 17:00 hodinky 12 years ago
    Thank AFRLme.
    Just fixed the image problem.

    About characters initial position on the scene, is inside the way borders.

    About the way-paths, maybe I haven't understand the use. Are the necessary only to change the character size, or are these necessary to "write" the main character path?

    Thank
    Ale

    Bažant

    40 Posts

  • #4, z SimonSWednesday, 24. July 2013, 17:03 hodinky 12 years ago
    Waypoints are to help you customize the way that the character will take. If there are waypoints, the character goes to the next one in the area and finds the waypoints nearest to the endpoint. If you only want them for sizing, you better make a waysystem outside your normal system or just two waypoints outside the screen.

    Kapitán

    1582 Posts

  • #5, z funkygallo-1Wednesday, 24. July 2013, 17:28 hodinky 12 years ago
    Damn... doesn't work.

    I just delete every view point on screen. There are only way borders.
    Please see the video (9 seconds)

    http://youtu.be/no9polcx488

    Any hints? smile
    Ale

    Bažant

    40 Posts

  • #6, z afrlmeWednesday, 24. July 2013, 18:05 hodinky 12 years ago
    I can't really tell what's going on from that video alone but creating way borders just tells the player where he can & can not walk.

    If you add something to the scene; like that red thing in your video then you have to work out the object center which determines whether character will walk in front of the object or behind it, based on the characters current y position.

    Also you have to make sure all objects are ordered correctly by their object center or certain strange bugs can occur; organizing is quick & simple - on the scene toolbar at the top is an icon with 2 yellow arrows next to a larger green arrow - click the yellow arrow icon to automatically order the objects based on their object center.

    Also the characters current position is based on the character center which you have to manually set; which should be somewhere near the base (bottom) of the character & usually placed in between the characters legs. if you have set the characters center higher up then that could be why the character seems to be walking over the top of the building etc.

    I can't really say based on the one screenshot alone.

    Regards,
    Lee smile

    * edit: In regards to the way points; as Simon as mentioned they are really just to tailor the route/path your character will take to get from point a to point b ... but you have to think carefully when adding them as you could end up with your character taking a bizarre path to get to his destination.

    Also for scaling you can create way path points outside of the border also, just for setting character scale value to them.
    Currently scaling on the x axis doesn't work so well in comparison to the y axis (just letting you know)

    Imperátor

    7285 Posts

  • #7, z SimonSWednesday, 24. July 2013, 18:07 hodinky 12 years ago
    I believe the center of walking animations is incorrectly set. It should be set as it is for the standing animations.

    Kapitán

    1582 Posts

  • #8, z afrlmeWednesday, 24. July 2013, 18:11 hodinky 12 years ago
    I believe the center of walking animations is incorrectly set. It should be set as it is for the standing animations.


    hehe; great minds think alike - or so, they sometimes say wink

    Imperátor

    7285 Posts

  • #9, z funkygallo-1Wednesday, 24. July 2013, 19:57 hodinky 12 years ago
    Ok boys, thanks to ALL hints I have fixed the mistake.

    As suggested by SimonS, the problem was the "center of animations", that previuos was different for every state, left, right font and so on. Now I have set for all the anim the same value, and the strange effects dissapears.

    Now I can continue with Glen tutorial smile

    Ciao (and thanks again)
    Ale

    Bažant

    40 Posts

  • #10, z funkygallo-1Thursday, 25. July 2013, 09:27 hodinky 12 years ago
    by the way.. just buyed Visionaire. I don't know if I will produce something in the future.. but I love to support nice tool and community.

    Bažant

    40 Posts

  • #11, z NigecThursday, 25. July 2013, 09:44 hodinky 12 years ago
    Cool good to hear wink
    I bought VS straight away too, I think it gives you more incentive to learn

    Zabiják klíčů

    635 Posts