Here's one for you:
Is it possible to change only a part of a character's sprite, for example, change only the arms and torso to make it look like it has changed sweaters in-game?
Here's another one for you:
Can you load in-game sprites from files?
Here's an answer for you:
No. You need to make a whole other view for the character in each outfit. You could possibly use FollowCharacter (http://www.adventuregamestudio.co.uk/manual/Character.FollowCharacter.htm), and the follow_exactly parameter - basically having a different character for each item of the costume you might want to change and displaying them over the character - but that method's not without it's problems (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=26644.0) (and can obviously use a lot of characters/views). A forum search should turn up more details.
Here's another:
DynamicSprite.CreateFromFile (http://www.adventuregamestudio.co.uk/manual/DynamicSprite.CreateFromFile.htm). Is that any use? If so - you should really read the manual before posting. If not, can you give us a few more details about what (and why) you want.
Ok, I'll read the manual.
But, i'll still post here, just in case it turns up more.
What i want to do is this: Let's say you can select how a character looks, or you can load an image file containing a skin. So, that skin which is loaded (either from custom made files or from default files) are practically glued over the empty movement views of the character. So, if you have the default, american caucasian male, but you don't like him because he enslaved your people for about 200 years and then treated you like shite and kept you in the kitchen until the 1950s, so you want to load a custom defined view file: african-american female.
And, you want to clothe your character, so, from file, you'll load a sweater, a t-shirt, or whatever and you'd be able to change clothing color or the clothing all-together.
Do you get my drift?
What I'm looking for is CUSTOMIZABILITY (is that spelled right, 'cause I have trouble with Zs instead of Ss) and to simplify creation.
Or, I could just very damn well create two white views (a gal and a guy) and lose or offend a part of the people who considered downloading the piece of cra- oh, i'm getting worked up again. Sorry. Anyway, back on track: please help!
OK, I see now.
I don't think CreateFromFile allows transparancy, so that's probably not actually much use to you... Also, unless it's been added with one of the newer versions and I've just missed it, I'm not sure it's possible to change the sprite assigned to a view - so even if you did import a working sprite, you probably couldn't make the character use it in their View. I don't think there is a simple way to do this, to be honest - although I've not given it much thought, so I might be wrong.
You might have to go with the FollowCharacter method, and just have a couple of options for the base character (male, female, a couple of different skin tones, etc) and a few different clothing styles. You could even use the Character.Tint function to re-colour the clothing, so you don't need different view for Green shirt, Red shirt, White shirt, etc. (You could maybe do this with the base characters, too, but I'm not sure how well that'd work.)
If that seems like a lot of work, a simpler way would be to just make views for half a dozen different characters and just let the player pick from them - you loose a little customisability (can be S or Z, I think, depending on nationality) from the clothes, but it's a lot easier to code.
Oh, well, I guess it's back to the drawing board...
Thanks anyway for the input.
Oh, but here's yet another one for you:
Can I make bars that indicate the value of a variable?
For example, the variable "happiness" which ranges from 0 to 100 has the current value of 78, so the bar should be 78 pixels long.
How do I do that?