A downloadable game for Windows and Android

This is like a Minecraft fan game or clone.

Statecrafter is a 2D Topdown NPC Playground in the world of Minecraft, for Windows and Android, made in Unity.
Made in April 2024 for Artificial Intelligence for Games assignment. 
(Semester 5)
This project is all about Finite State Machines (FSM) for NPC AI, living in a virtual world and taking care of themselves. It is also all about the transitions between states, how the AI should behave in certain situations.


How to Play:

In this game, Player interaction is completely optional


There are a few NPCs living in this world:

  • Steve

  • Alex

  • Zombie

  • Skeleton

  • Spider


The goals of the Humans are to:

  • Mine Resources

  • Upgrade Tools

  • Defend against Monsters


The humans' states are:

  • Idle

  • Mining

  • Looting

  • Crafting

  • Fighting

  • Fleeing

  • Sleeping

  • Death 



Some unique behaviours of some of them:

  • Steve prefers swords

  • Alex prefers axes

  • Spiders can dash attack

  • Skeletons can shoot


Player Interactions:

  • Spawn Food to heal humans

  • Flint and Steel to spawn fire

  • Potion of Swiftness for humans

  • Ender Pearl to teleport spectated human

  • Mace to damage and knockback all in an area

  • Herobrine mouse to scare all


Controls:

PC Controls

Actions

E/B/I

Inventory

Space/TabSpectate switch
1,2,3,4,5,6

Hotbar Items

Click the Ground

Spawn Stuff

Click/Swipe

Place/Throw Ender Pearl

R

Restart


Credits:

  • Unity - Game Engine

  • Visual Studio Code - IDE

  • Minecraft (2011) Mojang Studios

  • C418 Music - Daniel Rosenfeld

  • Excalibur Minecraft Texture Pack - Matt Dillow (Maffhew)

  • Various Video Games – Sound Effects

  • ChatGPT Tutorials (2022) chat.openai.com

  • Kenney.nl (2010) - UI

  • LeanTween (2017) Russell Savage - Dented Pixel

  • Adobe Photoshop - Sprite and Art Editin

  • Audacity - Audio Editing

  • Crystal Pug - Safe Area Helper

Lecturers:

  • Mr Mohamad Faris Zakwan


Portfoliohttps://joshuayeohkeatkeong.wixsite.com/joshgametech/statecrafter

GitHubhttps://github.com/JoshuaYeoh2/Statecrafter

Trivia:

The approaches I took were: Lots of Dictionaries, Lists, Managers for items, inventory, recipes, stations, buffs, etc. Also making the most use out of game events

I needed help from ChatGPT to do crafting recipe trees

Published 2 days ago
StatusReleased
PlatformsWindows, Android
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorJoshua Yeoh
GenreSimulation
Tags2D, Minecraft, npc, npc-ai, Pixel Art, Sandbox, Top-Down

Download

Download
Statecrafter.zip (Windows) 136 MB
Download
Statecrafter.apk (Android) 150 MB

Install instructions

Windows:

  1. Extract the zip file
  2. Run the exe file with the game's name

Android:

  1. Install and run the apk file

Leave a comment

Log in with itch.io to leave a comment.