0 Members and 2 Guests are viewing this topic.
have you not seen it? It was my first axe game <3Note: I have changed it since, and mass optimized for speed. (lol should probably take out of Full speed now )
In axe we can use Pt-On(x,y,Pic1)How can I do that in C++.I am using SDL
sf::RenderWindow App(sf::VideoMode(WindowWidth, WindowHeight, 32), "title");sf::Image img;//Image dataimg.LoadFromFile("img.png");sf::Sprite imgSprite(img);//Pointer to dataimgSprite.SetPosition(x, y)App.Draw(imgSprite)