Category "sfml"

Move an object with a given speed

Here's an example of an if-statement where depending on what keystroke is pressed it will move to a certain position. I have also googled the "move" command in

SDL2 Draw scene to texture. SDL2 RenderTexture like SFML

I've been developing a 2D Engine using SFML + ImGui. The editor is rendered using ImGui and the scene window is a sf::RenderTexture where I draw the GameObject