Thread Rating:
  • 5 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Rotate spessman sprite displayed in character setup
#1
In response to this thread: https://forum.ss13.co/showthread.php?tid=10695

Not much to it really:
- Adds a var that holds the direction (N,S,E,W) that the spessman is facing. 
- Added new var to the various icons before they are blended into the final sprite so they will pick the correct direction
- Click buttons for clockwise/counterclockwise rotation. The rotation is handled by a proc that is just a switch statement dependent the current direction and rotation direction pressed (CW/CCW).

Video of how it works now: https://streamable.com/ndci3

https://github.com/goonstation/goonstati...s?expand=1
https://github.com/goonstation/goonstation-2016/pull/67
Reply


Messages In This Thread
[Feature] Rotate spessman sprite displayed in character setup - by kyle2143 - 06-25-2018, 09:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)