• Register

Top-down space simulator with survival elements about miner named Bob. He's last person in the galaxy and he's trying to survive. Alpha version presents just base of game. It has no interesting gameplay and enough content. Oh, yeah, that's my first game, so i really need your feedback :3

Report RSS Stations

Stations, docking-system and trading. Part 1: Stations and docking with them.

Posted by on

At all, i found time to code.
Next step in my plan was stations. I divide them for two parts:
Part 1 - Station sprite, docking arm and docking mechanics.
Part 2 - Trading with station and Trade Screen for that.

This is Part 1.
Stations and docking with them.


Stations Test

My first station has 4 docking arms and they can move separately.
When you're approaching to station on 100m(test value) or less, station is choosing random docking arm and open it.
Docking arm has lights near its name on station sprite. Lights will show state of docking arm for player. It has three states:
Red - Closed
Yellow - Moving
Green - Ready to dock
When lights are green, you can dock to station with your ship. If ship are docked, ship can't moving and its engines will be offline.

Also new string was added to Cargo Screen. New string is showing dock-state of your ship:
Red string "NOT DOCK" mean that your ship isn't docked and can't be docked now.
Yellow string "DOCK {Short Station Name}" mean that your ship isn't docked, but can be docked to station {Short Station Name} now.
Green string "DOCK {Short Station Name}" mean that your ship is docked to station {Short Station Name}.

This video show you how its look like ingame:

Post a comment

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