Hi. I'm new here.
I have some problems with Global Code Editor. There's tutorial on:
http://game-editor.com/Creating_board/strategy_games
I wanted to follow it a little, but when i pasted the code:
int findcell(int xx, int yy) //returns the current cell
{
int vcell=round((xx-controller.x)/32);
int hcell=round((yy-controller.y)/32);
int mycell=vcell+(hcell*10);
return mycell;
}
i saw this:
What is going on?? What kind of mistake did i make??