• Register

A modular spaceship game, build/design your ship while you play, explore, escort or help other ships, exterminate pirates and use the remaining modules as part of your ship or recycle them for parts for upgrades or repairs with more than 20 different module types, more than 10 different missions and many different environments that affect how you maneuver and survive, black holes, white holes and many other space anomalies, choose the power distribution of your ship between weapons, shields, thrusters, tractor beams, and many other modules. The game is physics driven so expect things to behave like in space, you just drift in space, mass of modules and many other factors affect how your ship fly and how fast it can accelerate. Many different weapons like energy weapons and kinetic weapons with limited ammo/missiles/torpedos, and only one life expect to have a though time trying to get to the end, get your command center destroyed and you are done.

Post news Report RSS Latests news 2013/10/18

Some small updates on Junkcraft Armada , steering in plain empty space

Posted by on

Hi all,

Been busy in the past few weeks implementing different algoritms to make the game faster and able to have bigger ships, so far I've seen many similar games to Junkcraft Armada using BOX2D or similar solutions while those solutions provide accurate physics the end result sometimes can be slow or not fast enough for very large number of ships with large number of modules, so a lot of magic has to be done to do the same with less to get an accurate representation of a space battle. In the next few weeks I will post the first video showcasing some of the features of the game, like space fight, escort missions and exploration.

One of the AI features that got me stuck for quite long time, was the AI aim function, it may sound trivial but actually is not, rotating ships in space while inertia affects your movement brings a lot of challenges accelerating in one direction will take the ship pointing closer to your target, but there are many more factors to thing about, like when to stop acceleration and accelerate in the opposite direction to stop the ship at the right angle to shoot your enemy while at the same time moving in any direction. Seems trivial but spent like 4 days trying to get a solution that delivers this without having ships that over steer in both directions over and over until they reach the desired angle. Doing the same with atmosphere with air resistance it is easier since the friction slows down your movement and the over steer is not that noticeable, but in space it looks very bad, other games I saw do have drag and resistance even in space but in Junkcraft Armada you will drift forever until some force stops your ship.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: