Completing Terasology Revival Milestone 2 - where quality meets performance, and Java 17 takes the spotlight. Weβre celebrating our achievements and planning our path ahead. Ready to join the journey? New contributors welcome!
Hey there, fellow gooeys! Welcome to Terasology, where blocks meet potential β¨ Our project was born in 2011 with the desire to provide a modular canvas for diverse gameplay ideas in a dynamic voxel world with creative possibilities as endless as the blocks themselves. While we wear our history with pride, our codebase outgrew our maintainer capacity over the years, collecting rust and dust in the face of dwindling contributor and contribution numbers.
Though small, our gooey community is welcoming and inclusive, with room for all voices. Each line of code, every idea, and every contribution counts. Recently, our shared love for Terasology propelled us into an exciting phase of revival, where we not only seek to breathe new life into the project but also to invigorate our community. This is not just about coding β it's about all of us coming together to unlock Terasology's true potential and build a voxel game that we enjoy.
The focus right now? Modernizing and giving our codebase a facelift. We believe that the foundation of our project should be as robust and adaptable as our creative aspirations π‘ The first milestone brought us new contributors, upgraded dependencies, and first progress towards a slimmer, sleeker codebase. Now it's with pride that we announce the completion of our second revival milestone π And that's not the end - the third revival milestone already unfurls its sails, and we invite you to join us on our voyage into the future of Terasology β΅
Let's explore how our second revival milestone added to breathing new life into the codebase, setting the stage for Terasology's grand comeback!
π Definition of Done: A Checklist of Progress
π In total, we merged 27 engine PRs and 20 PRs on libraries and side projects such as gestalt, the launcher, or the module site.
One of our major achievements is the seamless transition to Java 17 driven by @BSA, laying the groundwork for a more robust and modern Terasology engine π οΈ The upgrade not only marks a technical advancement but also signifies our commitment to moving Terasology towards the cutting edge of technology. If you're already contributor, please refer to https://github.com/MovingBlocks/Terasology/issues/5177 for guidance on what this means for your Terasology workspace. For new contributors, our updated Contributor Quickstart Guide points to the now required Java 17 JDK π‘
Targeting a more user-friendly interface for customizing Terasology worlds in the advanced game setup, @Niruandaleth merged the universe setup screen and world pregeneration screen into a more streamlined flow. Recently joined @soloturn provided major support in pursuing various quality improvements. Checkstyle rule configuration has been optimized to reduce noise and various warnings flagged by different QA tools like checkstyle, spotbugs, and pmd have been diligently addressed, adding to a cleaner, more efficient codebase. Quality improvements will continue in our next revival milestone - feel free to come aboard! β΅
The quest for optimal performance is a journey, not a destination π Milestone 2 marks the beginning of our performance investigations, paving the way for future optimizations that will elevate the gaming experience for our users. A first success was @skaldarnar identifying leftovers of the VR integration removed in revival milestone 1. Removing them not only further decluttered our codebase but contributed to a more resource-efficient gameplay experience by halving the required rendering passes.
Together, our community discussed the benefit of having documentation closer to our code. As a result, we integrated our Terasology engine wiki into our codebase, making it our new "Knowledge Base" provided using Docsify on GitHub Pages, allowing for maintaining code and documentation changes in sync. All links to our old wiki should now point to our "Knowledge Base". If you find any links to our old wiki that we might have missed, please report them on Discord or using a GitHub issue π‘
Next to these bigger efforts, a lot of smaller discussions and activities happened across our GitHub repositories and Discord channels. @BSA, @Niruandaleth, and @skaldarnar met once per week virtually to discuss milestone progress, agree on strategic questions, and collaborate on blockers and reviews. Over the course of our second revival milestone, @Cervator provided guidance for new community members and revivers alike, sharing his knowledge of the project history and in particular its infrastructure. Long-time contributor @rzats visited the project, bringing Ukrainian locale up to date. @qwc hosted the Valheim server again for our second revival milestone completion celebrations, adding a touch of community spirit as the year slowly came to its end.
To all our contributors, thank you for your dedication, passion, and relentless pursuit of improving Terasology! Milestone 2 is more than just a checkpoint; it's a testament to what we can achieve together. Here's to our community, our contributors, and our potential! π
π Terasology Revival Milestone 3: New Contributors Welcome
Embarking on the journey of our third revival milestone, our repositories are wide open for new contributions by friendly people joining our gooey community! π Whether you're a seasoned developer or just getting started, there's a place for you in our dynamic community. Let's build, innovate, and play together! ππ¬
Let's delve into the tasks that lie ahead. If you'd like to contribute to a specific task, feel free to ping the respective revivers on our Discord.
π©Ή Re-enabling our Contributors
The recent upgrade to Java 17 introduced additional restrictions on accessibility of fields when using reflection. For us, this affects primarily the serialization of component attributes defined in our engine and various modules. The resulting issues materialize when testing code changes in-game, potentially blocking development. @BSA, @Niruandaleth, and @skaldarnar join forces to adjust and document serialization behavior and component implementation.
Due to the focus of the revival on our engine, module pipelines had not yet been set up again after our recent infrastructure overhaul. This blocks contributions in module land like fixes or (quality) improvements. @BSA and @Niruandaleth plan on re-introducing the module pipelines and addressing potential issues.
In the third revival milestone our mission to investigate and improve performance continues. Bad performance not only impacts our players, but also our contributors, especially when testing code changes in-game. @BSA sets out to unravel mysteries behind chunk generation/load-related stuttering based on CoreGameplay. Every stutter addressed is a smoother gameplay experience for our users.
π οΈ Quality Assurance
Our codebase is the foundation upon which we're crafting the future of Terasology. Before we can dive into feature development again, we need to stabilize it and make it as solid as bedrock. Sharing a passion for reducing errors and warnings reported by quality tooling, @Niruandaleth and @soloturn will continue to improve quality across engine and module land. Preferring reliable test results over heavy re-trigger fingers, @Niruandaleth and @skaldarnar set out to unravel the cause of flaky integration tests π In addition, @Niruandaleth plans further refactorings including but not limited to removing obsolete graphic settings, refactoring systems to use auto-config, and leveraging new Java 17 features where applicable.
π Improvements for Players
Although we plan to complete a few more milestones before starting to publish Terasology releases again, we already want to improve the lives of our players. @Niruandaleth will finish the advanced game setup overhaul, enabling an easier customization flow for Terasology worlds. In addition, @skaldarnar plans to pave the way for multi-version support for the bundled JRE brought by the Terasology Launcher, allowing players to start Terasology without having to install Java themselves. While this is already feasible for Java 11 now, the upgrade to Java 17 requires support for bundling different JRE versions and serve the correct one depending on the Terasology version to be launched.
In conclusion, our second revival milestone served as proof that we are able to modernize our codebase and stay committed to our revival. It taught us the value of constructive discussions, the power of persistence, and the importance of supporting each other. As we look ahead to the next chapters of our journey, we do so with optimism and a feeling of progress. Together, we'll continue to shape the future of Terasology, one milestone at a time. π
This article was partially written with the help of ChatGPT.