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

  • #1, by funkygallo-1Wednesday, 24. July 2013, 16:45 7 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?

    Newbie

    37 Posts


  • #2, by afrlmeWednesday, 24. July 2013, 16:53 7 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.

    Imperator

    6816 Posts

  • #3, by funkygallo-1Wednesday, 24. July 2013, 17:00 7 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

    Newbie

    37 Posts

  • #4, by SimonSWednesday, 24. July 2013, 17:03 7 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.

    Thread Captain

    1352 Posts

  • #5, by funkygallo-1Wednesday, 24. July 2013, 17:28 7 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)



    Any hints? smile
    Ale

    Newbie

    37 Posts

  • #6, by afrlmeWednesday, 24. July 2013, 18:05 7 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)

    Imperator

    6816 Posts

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

    Thread Captain

    1352 Posts

  • #8, by afrlmeWednesday, 24. July 2013, 18:11 7 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

    Imperator

    6816 Posts

  • #9, by funkygallo-1Wednesday, 24. July 2013, 19:57 7 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

    Newbie

    37 Posts

  • #10, by funkygallo-1Thursday, 25. July 2013, 09:27 7 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.

    Newbie

    37 Posts

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

    Key Killer

    558 Posts

Write post