Posted By
|
Message
|
kjarom
Registered 08/06/2004
Points 805
|
11th June, 2004 at 07:00:20 -
Hey again, I was making a Smash Bros. PC game (yeah, I've been working on it for about a month now) and I wanted to know, what would be the most effective way to make it so that when you and one other person pick a character at the select screen, the characters can damage each other sufficiently? I was just thinking making every possible character 1 player be "Player1" and vice versa with player 2....is there any other way?
You now rockin wit a pro
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
11th June, 2004 at 08:26:02 -
Well I think you should have two invisible objects that are labeled "Player 1" and "Player 2" respectivly. Then place your 'skins' over the top of these objects. The skin would just be the differant characters. As for damage and that, when you select a player set a counter or value somewhere (global) to the attack stregnth of player one. So when you attack you use that counter's value and take that off the other player. eg:
Player 1 attacked played 2 - player 2.health = player 2.health - player1.attackSTR
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
ChrisB Crazy?
Registered 16/08/2002
Points 5457
|
11th June, 2004 at 09:22:30 -
Or (easier) you don't use MMF's own movements and use the Platform Object instead (for custom control). You would give all players the same qualifier, store the player who's controlling it in an alterable value and compare to that alterable value if you want to pick a specific player.
n/a
|
kjarom
Registered 08/06/2004
Points 805
|
11th June, 2004 at 19:30:18 -
allright ill try that. thanks!
You now rockin wit a pro
|
|
|