XNA Creators Club Online
Page 1 of 1 (4 items)
Sort Posts: Previous Next

[Platform] 8 Way Movement Question

Last post 7/7/2009 8:20 PM by GlaphanKing. 3 replies.
  • 7/7/2009 1:59 AM

    [Platform] 8 Way Movement Question

    I was wondering if it would be an easy task to do 8 way movement like arcade platform games such as Final Fight. I have a rough idea on how it can be done but perhaps someone with more knowledge would be able to give some insight.
  • 7/7/2009 9:30 AM In reply to

    Re: [Platform] 8 Way Movement Question

    Im not sure I understand what you mean.

    Do you mean Up Left, Up, Up Right, Right, Down Right, Down, Down Left, Left ?

    If so yes you can detect the movement
    Neil Working on a turn based battle game

    Blog
  • 7/7/2009 12:55 PM In reply to

    Re: [Platform] 8 Way Movement Question

    Jim Perry - Microsoft XNA MVP
    If people spent a minute searching the forums and reading the FAQs before posting I'd be out of a job.
      Got some XNA Game Studio/XNA Framework development info to share with the community? Put it on the XNA Wiki.
        Please mark posts as Answers or Good Feedback when appropriate.
  • 7/7/2009 8:20 PM In reply to

    Re: [Platform] 8 Way Movement Question

    moltione:
    Im not sure I understand what you mean.

    Do you mean Up Left, Up, Up Right, Right, Down Right, Down, Down Left, Left ?

    If so yes you can detect the movement


    Sorry I wasn't very detailed. I'm trying to tweak the Platform Starter Kit to be able to use 8 way movement. Meaning like in the NES game Double Dragon. You can move all around the board and jump around as well. When you hit a building you obviously are colliding with non passable terrain so you can't move on those spots.

    The kit only takes into account the horizontal movement. when it talks about the y axis, that is for jumping. So would I have to think in terms of a pseudo 3D where the x axis the horizontal, the y is the jumping position axis and the z would be "up" or away and "down" or towards the edge/bottom of the screen.

    I hope this was more informative. And thanks to Jim for the links to the Input articles. Gave me a better understanding of Input.
Page 1 of 1 (4 items) Previous Next