sprintf(text, "Lives: x%d", lives_count);
lives_count += 1;
coins_count += 1;
DestroyActor("Collide Actor");
if(coins_count==100)
{
coins_count = 0;
lives_count += 1;
}
if(lives_count < 0)
{//write your game over action here\\ ;}
LoadGame("level1");
view.x = ? // x-start position of the view
view.y = ? // y-start position of the view
CreateActor("player", x, y, false); // write x and y start position from the player (x, y)
Users browsing this forum: No registered users and 1 guest