Thread Rating:
  • 6 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Improve character customization menus in the Preferences screen
#1
Well, a month ago or something I tried to mess with the character creator and it was a nightmare. I thought it would be more user friendly to use html dropdowns instead of a popup; hopefully this should make it less painless.

[Image: Uvn06Me.gif]

Video Demo: https://streamable.com/iojvq


Technical Notes:
- Each time a table has a value changed, it sends off a Topic call to byond with the choice selected so that it can generate the sprite. I'm not sure if this could be a problem because by scrolling through a ton fast you'd be sending a lot of calls.

- I have the javascript sleep for .5 seconds before it updates the image file. This is to give the Topic call and Byond enough time to update the sprite and send it back to to the byond browser cache.

https://github.com/goonstation/goonstation-2016/pull/90

EDIT: Stole debounce function to fix the numerous topic calls issue like wire suggested. Commit below:
https://github.com/goonstation/goonstati...36bc7b654b
Reply


Messages In This Thread
[Feature] Improve character customization menus in the Preferences screen - by kyle2143 - 11-16-2018, 12:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)