tile-based movement sliding floors

0 favourites
  • 3 posts
From the Asset Store
Hand-animated Sprite Base for isometric game/animation development
  • I am working on a game with tile-based movement.

    I am trying to recreate the ice floors from Chip's Challenge- basically if the player stepped onto an ice tile they would lose control of their character, and the character would slide in one direction until they 1. hit a wall and bounced back, 2. hit a special tile that deflected the angle of their bounce, or 3. stepped off an ice tile and onto a normal tile.

    I have been trying to recreate this but its really sensitive and glitches out easily. Has anyone done anything like this with tile-based movement before?

    (Honestly having trouble with similar conveyor belt floors but making that post later after I make more tries.)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Store the last movement input in a variable. While moving, disable inputs. Upon tile movement finishing, if the player is on an ice tile, simulate control of last input. Else if not on an ice tile, enable inputs again.

  • I got this working, thank you so much!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)