This project was made as a demo for some space-related ideas, possibly going to be implemented in a game later. Instructions: Arrow keys or WASD to move the player. To pass through the catwalks, you have to press the Down arrow or S to pass through them. To move the levers and controls, use your mouse to drag the icon along the paths shown. Use the number keys (1-5) to switch between toolbar slots. To unequip currently equipped item, press the number of the toolbar slot that is currently selected. When in the Inventory, you can hover over an item in the inventory with your mouse and press the number keys 1-5 to bind an item to a corresponding slot, so you can change what items are in which slots. To use the grappling hook, select it, and press G to throw or retract it, and press and hold N to pull yourself towards it. The lever in the bottom left corner of the ship is the artificial gravity control. It's pretty simple, you'll figure it out. The purple circle in the upper right corner of the ship is the fuel meter. The ship's fuel goes down when you drive the ship. Door controls: Click the control panel in the airlock to open or close the Airlock GUI. Click the buttons and click and drag the lever to open and close doors or pressurize/depressurize the airlock. The airlock can only be pressurized and depressurized when both the inner and outer doors are closed. The inner door can only be opened when the airlock is pressurized, and the outer door can only be opened when the airlock is depressurized. Ship controls(the thing that looks like a car's gearshift[I made it that way on purpose]): Up: Forward Down: backward Middle(the starting position): Neutral, ship has momentum and friction when you do this. Right-Down: Brake(Stops the ship) Left-Down: Park(Stops the ship, might add something else in the near future) Left-Up: Not implemented yet, most likely going to be either turning or something else. Right-Up: Not implemented yet, most likely the same function as Left-Up but in the other direction. The functions that make the ship go forward and backward aren't always the same speed. The further in one direction you push the lever, the more effect that has. For example, pushing the lever all the way up makes the ship accelerate faster than if you pushed it some of the way up. Hyperspeed: makes the ship go very fast, but also uses up more fuel. The oxygen bar is that blue bar in the top right corner. It decreases when you're outside the ship, and it refills when you're inside the ship with the door closed. If it reaches zero, you die, so be careful! I am working on an inventory system. You can open and close your inventory by pressing \. (Note that I have not added items in yet, as I have not created the system for item data conversion yet.)
You can use Turbowarp to fix some of the glitches and to help it run smoother. Idea for the fuel tank, inspiration for the game- Far: Lone Sails Physics engine- PullJosh (I adapted this for zero-gravity, however) Art and coding for the controls and stuff- me Coding for the ship: also me Note: The moving background doesn't quite work right at first, but it fixes itself when you go out of the ship and back in. Change Log: May 24, 2020: Trying to fix the issue with the moving background being able to scroll in and out conflicting with the background being able to move with the ship.(once the scrolling in and out is activated, the moving background doesn't move with the ship) May 31, 2021: Attempting to create an inventory system. It's a work in progress. Also, added a grappling hook, which should only be used outside the ship. August 2, 2021: Reworked the airlock controls. The airlock controls are now in the form of a GUI that can be opened and closed by clicking on the control panel inside the airlock. (Note: You may find that you will clip through objects obscured by the GUI. I plan to fix this in future.) August 3, 2021: Planning rework for the ship controls, planning improvements for the inventory and hotbar. June 22, 2022: Attempted to fix the aforementioned glitch of the grapple not working correctly. I also included several features, like a better-working inventory, more randomized stars, and a 'distance traveled' meter. June 23, 2022: Attempted to fix the glitch of clipping through the ship with the grapple, should be better now. I plan to hopefully improve the ship controls to make them more intuitive in future.