\\Create
image_speed=0;
var check,i;
check=1;i=1;
with(objgamename)
{image_index=i;
i=i+1;
}
alarm[0]=300;\\Alarm0 script_execute(animationscript); alarm[0]=300;
\\Left pressed script_execute(animationscript); alarm[0]=300;the script
\\animation script
var i,j,c;i=0;j=-1;
with(objgamename)
{
array[i]=object_index;
i=i+1;
}
with(objgamename)
{j=j+1;
c=choose(array[j],0);
image_index=c;
}i want to make the title of my game dynamically changing so instead of using a font i made each letter an object
i have created a sprite which has 16 images and one object
The game name is "copy cat survivor"==15 letters and created a blank image which was indexed at 0 position
i wanted to test if after every 5 secs the letters change images
What the problem is that in my array only array [0] gets defined while the rest go undefined
So i get something like this:
When game starts:
http://imageshack.us...capture1jt.png/
When Alarm 0 is called
http://imageshack.us.../capturemk.png/
Any opinions on how to correct it
thanks:)
and sorry for the bad graphics
I'm improving them











