Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Character select (http://www.alice.org/community/showthread.php?t=4562)

DensetsuNoKaboom 06-08-2010 06:58 PM

Character select
 
I was trying to make a character select for [url=http://alice.org/community/showthread.php?t=4433]this game[/url]. This would not only enable choosing whether Mana or Alice is your character, but it would also be a major step towards having multiple playable characters. The problem? I can't do it. I tried making exact copies of all of Alice's methods with copies of the character and rabbit replacing the originals and makng it so that when the game starts it asks you if you want to be Mana or Alice, but I tested it and an unknown error occured. (Darn these unknown errors...) Can someone help?

Dameria 06-08-2010 07:41 PM

Just add a world object variable called "character" and in the beginning of the world, depending on which person you choose, set the character variable to that person. Then, for every place where you do an action with that character, instead of using a specific object like Mana, instead drag the world variable "character" inside there and it will control whatever object that you selected for the character.

Tell me if it works or if you need an example.

x2495iiii 06-08-2010 09:54 PM

For animations, don't use poses (they're object specific, so you'd need an if/else if nest thingy to get it right), instead use subpart movement methods which use the partnamed function.

DensetsuNoKaboom 06-19-2010 06:21 PM

[n00bymoment]Yayz, I has finally made [URL="http://www.alice.org/community/showthread.php?p=22408#post22408"]the character selection[/URL]! ^_^ Thank you gaiz :DDDD[/n00bymoment]

zonedabone 06-19-2010 06:44 PM

great!

˙ooʇ 'uʍop ǝpısdn ǝʇıɹʍ uɐɔ ı 'ʎɐʍ ǝɥʇ ʎq


All times are GMT -5. The time now is 04:08 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.