void GenerateImage(char str[256], int startX, int startY)
{
int i,j;
for(i=0;i<strlen(str);i++)
{
j=(int)str[i];
CreateActor("ImageActor", "Animation", "(none)", "(none)", startX+i*20, startY, true);
ImageActor.animpos=j-65;
}
}
GenerateImage("Hello", view.x+20, view.y+20);
Users browsing this forum: No registered users and 1 guest