LoveTS: RTS-styled movement demo

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
ninwa
Party member
Posts: 118
Joined: Tue Oct 12, 2010 1:21 am
Location: Metro Detroit
Contact:

LoveTS: RTS-styled movement demo

Post by ninwa »

Hey,

Another late night up programming for me. I tried my hand at implementing a couple of rudimentary RTS features and wanted to share it with anyone if anybody wants to use it. I am going to keep implementing things and see where it takes me.

Image

Controls:
  • Select Units - Left Click + Drag
  • Select single units - Left Click
  • Select Additional Units - Shift + Left Click + Drag
  • Select Additional Unit - Shift + Left Click
  • Perform Action - Right Click
  • Change selected formation - tab
  • Set action to attack = a
  • Set action to move = m
  • Set selected units to patrol = p
Currently attacking is not implemented.

Downloads: Let me know what you guys think,
Ninwa
User avatar
arquivista
No longer with us
Posts: 266
Joined: Tue Jul 06, 2010 8:39 am
Location: Insert Geolocation tag here
Contact:

Re: LoveTS: RTS-styled movement demo

Post by arquivista »

Congratz. Seems very well done and with a lot of features for one late night coding. Liked the formation option. About the patrol, movement seem's a bit too random and dummy for troops but for sure you will improve this. How about they patrol arround a selected zone?
The only bug seems to be that the big tile (7) don't move. Or it's not suppose to move and you still have to disable "move" status on same units?
Last edited by arquivista on Fri Oct 22, 2010 9:34 am, edited 1 time in total.
--------------------------------------------------------
To Do: Insert Signature Here
--------------------------------------------------------
User avatar
bartoleo
Party member
Posts: 118
Joined: Wed Jul 14, 2010 10:57 am
Location: Savigliano

Re: LoveTS: RTS-styled movement demo

Post by bartoleo »

nice,
formation
and selection
even patrol
Bartoleo
User avatar
ninwa
Party member
Posts: 118
Joined: Tue Oct 12, 2010 1:21 am
Location: Metro Detroit
Contact:

Re: LoveTS: RTS-styled movement demo

Post by ninwa »

arquivista wrote:Congratz. Seems very well done and with a lot of features for one late night coding. Liked the formation option. About the patrol, movement seem's a bit too random and dummy for troops but for sure you will improve this. How about they patrol arround a selected zone?
The only bug seems to be that the big tile (7) don't move. Or it's not suppose to move and you still have to disable "move" status on same units?
It's not immediately obvious unless you look at the code, but that's a structure (which is why its speed is 0) :o) It is treated like a unit for the time being, which is why its action can be changed to moving, but that will be fixed :]
User avatar
arquivista
No longer with us
Posts: 266
Joined: Tue Jul 06, 2010 8:39 am
Location: Insert Geolocation tag here
Contact:

Re: LoveTS: RTS-styled movement demo

Post by arquivista »

ninwa wrote: It's not immediately obvious unless you look at the code, but that's a structure (which is why its speed is 0) :o) It is treated like a unit for the time being, which is why its action can be changed to moving, but that will be fixed :]
Lol, only after check now the code I know that is supposed after all to be a barrack. For the size and since movement indicator was on I thought was a kind of tank unit! :D
It could be a good ideia one of your next steps put on screen the name of selected units. Because graphically they seem could be anything (and also be different units with same size)!
--------------------------------------------------------
To Do: Insert Signature Here
--------------------------------------------------------
Gnx
Prole
Posts: 40
Joined: Sun Nov 09, 2008 6:38 am

Re: LoveTS: RTS-styled movement demo

Post by Gnx »

This is cool, maybe I'll do a rectangle-based c&c next ;)
User avatar
Motig
Prole
Posts: 28
Joined: Fri Oct 15, 2010 3:43 am

Re: LoveTS: RTS-styled movement demo

Post by Motig »

This is cool, I've been thinking about trying to create something like this too!

Looking forward to where you'll take it :)
User avatar
arquivista
No longer with us
Posts: 266
Joined: Tue Jul 06, 2010 8:39 am
Location: Insert Geolocation tag here
Contact:

Re: LoveTS: RTS-styled movement demo

Post by arquivista »

Gnx wrote:This is cool, ...
Motig wrote:This is cool, ...
Echo, echo, but you both right I also think this engine is cool... :)
--------------------------------------------------------
To Do: Insert Signature Here
--------------------------------------------------------
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests