Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Please help, making thomas was alone moving stairs and walls.(UnAnswered)

Discussion in '2D' started by albert1010, Feb 14, 2017.

  1. albert1010

    albert1010

    Joined:
    Feb 14, 2017
    Posts:
    1
    Hello!
    I've been making my own 2D platformer with unity for about 2 months now and want to spice up my levels. I've always loved the levels change in Thomas was alone and have been wandering about how to do it. I know Mike Bithell(creater of Thomas was alone) is not a good programmer and probably did something really easy to do it. If you guys have any advice please do !

    http://makeagif.com/i/Y1OnAP here is example of it in Thomas was alone
    http://makeagif.com/i/l2Wokr
     
  2. jackhearts

    jackhearts

    Joined:
    Apr 5, 2013
    Posts:
    103
    For levels like the first gif where it's forming around the player it's probably a case of the player activating trigger colliders that run tweens on whichever blocks need to be moved. For instances like the second gif where ground sections are randomly moving I'd say it's random tweening. The asset store has a bunch of free tween library's to create similar easing effects.
     
    theANMATOR2b likes this.
  3. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Actually he's a great developer. Anyone finishing an excellent game like that, I tip my hat to :p

    For levels that do things, I recommend you use the Unity animation system and set a small trigger based script to play them.
     
    theANMATOR2b likes this.