So I'm fairly new to SFML, I have a new game in development which is almost complete.
It's sort of laggy though, it has a big tilemap and theres a character ontop of the tiles that move around.
It's sort of like this
int main()
{
while(window.isopen())
{
while(pollevent)
{
CHECK_IF_HOLDING_KEY_AND_MOVE_CHAR_POSITION_IN_DIRECTION();
}
DRAW_AND_DISPLAY_CHARACTER_AND_ALL_TILES();
}
}
It's sort of skippy.