Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Very good! I enjoyed it very much. Love the variety of ships. A really RTS there. Would have loved the reparation mechanics too... but, what's you've achieved in just 10 days is awesome!

PS: I would really appreciate to know more about your units' movement: what algorithm did you use?

(+1)

Thanks! Repairing was soooo close to getting in, but alas it was too late, I barely managed to fit in the "tutorial text" ;-;


In regards to movement *deeeeep inhaaaale*

I have four states on ships (not moving, rotating, moving, slowing down), and whenever I want to move a ship I give it the x and y co-ords of where to go, and set the state to rotating.

Rotating - It tries to rotate towards the target point while moving at a slow speed, when the difference between the ships angle and angle it wants to be at is 0 it moves to the next state

Moving - It just speeds up to its "max speed"

Slowing - it checks the distance between itself and the target x y co-ords, and once it's a certain distance away it'll start slowing down, which can be kinda jenky.

Enemy and player ships all have the same movement, the difference is who or what is giving commands.

Hope that made a semblance of sense >o<

(+1)

Thank you for your explanations. So no flocking or something like that? I thought... Nicely done!