more than one playable character

Started by remmies, Tue 06/07/2004 14:53:40

Previous topic - Next topic

remmies

 :P does neone know how i can make it in a game so that u r allowed to choose between different characters to play as such as a girl or a boy

SilverWizard_OTF

You should be more specific. What kind of game is it? Will the game be different, according character's selection? Anyway, if it is just the character that changes, then:

First create these two characters
Then you should need the script function SetPlayerCharacter. According player's selection,  you will define who will be the Player Character.

For example: Let's say that Boy's script name is BOY and girl's is GIRL

Then when the player chooses the girl, then run script:
                                                                        SetPlayerCharacter (GIRL);
"All we have to decide is what to do, with the time that is given to us"

remmies

 ;Dok that helps a bunch but now that u mention it how wood i make i so that the different character has aq different story

Proskrito

you can make decissions by checking who is the player character:

if (GetPlayerCharacter()==BOY) {
do something;
}
else { // if its the girl
do other things
}

TerranRich

Status: Trying to come up with some ideas...

SilverWizard_OTF

It is simple. Let's say that you have a screen, where the player must  choose between the two characters. When he chooses for example the girl, he would go to room 5. If he chooses the boy, he would go to room 6. By this way, you will have two games in one. From room 5 (which will be different  from 6) player will go for example to room 7). But if he has selected the boy, from room 6 he will next go for example to room 8 (which will be different from room 7).

You could use the same backgrounds, but different plot.
I mean, that at Boy's game, level 1 it can be same with Girl's level 1, but it can just have different riddles and facts that will take place in.

It looks a little complicated, and maybe it is. But if you want to add some variety to your game, you could try it. You can make these character to find themselves together at the last level, for example! Great idea, isn't it?
"All we have to decide is what to do, with the time that is given to us"

remmies

wow ok now i think i can do it thanx for all of your help i', in the process of making my first game which eventually i will post sum screens in the in production forum section

SilverWizard_OTF

And what's the name of your game? (I think that when you will finish it, i will download it!)
"All we have to decide is what to do, with the time that is given to us"

remmies

#8
right at the moment the test name is "doll" but it might change i'm trying to make it pretty cool thanx fur thinking about downloading

but hopefully i can get sum screens in the forum today so look up dolls int he in games production section if you wanna c

[size=+8](Please don't double-post. Thanks. :))[/size]

SilverWizard_OTF

Just one last hint: You can have these two character to play together at the same time.

To the script editor, on_key_press function, you can specify a key for the BOY and a key for the GIRL

When the player clicks the BOY key, he will playthe Boy character
(SetPlayerCharacter (BOY) and when he clicks the GIRL key, he will play the Girl character (SetPlayerCharacter (GIRL).
   With this way, the player has these two character at the same time. 

When has stuck with the Boy, with ONE click he goes to Girl's game. With another one click, he returns to Boy's game!  It is also a good idea that some riddles need the co- operation of both characters to achieve in their mission.

Maybe at the end the player must complete both boy's game and girl's game to win!
"All we have to decide is what to do, with the time that is given to us"

remmies

 :o whoa thats a great idea lol thanx a bunch

SMF spam blocked by CleanTalk