TIGSource Forums

Feedback => DevLogs => Topic started by: Afrobear on December 20, 2014, 11:13:15 PM



Title: Towncraft II
Post by: Afrobear on December 20, 2014, 11:13:15 PM
(http://s20.postimg.org/3zoh8l56l/Screenshot_1.png)

Hey everyone! I'm here to show you a game I'm developing called Towncraft II. It's a RTS with some survival elements. The goal is to raise your town to make it safe (the longest you can). It features a day/night cycle system and monsters show up at night and may attack you. The number of enemies and their power increase according to the days passed. Some stuff from the game:

Resources

(Lv. 1) Food: Used to train every single unit. You can get it by building farms. (You can activate an option when game starts to make people consume food, so the bigger the population, more farms (that produce food) will be needed once they start losing health if food stocks reach 0).
(Lv. 1) Wood: Used to build every single building. You can get it by building lumbermills.
(Lv. 1) Glory: Used to buy upgrades. You can get it by building or killing monsters.
(Lv. 2) Iron: Used to train every single military unit. You can get it by building iron mines.
(Lv. 3) Gold: Used to buy resources. You can get it by selling resources (market).

Buildings

(Lv. 1) House: Increases population capacity by 3.
(Lv. 1) Fence: Keeps enemies away by blocking their way.
(Lv. 1) Lumbermill: Collects wood from near tree (needs workers).
(Lv. 1) Farm: Produces food over time.
(Lv. 2) Barracks : Trains military units.
(Lv. 2) Wall : Keeps enemies away by blocking their way. Way tougher to destroy than fences.
(Lv. 2) Iron Mine: Collects iron from mountain (must be closeto one/needs workers).
(Lv. 2) Tower : Protects area by shooting arrows.
(Lv. 3) Market : Sells/buys resources for/using gold.
(Lv. 3) Magic School: Trains magical units.

Units

(Center) Slave: That unit builds stuff and work at iron mines/lumbermills.
(Center) Hunter: Good for exploration in early game, very fast.
(Barracks) Warrior: Average fighter, decent speed, health and attack power.
(Barracks) Archer: Ranged fighter, very useful with some fences.
(Barracks) Defender: Slow unit, huge health and weak attack.
(Mg.School) Priest: Unit that heals near allies.
(Mg.School) Wizard: Strikes enemies with fireballs (cast time: 2s).

Enemies

Bug: Weakest enemy, won't be a huge threat.
Skeleton: Can be handled easily with a couple of military units.
Zombie: Very slow but deadly.
Thief: Fast unit, priorizes destruction. May show up in groups of 1-5.

Upgrades

Bow Saw I: Increases wood gather rate by 10%.
Bow Saw II: Increases wood gather rate by 20%.
Bow Saw III: Increases wood gather rate by 30%.
Masonry I: Increases all buildings' HP by 20%.
Masonry II: Increases all buildings' HP by 40%.
Masonry III: Increases all buildings' HP by 60%.
Irrigation I: Increases food gather rater by 10%.
Irrigation II: Increases food gather rater by 20%.
Fortify I: Increases towers' fire rate by 10% and fences/walls' HP by 10%.
Fortify II: Increases towers' fire rate by 20% and fences/walls' HP by 15%.
Fortify III: Increases towers' fire rate by 30% and fences/walls' HP by 20%.
Barter I: Buys resources 10% cheaper. Allows selling resources.
Barter II: Buys/sells resources 20% cheaper/more expensive.
Barter III: Buys resources 30% cheaper. Resource's price may not increase/decrease when bought/sold.
Galore: More animals.
Blacksmith I: Increases military units HP & attack power by 10%.
Blacksmith II: Increases military units HP & attack power by 20%.
Blacksmith III: Increases military units HP & attack power by 30%.

Some screenshots:

(http://i.imgur.com/2PreaGn.png)

(http://media.indiedb.com/images/games/1/30/29402/cagwuXE.png)

(http://i.imgur.com/caUFkpy.png)

I plan to release its first alpha (of the new engine) in 25th of December.

If you want to take a look at its IndieDB's page: http://www.indiedb.com/games/towncraft-2 (most screenshots are pretty old)

My twitter: https://twitter.com/towncraft2game


Title: Re: Towncraft II
Post by: Afrobear on December 23, 2014, 06:28:29 AM
Improved movement system and added state indicators.

(http://i.imgur.com/AwR7YJv.png)

A video:

http://youtu.be/Q5Xi7rjqXpc

I'll release a demo 25th of December.

Thanks! :)


Title: Re: Towncraft II
Post by: Afrobear on December 25, 2014, 09:50:59 AM
Here is the first test demo for this new engine: https://db.tt/UMMW9aCv

Only one enemy for now. I'd like to hear from you people if it's buggy or laggy.

M - Mini-map.
0 (Numpad) - Toggle debug mode.

Thanks!


Title: Re: Towncraft II
Post by: nhold on December 26, 2014, 12:44:46 AM
Hey, cool game prototype. I had a bit of play and ran into this error:

Quote
FATAL ERROR in
action number 1
of Step EventObBld
for object ObActor:

first index out of bounds request 1301 maximum size is 5

I am looking forward to more updates!


Title: Re: Towncraft II
Post by: Afrobear on December 26, 2014, 04:02:02 PM
I think I got it fixed. Woudl you mind testing it? https://db.tt/h5Qwhb6t

Also added some sound effects.

Thanks :)


Title: Re: Towncraft II
Post by: Afrobear on December 27, 2014, 12:32:29 AM
Added positional sound system. I'm also working on a graphics update.

(http://i.imgur.com/kScjrma.png)

(http://i.imgur.com/yhUJEPo.png)


Title: Re: Towncraft II
Post by: kitheif on December 27, 2014, 09:50:05 AM
This is so adorable and awesome, keeping my eye on it  :blink:  :)

After trying to take my two workers out of the wood-mill!
Quote
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object CtrGame:

Push :: Execution Error - Variable Get -2.col(100027, -2147483648)
at gml_Script_ActorUnhide
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_ActorUnhide (line 0)
gml_Object_CtrGame_Draw_75

:toastR:

edit:
Also if your units touch the side of the map, the game freezes.
(Probably due to the grid not existing over their, so they don't know what to do!)