|
| 1 | +# Cortex Command Community Project Bender |
| 2 | + |
| 3 | +## About |
| 4 | + |
| 5 | +The purpose of this tool is to make the life of modders easier by automagically generating bent limb sprites from limb parts. |
| 6 | + |
| 7 | +The CC Bender was originally created by Arne Jansson ([**AndroidArts**](https://twitter.com/AndroidArts)), the man behind all the Cortex Command artwork. |
| 8 | + |
| 9 | +The CCCommunityProject Bender, however, is a brand new tool that allows more control and convenience for the modder (hopefully). |
| 10 | + |
| 11 | +Arne's original bend code was used as base and has been modified and improved to enable new features. |
| 12 | + |
| 13 | +**Do note that the generated output from this tool is not ideal and will most likely require some manual touching up for best results.** |
| 14 | + |
| 15 | +### Features |
| 16 | + |
| 17 | +- GUI |
| 18 | +- Loading/saving files. |
| 19 | +- Adjusting joint position. |
| 20 | +- Zoom setting for easy joint adjustment. |
| 21 | +- Frames number output setting. |
| 22 | +- Background color setting. |
| 23 | +- Automatic setting of background color to magenta on save. |
| 24 | + |
| 25 | +## How To |
| 26 | + |
| 27 | +1. Create an input file using the provided template. |
| 28 | +2. Load your file in the app. |
| 29 | +3. Bent limbs will auto generate with default settings. |
| 30 | +4. Adjust joint positions by clicking on the upper joint marker and dragging it around. |
| 31 | + - Use **Zoom** setting to enlarge the input image for easier joint adjustment |
| 32 | + - **Warning:** When zooming the joint markers will reset to original positions. First zoom, then adjust. |
| 33 | +5. Use **Frames** setting to set number of bend frames. |
| 34 | + - Bend angle will adjust automatically. First/Last frames will always be fully bent/unbent. |
| 35 | +6. Hit save |
| 36 | + - Background color will automatically be set to magenta (255,0,255) when save is clicked and will revert back to previous color when finished. |
| 37 | +7. Slice the saved image into frames and apply palette. |
| 38 | + - Manually touch-up the exported frames if needed. |
| 39 | + |
| 40 | +## Current issues |
| 41 | + |
| 42 | +- Joint adjustment is only on Y axis and adjusts upper/lower marker equally. |
| 43 | +- Works only with input files that are 24x24px tiled (for each limb part. Max input image size is 192x24px for 8 limb parts (4 limbs)). |
| 44 | +- Does not save files in .bmp format. |
| 45 | +- Editor window and output window are separate. |
| 46 | + |
| 47 | +## Credits |
| 48 | + |
| 49 | +Created by MaximDude using BlitzMax 0.105.3.35 and MaxIDE 1.52 |
| 50 | + |
| 51 | +Bender logo image by Arne Jansson - Edited by MaximDude |
| 52 | + |
| 53 | +## Building |
| 54 | + |
| 55 | +Buildable with BlitzMax 0.105.3.35 using MaxIDE 1.52 |
| 56 | + |
| 57 | +[BlitzMax.org](https://blitzmax.org) |
| 58 | + |
0 commit comments