Quantcast
Viewing all articles
Browse latest Browse all 47

Forest RTS – Unfinished Game

 

Decided to release an unfinished game that will never be finished. RIP. The game started as a for-fun game jam to test out working with a couple friends of mine. In the end we ended up working for 2-3 weeks before deciding to move on to another project. Read more about the game here.

Download executable: Download (ZIP, 9.53MB).

Link to source: here.

Image may be NSFW.
Clik here to view.
forest_clip

Image may be NSFW.
Clik here to view.
bear
Image may be NSFW.
Clik here to view.
swamp_poison
Image may be NSFW.
Clik here to view.
swamp

Image may be NSFW.
Clik here to view.

I ended up enjoying the human AI quite a bit, and it grew to a decent size! This was my first time implementing things like A*, or a semi-complex state machine, and the end it was total fun. Here’s an explanation of the human behavior in case anyone was curious (taken straight from the source code);

enum State
	{
		// Looks for another more important state to switch to, in order of priority:
		//	-Take log back to next house to build
		//	-Find a log to grab
		//	-Find a tree to chop down
		//	-Find a tree to walk to
		//	-Wander around
		STANDING,

		// Moves from one tile to another, arrives back at transition_to_state
		TRANSITIONING,

		// Picks a random adjacent tile to walk to, forwards transition_to_state to TRANSITIONING
		WANDER,

		// Just stands there for a number of seconds
		IDLE,

		// Cuts down a tree until he gets tired
		CHOP_TREE,

		// Goes to house centroid, once he finds a house, or centroid, he idles
		TIRED_GOTO_HOUSE,

		// Signifies the human is holding a log, goes to the construction site to place the log
		CARRY_LOG,
	};

Download executable: Download (ZIP, 9.53MB).

Image may be NSFW.
Clik here to view.
Twitter
Image may be NSFW.
Clik here to view.
Reddit
Image may be NSFW.
Clik here to view.
Facebook
Share


Viewing all articles
Browse latest Browse all 47

Trending Articles