Turn based support

Turn based support

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
Lulu
Posts: 1
Joined: 27 Sep 2017, 06:55

Turn based support

Post by Lulu » 27 Sep 2017, 07:05

Hello Everyone,
I want to start a new game Project, however I need to know whether spring supports Turn based Strategy.
Would that be possible to implement, via scripting?
Has anyone tried something like that yet, or is there a project who implemented tbs already?

Some friend would recreate handdrawn tiles etc. the only problem is, whether tbs could be implemented, and maps could be seperated into grids, for movement.

Greetings, Louis
0 x

User avatar
Silentwings
Moderator
Posts: 3433
Joined: 25 Oct 2008, 00:23

Re: Turn based support

Post by Silentwings » 27 Sep 2017, 08:23

It could be implemented with enough lua but its not exactly a natural thing to do with an RTS engine. (There is no native support for turn-based play due to the "RT" part, and Springs pathfinder will not restrict to a rectangular grid of chosen size.)
0 x

dansan
Server Owner & Developer
Posts: 1156
Joined: 29 May 2010, 23:40

Re: Turn based support

Post by dansan » 27 Sep 2017, 09:40

I played a "paper scissors rock" game on the SpringRTS engine once... long ago... maybe someone still has an archive.
The pathfinder could probably be managed with an invisible fence opening an closing (like a gate) on the edges of grid peaces.
0 x

gajop
Moderator
Posts: 2972
Joined: 05 Aug 2009, 20:42

Re: Turn based support

Post by gajop » 27 Sep 2017, 10:08

You would need to implement some concepts, but it shouldn't be too hard.
0 x

User avatar
ThinkSome
Posts: 217
Joined: 14 Jun 2015, 13:36

Re: Turn based support

Post by ThinkSome » 27 Sep 2017, 12:13

Have you looked at Wesnoth? They have a turn-based engine and tiles.
0 x

hokomoko
Spring Developer
Posts: 530
Joined: 02 Jun 2014, 00:46

Re: Turn based support

Post by hokomoko » 27 Sep 2017, 13:15

I wouldn't recommend using spring for that.
While it's possible, it will require all the work that it would on a different platform, plus work to suppress spring's real time features.
0 x

Google_Frog
Moderator
Posts: 2404
Joined: 12 Oct 2007, 09:24

Re: Turn based support

Post by Google_Frog » 28 Sep 2017, 10:39

Spring has quite a few useful systems which are needed by a turn based strategy game. It is worth using Spring for the netcode, unit selection and command handling. You may even use the weapon/projectile aiming system for graphics purposes. If you wanted a more physicsy game you could even use Spring hitvolumes and projectile physics.

I think all the technical aspects of a turn base strategy game would be easy to implement in Spring. Suppressing the real time component of the engine is not all that hard, every unit would be under movectrl and they would not automatically fire. So I would say that Spring supports turn based strategy with a bit of scripting work. One thing though, Spring is a 3D engine that is built to show models running around on terrain. If you have 2D terrain tiles you are probably better off looking at a 2D engine.

The real question is whether it is easier to make a TBS in Spring than it is in some more general engine. The more general engines give you more flexibility and (surely) have better graphics/shader support but they leave the implementation of things such as a command system up to the user. Spring is less flexible than a fully general engine so you had better make sure you don't want any unsupported features before using it. Do you want torus maps? Cave systems?
1 x

Post Reply

Return to “Game Development”