Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[WIP] Time Game (Time Travel)

Discussion in 'Works In Progress' started by gaweph, Oct 10, 2016.

  1. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
    Last edited: Jul 7, 2017
    alexanderameye and RavenOfCode like this.
  2. Tzan

    Tzan

    Joined:
    Apr 5, 2009
    Posts:
    729
    Posting links is not a problem.
     
  3. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
    Thanks Tzan. Added to my original post.

    So far I have implemented the initial recording and playback functionality.



    The red square is the current player, when the player enters the time machine the level resets. The white boxes are the previous players versions from previous time jumps (for lack of a better term).

    If you are interested in some of the code used, I have explained further here:
    Code explanation: http://blog.randomsyntax.net/timegame-1-timetravel/
     
    Last edited: Oct 15, 2016
  4. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
    Character animation has been added.

    This includes the current player, and the ghost player images.



    I will try and add a post outlining how this was done soon (if anyone is interested)
     
    RavenOfCode likes this.
  5. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
  6. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
    Created the Exit prefab. And a test level.


    I will try and add a WebGL demo soon.
     
    RavenOfCode likes this.
  7. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
    Last edited: Jul 7, 2017
    RavenOfCode likes this.
  8. gaweph

    gaweph

    Joined:
    Sep 2, 2012
    Posts:
    26
    A new build of this is available (I have revamped and simplified the graphics to try and refine the game mechanics first).

    Any feedback would be appreciated. Is it obvious what to do?


    https://gaweph.github.io/TimeGame-WebGL-Demo/V0.02/

    It most likely should start with some sort of tutorial level? Maybe something that doesn't include the time machine at first?
     
    RavenOfCode likes this.
unityunity