Page 1 of 1

Easy,Normal,hard

PostPosted: Sat Aug 27, 2005 11:44 am
by Crusader
Hi,dudes how can I make level dificult?You,know you choose to play the
level on easy,hard or normal mode? :D :D :D :D :D :D :D :D :D :D :D :D

PostPosted: Sat Aug 27, 2005 2:55 pm
by ondy1985
you just need a variable to store the selected difficulty, e.g. 1 for easy, 2 for medium and 3 for hard.

Code: Select all
Difficulty = 2;

// On enemy Create Actor event
health = Difficulty * 25;

// On player collision with enemy
Player.health = Player.health - (5 * Difficulty);

// Somewhere ;)
int i;
for (i = 0; i < Difficulty; i++) CreateActor("Enemy", ....);

....

PostPosted: Mon Aug 29, 2005 1:46 pm
by Chai
maybe u can use this way
make easy normal hard button
after that add Event/mouse button down each button
and put the variable in button
ex; level =1;
1=easy 2= normal 3=hard

that all

*u can put another varible in button like speed or Hp etc...