MovingBlocks

Fix LightAndShadow module for the new serialization system in Terasology

PR #3535 overhauls the Terasology serialization system. This breaks some modules like LightAndShadow which declare custom classes to be serialized. These broken TypeHandler implementations must be fixed as the engine PR is merged.

Definition of Done

  • PR on the module repo that solves the compile errors and makes the module run with the newSerialization engine branch without problems.

Where to Start

  • The corresponding issue has everything, included previous (possibly irrelevant) work on integrating the serialization system.

How to test

  • Just activate L&S gameplay template then press play.

Bonus

There is a weird issue with L&S when creating the game through the full advanced create game flow (picking the gameplay template and immediately hitting play works). When you set up the L&S world and click to continue it shows a popup with a NullPointerException error message. It might be an issue where one of the other worlds in L&S has incompatibilities with the new create game flow. As we still have no idea how hard a fix it is, this is just a bonus task.

See also

Task tags

  • serialization
  • architecture
  • light&shadow
  • bug

Students who completed this task

MK

Task type

  • code Code
close

2018