494 Commits over 730 Days - 0.03cph!
Started adding Simple Terry
Automatically set the texture resolution based on map size to keep it uniform. This will be antialiased eventually.
Set a larger default fog size if no flowfield_ground entities are present
Default pathfinder grid size is larger if no flowfield_ground entities are present
Remove fog_bounds and automatically determine the size from flowfield_ground where possible
Fixed building placement on the grid. Fixed unit spawning around buildings to support new navigation.
Tidied up a bunch of stuff and added a flowfield_ground Hammer entity. The flow field pathfinding will use these to determine what the ground is and automatically set height maps and grid bounds.
More performance optimizations for flow fields
Fixed some pathfinding issues with directions and temporarily draw debug collisions on map start
Experimental flow field pathfinding
Kind of got flow field generation down to a minor stutter...
Struct test - slower (50%)
Much faster
Chunked Flow Field with "portal" connections coming soon(TM)
Backup
So close to having working flow field that's reasonably fast, except sometimes units get stuck alternating between nodes
Various improvements and optimizations but units still get stuck between portals
Backup
WIP
Fully functional flow field pathfinding with chunks / HPA*
Removed debug line and set hard map limit of 30k x 30k
The flow field pathfinding is now better and units can correctly approach buildings again. The flow field will update automatically when new buildings are created.
Merge branch 'flowfields'
The flow field pathfinding is now better and units can correctly approach buildings again. The flow field will update automatically when new buildings are created.
Removed debug line and set hard map limit of 30k x 30k
Fully functional flow field pathfinding with chunks / HPA*
Various improvements and optimizations but units still get stuck between portals
So close to having working flow field that's reasonably fast, except sometimes units get stuck alternating between nodes
Chunked Flow Field with "portal" connections coming soon(TM)
Struct test - slower (50%)
Kind of got flow field generation down to a minor stutter...
Experimental flow field pathfinding
Found a perspective angle that I'm happy with. Decals don't render in orthographic (yet).
Added a system to create impact effects and damage decals on units when attacked
Fixed fog not updating when units die. Increased turret fire rate and damage. Temporarily fixed flesh impacts until a proper fix is implemented. Added turret recoil. Unit entities will ragdoll on the client and then fade out over time after being killed.
Improved fog for starting visibility and API
Merge branch 'master' of sbox-rts
Updated SelectedItem panel to support new mouse events on panels
Merge branch 'master' of sbox-rts
Add game config to RTS and made it much easier to switch between camera modes by code
Improved chat box location
Refactored a little and added Toast system from Pool
Added placeholder feedback sounds
Reset Occupant List for Unit entities
Added an occupancy system where some buildings can occupy units
Return to only attacking enemies again
Improved Turret behavior by using an animation graph
Started working on experimental support for buildings to have weapons and added a Turret stub
Temporarily workers will just spin around when constructing stuff for a laugh
Updated some colors for the tooltip to be more visibile
Added placeholder icons for all resources, technologies, buildings and units that exist currently and updated UI to be a little cleaner
Added support for pixel-snap to the ItemTooltip and EntityHudAnchor
Added a population system with UI display (added to tooltips too) and cleaned up some styles, added a stub for the Research Lab
Playing around with an Orthographic camera
Merge branch 'master' of sbox-rts
Remove BuildCamera near/far tests
Fixed unit targets being cleared when they are no longer selected
Very much improved the camera control / system
Only show fog when active / in a game and you're not a spectator. Changed camera angles to isometric-ish and have a wider view angle and predicted zoom level.
Merge branch 'master' of sbox-rts
Cache the item getter for entities. Added a starting position and LoS for the seen history for each player. Added visible bounds entity and more thorough bounds checking against world.