Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    627
    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.