SFML community forums

General => SFML projects => Topic started by: N1ghtly on January 09, 2013, 11:43:23 am

Title: Tower Trouble
Post by: N1ghtly on January 09, 2013, 11:43:23 am
Introduction
Hi, I'm back with a new project. It's been a while and i'm developing this mainly to prevent my brain from rusting :p. It's (obviously) developed with C++ and SFML. Most of the core gameplay is done, now I need to work on balancing the game and finding sprites for the towers and enemies.

Tower Trouble
Tower Trouble is a classic Tower Defense game. It will feature maps with multiple routes and flying enemies. I have yet to decide on what sort of towers will be used, so far they all shoot bullets.

I've been working on this for little over two weeks now, you cans see the progress here:
Beta 1 (http://tiny.cc/h73mqw)
Beta 2 (http://tiny.cc/s53mqw)
Beta 3 (http://tiny.cc/d63mqw)
Stress Test (http://tiny.cc/d43mqw)

Latest update
- Towers now cost gold (which is earned by killing enemies)
- Had a go at the menu
Beta 4 (http://tinyurl.com/bxkd6q7)


Suggestions
Please feel free to leave a comment or suggest features :)

Cheers,

Xander
Title: Re: Tower Trouble
Post by: Sui on January 09, 2013, 12:06:33 pm
It's quite surreal with the country music! (Like it).

Maybe the attackers could show how damaged they are, perhaps by showing damage on the sprites? When you have more varied gun turrets this would be useful to see how effective the weapons are on different kinds of attackers.
Title: Re: Tower Trouble
Post by: Lo-X on January 09, 2013, 06:45:54 pm
There's still a lot of work, but that seems very nice =)

I think you planned this but : or I am blind, or I did not see the money you have.
Title: Re: Tower Trouble
Post by: N1ghtly on January 09, 2013, 10:12:40 pm
It's quite surreal with the country music! (Like it).

Maybe the attackers could show how damaged they are, perhaps by showing damage on the sprites? When you have more varied gun turrets this would be useful to see how effective the weapons are on different kinds of attackers.

Yes, I think hp bars for all attackers would a bit clunky, so I'm plaaning showing the damage using the sprites. Perhaps an overlay that turns to red the more damaged an enemy is?

I think you planned this but : or I am blind, or I did not see the money you have.

Haha, well spotted! It's implemented by now however :)
Title: Re: Tower Trouble
Post by: grimmreefer on January 10, 2013, 07:36:49 am
Very nice, i also used this Tileset for one of my "Games".
How did you make the Pathfinding, did you use the A*    algorithm?
Title: Re: Tower Trouble
Post by: N1ghtly on January 10, 2013, 05:27:48 pm
No, my maps are created with Tiled (http://www.mapeditor.org/) and I use polygon lines to set the path of my enemies. In my opinion using A* would be overkill.

http://i47.tinypic.com/29j3iv.png
Title: Re: Tower Trouble
Post by: eXpl0it3r on January 10, 2013, 05:49:37 pm
In my opinion using A* would be overkill.
Why? And what are you using then? :)
Title: Re: Tower Trouble
Post by: Lo-X on January 10, 2013, 05:56:15 pm
In my opinion using A* would be overkill.
Why? And what are you using then? :)

I think the path is pre-defined and as you can't build on the way, such an algorithm would be time-waste unless there's a learning purpose.

I dunno how the game is coded, but I would have done the same choice
Title: Re: Tower Trouble
Post by: eXpl0it3r on January 10, 2013, 05:59:45 pm
I think the path is pre-defined and as you can't build on the way, such an algorithm would be time-waste unless there's a learning purpose.
Makes sense if you think about for longer than a second. ;D
Title: Re: Tower Trouble
Post by: Lo-X on January 10, 2013, 06:40:54 pm
I think the path is pre-defined and as you can't build on the way, such an algorithm would be time-waste unless there's a learning purpose.
Makes sense if you think about for longer than a second. ;D

This is also the lazy option, but I'm not supposed to say that :p
Title: Re: Tower Trouble
Post by: Sui on January 10, 2013, 06:54:55 pm
Makes sense if the enemies can't influence the map by destroying stuff.
Title: Re: Tower Trouble
Post by: Gan on January 10, 2013, 08:17:22 pm
That's way cool.
The stress test made me laugh.
Title: Re: Tower Trouble
Post by: N1ghtly on January 12, 2013, 09:21:04 pm
I uploaded another video!
I added gold and had a go at the menu :)