Hello, sorry if topic is not in a correct place
I have to create game project in C++ for my university, I created Game States, Menu etc but now I want to create level and I need so much your help. (I use SFML 2.0)
I am not good in C++ and this library but I have to pass my subject and create nice looking game
In my game class I have something like this:
case Game::Play:
{
sf::Event event;
while (oknoAplikacji.pollEvent(event))
{
gameWindow.clear(sf::Color(0, 0, 0));
//I think something with level class here :)
gameWindow.display();
if (event.type == sf::Event::Closed) gameState= Game::Exit;
if (event.type == sf::Event::KeyPressed)
{
if (event.key.code == sf::Keyboard::Escape) ShowMenu();
}
}
break;
}
I want to create level like in my attachment, in foreground I want to draw my own image and characters should move and jump on that image. I want to control my character and enemy moves automatic. Background should be static image. Game should be like tanks. My turn (10 seconds), enemy turn(10 seconds) and again and again...
How to create this level?
Please help, this is very important for me:) I need simple solutions
And I know my english is very bad, sorry