Hi, I have a problem right now with lite-C, I need to resize a bitmap like stretching it, the only problem is that everytime I use scale_x or scale_y it scales the butmap just in one side, what I want to do is scale the image from everyside, here's one example:
The way I want it:
The way scale_x and scale_y is doing it
here's the code if you want to take a look:
while(complete == 0)
{
if(photo1_pan.alpha < 100)
{
photo1_pan.alpha +=0.5*time_step;
}
if(photo1_pan.scale_x < 1.1 )
{
photo1_pan.scale_x += 0.03*time_step;
photo1_pan.scale_y += 0.03*time_step;
}
if(photo1_pan.scale_x > 1 && photo1_pan.alpha > 99)
{
complete = 1;
}
wait(1);
}
I would really appreciate if someone can help me because this is for my thesis and what I want to do is some kind of cool effect, thanks for reading and I hope you can help me.