Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
avatar selection
Old
burtda11
Junior Member
 
Status: Offline
Posts: 1
Join Date: Jul 2011
Default avatar selection - 07-06-2011, 12:17 AM

I want to be able to have 2 avatars in the game, boy and girl and the player picks either boy or girl to play. So once the player picks one they should be able to move the character around etc and the other avatar becomes disabled.

Any ideas on how to do this? Thanks.
   
Reply With Quote
Old
ElectricKirby
Senior Member
 
ElectricKirby's Avatar
 
Status: Offline
Posts: 164
Join Date: May 2011
Location: Dreamland, Planet Popstar
Default 07-06-2011, 12:50 AM

Simple:
Have them both there, and move when told to, but have the one opposite the one the player picked not showing.

Complicated: Make a world level Boolean variable. When an avatar is selected, make the other one invisible. Have every method you do that involves the avatar have an If/Else. If the Boolean is True, have one avatar move, while if it's false, have the other move.


My Favorite Resources:
Uploading Images - http://tinypic.com/

File Sharing - http://www.4shared.com/

Textures - http://www.filterforge.com/

Convertible Game-Ripped Models - http://models-resource.com/

Music - http://www.brawlcustommusic.com/gamelist
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 07-06-2011, 10:35 AM

I agree with E-kirby.
I doing something like this for weapons on an RPG game.


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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