Skip to content

Commit 2dac72b

Browse files
author
MaximDude
committed
Version change to 1.0 for release
Updated readme Added test image for demo
1 parent ddb7530 commit 2dac72b

File tree

4 files changed

+61
-3
lines changed

4 files changed

+61
-3
lines changed

README.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
File renamed without changes.

cccp-bender-main.bmx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Import BRL.Pixmap
1111
Import BRL.PNGLoader
1212

1313
'Version
14-
Global appVersion:String = "0.1"
15-
Global appVersionDate:String = "17 Aug 2019"
14+
Global appVersion:String = "1.0"
15+
Global appVersionDate:String = "23 Aug 2019"
1616

1717
Rem
1818
------- FILE IO -------------------------------------------------------------------------------------------------------
@@ -100,7 +100,7 @@ Type TAppOutput
100100
Const UPPER_BONE:Int = 0
101101
Const LOWER_BONE:Int = 1
102102
'Graphic Assets
103-
Global logoImage:TImage = LoadImage("assets/logo-image.png",MASKEDIMAGE)
103+
Global logoImage:TImage = LoadImage("assets/logo-image",MASKEDIMAGE)
104104
Global sourceImage:TImage
105105
Global boneImage:TImage[BONES]
106106
'Output Settings

test-image.bmp

13.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)