Isometric Game Character Direction/movement

Discussion in 'How Can I...?' started by TheGameAppStudio, Dec 9, 2017.

  1. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    Hi,I browsed through this form but couldn't find any post regarding isometric character direction/movement.May be i am missing something.If there is a post kindly point me to that link or if possible please do answer here

    Suppose a isometic game world with direction -330 ie diagonally down ,i need to make character move up ,down,forward and backward (forward and backword might work in ange 330 degree) on that particular isometric path.What should be exact angle,linearvelocity etc ??
     
  2. Skrubzy

    Skrubzy Avid Boxer

    Joined:
    Nov 3, 2017
    Messages:
    177
    Likes Received:
    44
    Take a look at some of the presets. The ones starting with "ISO" are isometric
     
  3. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    Yeah i know that ;) .But doesn't have one which i need :) .The character moves in isometric path like cube city .But i want that character to switch sides.Do you know exact values ?
     
  4. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    Use mathematics :p
     
  5. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    Can upload a picture showing what you want you can draw it in paint
     
  6. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    :) like
    X = Speed * Cos(-30)
    Y = Speed * Sin(-30)
    ?Calculations .Kindly refer image

    eg.png
     
  7. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
  8. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
  9. comicsmathias

    comicsmathias Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    120
    Likes Received:
    41
    Isn't that direction 30? why -330?
     
  10. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    Hi,Thanks for the file.Yes the movement works fine.But i need it quiet opposite way ie when down button pressed it moves downwards.But when up button is pressed i need the character to move forward and go up.Right now it goes up but behind character original position.Hope you get it.I
     
  11. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    both 30 and -330 works :)
     

Share This Page