Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 12/02/2005 05:02:44

Title: Character choice capable?
Post by: on Sat 12/02/2005 05:02:44
OK, I REALLY hope I'm not asking some repetitive thing, but I'm short on how much I'm allowed to look about these things. But is there some way to have something at the start of a new game to let you choose from a set of characters to play as in a game? I really need to figure this one ASAP so I don't sit here making sprites for 5 different 'playable' folks when you can pnly ever play as 1.
Title: Re: Character choice capable?
Post by: Darcness on Sat 12/02/2005 05:15:05
I know for a fact that it is possible to be able to play different characters in an AGS game. Just don't ask me how, since I've never actually gotten into that part of scripting. Perhaps scorpiorus or one of the other scripting gurus can help you with some examples to script this.
But for now, create your sprites for the other characters, because it is possible to use different characters in AGS adventures.
Title: Re: Character choice capable?
Post by: Ozwalled on Sat 12/02/2005 05:26:41
Again, it is possible (there are a number of times it's been done), but I'm not altogether sure how. Seems to me that there's information out there to help you, though.

One thing to consider, though is whether or not each of these five different characters will all react to things differently in the game, or whether the differences in gameplay lie merly in the different player character sprites. It's an awful lot more work to do the former than the latter.
Title: Re: Character choice capable?
Post by: on Sat 12/02/2005 05:56:39
^Actually it's MOSTLY alike. What I'm trying to do is set it so different players have different attributes (health, how likely to get attacked, etc.) and such. Plus, you know the thing in RPGs where you gradually increase your health and stuff with experience? Yeah, I wat to throw something of that nature in too.  ;)
Title: Re: Character choice capable?
Post by: Darcness on Sat 12/02/2005 06:08:42
For the RPG parts, take a look at http://www.geocities.com/akk13us/rpg-tuto.htm , as well as the first topic in this Beginner's Technical Forum http://www.adventuregamestudio.co.uk/yabb/index.php?topic=13649.0
Title: Re: Character choice capable?
Post by: Goot on Sat 12/02/2005 19:35:25
For the health and stuff you can just use a bunch of integers. If you want to change the character that the player controls, use:
SetPlayerCharacter(CHARID);
Title: Re: Character choice capable?
Post by: TerranRich on Mon 14/02/2005 01:27:55
Did any of you read http://bfaq.terran-x.com/#graphics20 by any chance?