Page 1 of 1

Expirience

PostPosted: Fri Aug 19, 2005 8:50 am
by Crusader
:D HI,coulld somewon tell me how to make expirience.You know
the player kills 10 enemy planes and the expirience becomes 3.

PostPosted: Fri Aug 19, 2005 11:01 am
by jazz_e_bob
global variables
int planeCount = 0;
int experiencePoints = 0;

on destroy plane
planeCount ++;
if (planeCount == 10)
{
experiencePoints += 3;
planeCount = 0;
}

This code may work matey...