Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devsarim authored Nov 30, 2023
1 parent 41aadb9 commit 9bc3cf5
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# quickfix-roblox-plugin
# QuickFix

A plugin for streamlining asset optimization.
Optimization is key when creating games for large audiences. This plugin assists you in swiftly toggling properties such as CanCollide, CanQuery, CanTouch, Anchored, CastShadow, CollisionFidelity, and Material on or off for any number of objects.

This plugin uses Roact for UI. The interface is divided into the following components:

- [App](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Plugin.server.lua#L16)
- [SelectedObjects](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/SelectedObject.lua)
- [Actions](https://github.com/devsarim/quickfix-roblox-plugin/tree/main/src/Actions)
- [DualAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/DualAction.lua)
- [AnchoredAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/AnchoredAction.lua)
- [CanCollideAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/CanCollideAction.lua)
- [CanQueryAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/CanQueryAction.lua)
- [CanTouchAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/CanTouchAction.lua)
- [CastShadowAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/CastShadowAction.lua)

- [SingleAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/SingleAction.lua)
- [SelectMeshPartsAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/SelectMeshPartsAction.lua)
- [SelectPartsAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/SelectPartsAction.lua)
- [SmoothPlasticAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/SmoothPlasticAction.lua)

There is one helper module called [GetAffectedObjects](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/GetAffectedObjects.lua). This is simply a function with the following signature:
```lua
(predicate: (object: Instance) -> boolean) -> {Instance}
```
It is used by [SingleAction](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/SingleAction.lua#L25) and DualAction ([here](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/DualAction.lua#L30) and [here](https://github.com/devsarim/quickfix-roblox-plugin/blob/main/src/Actions/DualAction.lua#L57)).

Feel free to extend the plugin to fit your needs, or just as a learning experience. ❤️

0 comments on commit 9bc3cf5

Please sign in to comment.