2 scores

Started by mport2004, Wed 04/05/2005 01:54:16

Previous topic - Next topic

mport2004

is it posable to show two diffrent scores at once
ex. player1 score and player2 score

Scummbuddy

you really need to read the READ FIRST Threads.

from the online beginners FAQ:
http://bfaq.xylot.com/#guis05
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

strazer

Almost everything is possible with AGS, you have to be more specific what you want, how you want it and where you want it.

Here's an example (AGS 2.7 code):

Code: ags

  //...

  int player1score = 10;
  int player2score = 20;

  string scores;
  StrFormat(scores, "Player 1: %d - Player 2: %d", player1score, player2score);
  thelabelname.SetText(scores);

  ///...

SMF spam blocked by CleanTalk