RE-SS3D / SS3D

Space Station 3D, another remake of SS13, but with an extra D.
https://ss3d.space/
256 stars 137 forks source link

Fast construction #1344

Closed iamteapot422 closed 11 months ago

iamteapot422 commented 11 months ago

Summary

Implement line (by dragging) and square (by alt+dragging) construction, rewrite ConstructinMenu script, make menu a little wider, increase scroll speed, move GridManager to ConstructionMenu. You can both drag construct and replace at the same time.

https://github.com/RE-SS3D/SS3D/assets/77565416/81b578a8-0dc3-487e-9dda-f90b1cae8e18

PR checklist

Networking checklist

Related issues/PRs

closes #1056

Known issues:

stilnat commented 11 months ago

fps drop is not that strong imo, doesn't have to be solved in this PR, but need an issue.

"Construction doesn't check if object can rotate to the target direction. To solve this issue, it's necessary to implement a list of possible rotations in ICustomGhostRotation." can you provide an example, I don't get it.

" network objects disable themselves after few frames after instatiating for some reason." how can I reproduce that ?

iamteapot422 commented 11 months ago

@nsarrazin

  1. The interface has method NextRotation (or smth). And realisations use some kind of allowed rotations, right? Like plenum tiles can only face north, so the list contains only one direction
  2. Comment ActivateGhosts(); string
cosmiccoincidence commented 11 months ago

@nsarrazin

  1. The interface has method NextRotation (or smth). And realisations use some kind of allowed rotations, right? Like plenum tiles can only face north, so the list contains only one direction
  2. Comment ActivateGhosts(); string

You pinged the wrong lad. Lol.