Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

Simple World Generator and Base / Flag Generation #64

Closed devibri closed 6 years ago

devibri commented 6 years ago

This adds in a new world generator (Light and Shadow (Simple)) that is just a plane with bases that spawn 30 units from the center of the world (at x=-30, and x=30). The flag also spawns at the center of the base.

Test by loading up the L&S module and choosing Light and Shadow (Simple) as world generator.

nihal111 commented 6 years ago

Started testing this out with a new environnment, for anyone else testing this out-

  1. City and LightAndShadow are both at develop. Make sure to fetch the modules and switch branches.
  2. Auto fetch dependencies by groovyw didn't work well for Pathfinding and NameGenerator, needed to fetch those modules manually. Likely needs a new release?
devibri commented 6 years ago

Thanks for the clarification here! I was a bit confused as to how the generation works here. I'll take another look at this.

devibri commented 6 years ago

Added code for flag to be able to be picked up onActivate (pressing E). Test with https://github.com/Terasology/LightAndShadowResources/pull/23. Tried to do this as a separate PR but it got complicated.

devibri commented 6 years ago

Fixed issues with the rendering of the base blocks (moving some of that logic to Provider / Facet) being cut off so now the base should spawn the appropriate size.

devibri commented 6 years ago

Just pushed code cleanup changes!

nihal111 commented 6 years ago

Merging. Good work @dacharya64 :)