Commit graph Aetheria/Assets/Scripts/UI/InventoryPanel.cs
Author SHA1 Message Date
Reinier Vens
922c8ea460 Misc. Improvements
Turrets lead their projectiles
Double click to equip/unequip/move
Minimum weapon convergence distance
2021-01-27 16:14:41 +00:00
Reinier Vens
b779d7c0af Heat System v2 + Lasers
Heat system remade, now guaranteed stable
Schematic heat texture is now
Radiators glow according to temperature
Added Laser weapons
Longinus has split weapon and radiator meshes, weapons can yaw 1 degree for target convergence
Articulation points can now handle 360 rotations properly
Fixed exception caused by hit spread on thin hull sections
Fixed loadout not restoring item rotation
Fixed exception in inventory panel selection
2021-01-27 00:05:30 +00:00
Reinier Vens
48abee4847 Cash Money
Player credits now tracked by game manager
Buying items subtracts credits
Right clicking on trade menu items allows player to buy multiple
Inventory panel dropdown now allows instantiating saved loadouts
2021-01-19 01:22:56 +00:00
Reinier Vens
b4432b7aca Saving Loadouts
Added entity save option to the inventory panel dropdown
2021-01-18 02:35:56 +00:00
Reinier Vens
ebec68e7f0 Heat Pipes
Thermal Layer Removed
Items can be destroyed from inventory menu via drag & drop
Trade menu contains only priced items
Trade menu has filters for commodities
Conductivity can be adjusted along schematic edges
Thermals rebalanced
2021-01-17 02:45:52 +00:00
Reinier Vens
f4ee26e96c Trade Menu
Implemented Trade Menu
Item Filtering by size, hardpoint, behavior
Buying from trade menu on double click
2021-01-14 23:47:08 +00:00
Reinier Vens
e3de7158fd Entity Destruction
Added multiple turret enemies
Added ability to destroy enemies
Fixed bug where player could target themselves
Fixed bug where targeting new enemy freezes schematic hit animation
Fixed bug where target lock progress could persist when targeting new enemy
2021-01-12 00:54:29 +00:00
Reinier Vens
20e9f89228 Target Schematic & Various Improvements
Targeting an enemy now shows their schematic
Added Longinus Hull
Fixed projectile overpenetration
Fixed projectiles colliding with minimap icons
Added Schematic hit flashing
Thruster torque multiplier
Thruster torque threshold
2021-01-11 02:56:37 +00:00
Reinier Vens
fddd485262 Hellfire
Targeting
Target locking
Crosshairs
Improved HUD schematic feedback
Equipment Heat Damage
Equipment Disabling
2021-01-10 03:59:47 +00:00
Reinier Vens
871c978301 Hit Detection 2021-01-08 12:44:10 +00:00
Reinier Vens
ef816cc7e0 Murder Satellites
Created TurretController, which performs basic combat for fixed orbital installations
Projectiles self-destruct at maximum range
Created turret prefab
Outfitted turret in game manager
Entity position is now 3D
Entities responsible for updating their own position and orientation
Barrel positions and orientations available from entity code
Inventory code will display modal dialog for invalid item moves instead of breaking
Yaw articulation working (full 360 rotation still borked)
2021-01-06 14:56:39 +00:00
Reinier Vens
6db7c65961 Energy & Heat
Energy Generation (Reactor behavior)
Heat Conduction / Radiation
Temperature Display
In-game ship schematic
Better asteroid distribution
2020-12-27 22:18:22 +00:00
Reinier Vens
c4be204cd0 First Flight
Added MPL license headers
SectorRenderer renders entities in sector, manages particle systems for ship thrusters
Thrusters apply torque based on orientation and position relative to ship center of mass
GameManager controls the player ship's thrusters
Player can dock with station if they are near
2020-12-22 03:13:43 +00:00
Reinier Vens
e3f3bd5de5 Drag & Drop Inventory
Implemented the ability to drag items within and between inventories, including equipping them onto entity hardpoints
2020-12-20 03:04:52 +00:00
Reinier Vens
2d9bec0e33 Docking System
Entities now have dedicated docking bays with their own cargo area for loading/unloading
Inventory panel allows display of any ship or cargo bay at the currently docked station or within the current ship if undocked
2020-12-19 02:37:13 +00:00
Reinier Vens
615cc4e936 Finished Map Tab 2020-12-18 13:48:03 +00:00
Reinier Vens
4f19189244 Menu Screen + UI Restyle
Created menu screen
Created inventory tab with 2 cargo panes and properties panel
Updated the style of every UI prefab
Implemented Blurred UI material
Implemented UI shaders for map layers
Created Map tab (still needs input)
2020-12-14 02:56:35 +00:00
Reinier Vens
ac0361fd9b Clean Inventory Grids
Improved inventory grid layout system by creating a single spritesheet with all 256 possible combinations of cell adjacency, and modified the inventory script to index individual sprites using adjacency
2020-12-12 20:43:09 +00:00
Reinier Vens
02e85cb0e2 In-game Inventory UI
Created InventoryPanel script which populates a grid with sprites representing the layout of an entity's hull
2020-12-12 03:42:58 +00:00