AGS Support > Beginners' Technical Questions

SSH's Walkcycle generator v1.10

(1/20) > >>

SSH:
SSH's Walkcycle generator
Makes walkcycles easy... and can be used as a Paint program too.

Now loading walkcycle details from an XML file that you can edit yourself

Download Walkcycle generator here
Download Princess Marian's body parts and XML here!

For the unsupported broken hi-res version, see further down the thread

Please comment and make suggestions for improvements!

Screenshots

Examples that somehow got their heads chopped off... :(


VERSION HISTORY:
v1.01 bug fixes
v1.02 with Undo and a small palette of colours
v1.03 tooltips and bug fixes
v1.04 fixed DeepHitz's problem
v1.05 fixed AJA and pslim's bugs and a few others I found in the process ;)
v1.10 added XML import and provided Right and Front walkcycle XMLs

INSTRUCTIONS

Animation

The program starts with an walkcycle animation running. You can turn on the "skeleton" of the walkcycle by clicking on the button under the animation with the white figure on it. You can also toggle the sprites by clicking on the button beside it. The buttons next to those are Play/pause and Single-step. These allow you to stop and start the animation, or look at individual frames.

You can save the whole animation as a series of bitmaps by clicking the "Save Walkcycle" button which is down in the bottom-right of the screen. You can change the animation speed by opening Animation properties: just click on the animation. On the dialog that opens, you can enter a frame delay for the animation. You can also choose an image to be used as the background of the animation display, or with the properties open, move the RGB sliders in the bottom-left of the screen to adjust the BG colour. Here you can also load a new XML file from disk. The default XML file loaded at startup is called WCGen.xml.

Bone Select/Info

In the top-middle of the screen, you can select a "Bone" of the skeleton. The information on the bone appears to the right. The bone length is the size of the skeleton bone. Width and height describe the sprite, which you can see too. If you click on the sprite you can edit it in the bottom half of the screen (more later). The sprite is drawn in the animation centred on the bone, but you can also change the X and Y offsets in the info pane.

Sprite Editor

You can edit sprites here that you have loaded in from the Bone Info or from a file. Once edited, sprites can be saved or applied to the currently selected Bone. Note that with all sprites in the editor and loading from disk that AGS Runtime treats pure magenta (R=255, G=0, B=255) as transparent, so paint any areas that you want to to be transparent with this colour. AGS Runtime can also only handle BMP and PCX file formats.

The tools available are a brush (select circular or square, and the size in the GUI above the Paint tools); Dropper (click to pick up colour from image); Flood Fill; Line; Select; Cut; Copy; Paste; Colour Replace. Note that with all operations, dragging doesn't really work: e.g. select an area by clicking and then clicking again, rather than dragging.

NB: The undo button only undoes Paint operations.

XML

TO BE CONTINUED...  ;)

Mods:
Cool! It looks nifty, nice work SSH. I tried it but didn't know what the heck I was doing.

I imagine a lot of people will find it very useful. Perhaps you could include a readme or tutorial or something?

:)

magintz:
Wow, this sounds interesting, not sure how it is goign to work.

Taking a look now, will report back ASAP

EDIT: Wow this is awesome, it took a moment to work it out but it seems great. For people who are interested:

Draw all the individual body parts using the current images so you know basic sizes and shapes. Load the images into the application. The apply each one to the bone structure under the different areas. Then just click the "save walkcycle"... nice and simple!

Candle:
Thats really cool SSH. can you do up and down cycles?

Kweepa:
Pretty cool!
I got a few crashes just clicking on buttons initially (eg when nothing assigned, or trying to resize a non-image), but I sort of see how it works now. Awesome!
The walkcycle itself could do with some tweaking - the feet stretch forward too far.
Trying to change the cycle offset also is odd - it keeps changing the number I type in.

[EDIT]
Another crash pressing the paste button without copying first (I guess).

---------------------------
Adventure Game Studio
---------------------------
An internal error has occured. Please note down the following information.
If the problem persists, contact Chris Jones.
(ACI version 2.72.913)

Error: run_text_script1: error -6 running function 'goToolPaste_Click':
Error: Null pointer referenced
in Paint (line 191)
from Global script (line 547)

Navigation

[0] Message Index

[#] Next page

Go to full version