Rail Shooter like Sin and Punishment how do they work?

Discussion in 'Game Development General Discussion' started by Goemon, Apr 21, 2013.

  1. Goemon

    Goemon AG Member since 2005!

    Joined:
    Feb 4, 2013
    Messages:
    584
    Likes Received:
    17
    I would like to know how a Game like "Sin and Punishment" works on the technical side.
    http://www.youtube.com/watch?v=yxz8BJDIrMk
    For example how is it done, that the Player Character is always following the same path. Splines?
    Same goes for the enemies. Everything looks like "Sequences" but how are such Sequences made?
    Also very weird is the Highscore system.

    Any thoughts on that?
    Looking forward to see some interesting posts here :)
    Thanks.
     
  2. JayFoxRox

    JayFoxRox Spirited Member

    Joined:
    Dec 23, 2010
    Messages:
    176
    Likes Received:
    9
    You probably have a fixed path (maybe an extra velocity for each path part or delay points) and a timer. That timer makes you move along the path (probably using linear interpolation (most multiplayer games do this) or by using a speed from the animation [so the linear interpolation would be slower when a running animation has just started from the idle pose - GTA3 / VC / SA does this]).
    The first would sync the animations to the actual movement while the second will sync the movement to the animation.

    The same timer can be used to control all sorts of animations.
    Additionally you can use the player position to control animations or gameplay
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page