Skip to content

rework input #18

@c8p2d01

Description

@c8p2d01

the given json file provides each tick

  • which objects had value changes
  • and what actions were executed
    when reading in the replay as of yet we only concider the objects and display their momentary position
    in order to use the information given in the actions we could either double part of the current code here in the visualizer
    OR before reading in the json we rework it a bit so that the object section also includes the changes brought by the actions

side Benefits:
tldr: move/attack might not have to be split in the gameserver

in the current version when a Unit moves it also attacks. in order to properly animate attacks we decided to change the gameserver to accomodate a differenciation of those actions in the replay file
if one inspects the current replay files one can see that the move/attack action can be found even when the unit is not mentioned in the object part
this may be interpreted as an attack because the unit does not move. this can be linked to the differenciation between the moves and as such might make the proposed chages to the gameserver obsolete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions