Weird start for character, waypoint and cursor

  • #1, by madisongeronimoSaturday, 01. April 2017, 23:20 3 years ago
    Okay there's a few weird problems testing my game for the first time. 

    1. My character comes from the top and somehow doesn't start in or is inside the way system and starting point that I assign the character too
    2. My mouse is really odd. When I click an area I want the character to go to, it sometimes doesn't work and somehow it leads them to go on another area

    Also ignore the inventory thing, I know it's smaller than the screen. 

    Here is a little video of the weird issues I'm having. 

    Newbie

    33 Posts


  • #2, by sebastianSunday, 02. April 2017, 00:57 3 years ago
    looks like your characters center and mouse center is not set. 
    Do you see a crosshair in your characters outfit animations which define the standpoint if the char? 
    The mouse cursir should also have a Center (crosshair) set, so that the engine knowa where your click point is

    Thread Captain

    2337 Posts

  • #3, by afrlmeSunday, 02. April 2017, 01:01 3 years ago
    A'llo,

    Couple of quick questions...

    1. have you assigned an animation center for each of your characters animations? This determines which part of the character sprite will move to the destination position you set when clicking the left mouse button somewhere in a scene. The typical place to set the animation center is somewhere near & inbetween the feet of your characters. The animation center ideally should be the same position for each animation associated with the character.

    https://i.gyazo.com/55bb28ec619f201cef894e7101b50c6b.png

    https://i.gyazo.com/176c546623915d7f1612af17ee627f49.png

    2. have you set the animation center for the mouse? Typically this would be set on the tip of the cursor & should be the same position for both the active & inactive cursor. The animation center of mouse cursor is what is used to draw the cursor where the mouse cursor should be on your windows/mac machine.

    https://i.gyazo.com/aaac4920ee01423370cb881db1ba6425.png

    https://i.gyazo.com/35654813082c03dafcb77382d278a3d4.png

    P.S: having incorrect animation centers means your cursors & characters etc are not being drawing in the position you want them to be drawn at, which means your character is offset from the position you have specified or the mouse cursor is offset from the position of your system cursor.

    Imperator

    6842 Posts

  • #4, by afrlmeSunday, 02. April 2017, 01:02 3 years ago
    looks like your characters center and mouse center is not set. 
    Do you see a crosshair in your characters outfit animations which define the standpoint if the char? 
    The mouse cursir should also have a Center (crosshair) set, so that the engine knowa where your click point is
    Sneaky. grin

    Imperator

    6842 Posts

  • #5, by sebastianSunday, 02. April 2017, 01:56 3 years ago
    looks like your characters center and mouse center is not set. 
    Do you see a crosshair in your characters outfit animations which define the standpoint if the char? 
    The mouse cursir should also have a Center (crosshair) set, so that the engine knowa where your click point is
    Sneaky. grin

    ... and that out of my bed in the middle of the night using my smartphone and too big fingers to press the right keys. grin

    Thread Captain

    2337 Posts

  • #6, by madisongeronimoMonday, 03. April 2017, 20:47 3 years ago
    So wait am I supposed to move my character away from the edges?

    Newbie

    33 Posts

  • #7, by afrlmeMonday, 03. April 2017, 22:08 3 years ago
    So wait am I supposed to move my character away from the edges?

    Check the screenshots I posted & the symbol on the toolbar that is highlighted in them. wink

    Imperator

    6842 Posts

  • #8, by sebastianTuesday, 04. April 2017, 08:27 3 years ago
    So wait am I supposed to move my character away from the edges?

    no smile 
    you just need to set your characters/mouse center point to let the engine know where the feet or clicking point is. To set it, just do as AFRLme said and check out his first screenshot. The third icon from the right (2x2 white boxes/crosshair in a box) is needed to set this point inside EACH if your characters/cursors animation

    Thread Captain

    2337 Posts

Write post