Inspiration ✨

We took inspiration from farming simulators such as Stardew Valley, and their actions towards a more sustainable community. We also used the format of top down RPGs as the basis of what our game should look like. We also wanted to do a project about sustainability from a community perspective.

What it does 🌱

You, a town planner, are empowered to make decisions that will drastically affect your community. As you talk with the townsfolk, you'll be given options on what to build or do. Based on your actions, the town and the surrounding environment will be impacted. The townsfolk will notify the consequences of your actions, whether they be good or bad. Through your interactions with the townsfolk and actions in the town, you'll be able to learn more about sustainability.

How we built it 💻

We built it using pixi.js, a library in javascript. We used VSCode as our compiler, and used sprites and tilesets from open-source game assets (please see Attributes.txt in the GitHub repo for art credit).

Challenges we ran into 🤔

The pixi.js library doesn't have a built-in physics engine, so a major challenge we faced was building one. For our top-down game, it was necessary to make a collision detector. After making a functional collision detector, creating the dialogue between you and the townsfolk, as well as creating the consequences that would result in your decisions, proved challenging through the amount of work that was needed. After figuring out the flow of conversation and how each decision should affect the town, sprites were needed so that the game would look natural. Finally, after configuring each npc to the dialogue and creating the environment, our game was done.

Accomplishments that we're proud of 👍

We're proud of creating a game from scratch within the time limit. The process itself, from the game engine to the creation of the town and npcs, was a very rewarding experience.

What we learned 🧠

We learned how to use pixi.js, and gained a deeper understanding for Javascript. As a team, we figured out how to manage the work in order to create a successful working game, as working as a two-man team required more coordination for an ambitious project. Coding wasn't the only learning experience we had, as we learned more about our topic of sustainability as we researched it during our time working on the game.

What's next for Green Town 🌳

Green Town may be small now, but it has a lot of potential to grow in the hands of its players and developers. We plan on branching out on your decisions and town member interactions. We'd also like to make the game smoother and increase the map size. More hands-on interactions are in the works, where the player will soon be able to learn even more about sustainability.

Share this project:

Updates