Hi and thank You for quick answer.
I don't see any difference between my original code and yours. I replaced it, but it didn't make a difference.
Where do I set the window x and y, and resolution? In my C2 project settings, or should I write it somewhere in the code?
If in the code I don't really know how. I never edited any codes before. Please help.