C2LC-196: Limit the character movement to within the grid

Metadata

Source
C2LC-196
Type
Task
Priority
N/A
Status
Done
Resolution
N/A
Assignee
N/A
Reporter
Created
2020-07-15T10:44:18.066-0400
Updated
2020-11-11T13:26:10.801-0500
Versions
N/A
Fixed Versions
  1. Coding Env 0.5
Component
N/A

Description

Characters can only move as far as the outermost grid line. They will stop with their center on the grid line. They can still be moved along the outermost grid line. Any movements that would take them off screen will have no effect.

Comments

  • Michelle D'Souza commented 2020-10-06T15:40:51.012-0400

    What behaviour do we want for the edge of the scene? We've started this conversation in the Skype chat.

  • Simon Bates commented 2020-10-13T12:21:41.306-0400

    Skype chat 2020-10-06:

    Hey everyone, Daniel and Michelle and I are tasking out work for 0.5 and we had a question regarding the logic for bumping up against the edge of the scene. Prior to 0.5, our plan has been to snap back to the centre of the appropriate grid cell when the character moved back onto the scene. I'm wondering if that still makes sense for 0.5 where movement will no longer be constrained to centre of cell to centre of cell. In that case, would we prefer to then treat the edge as a barrier? I know we have talked about different interpretation for the edge: is it an edge that the character stops at or is it an indication that the character is out of the scene? Would love to hear your thoughts. Thanks.
    Now that I think about it, I think there are 3 possible semantics:
    1) the edge is a barrier that the character stops at
    2) the character moves off scene but a single movement brings them back on, no matter how far they try to move off scene
    3) the character moves off scene and we continue to track their position, then if we were to 'zoom out', we would see the movement that they have made while off scene
    or pan

  • Simon Bates commented 2020-10-13T12:23:02.509-0400

    I spoke with Sepideh 2020-10-13 and we will revisit the options for limiting movement once we have rotation at non 90 degree angles implemented so we can see the behaviour concretely in the coding environment.

    So I'm moving this task to 0.5.