I am also looking for some feedback on the performance of the game.
QuoteI am also looking for some feedback on the performance of the game.
This laptop I'm on is 7 years old, and...60fps :)
Anyways this is pretty neat, everything goes with the name (the menus, dieing, transitions etc..).
Although if you run against a wall and jump, occasionally you will fall through and my guess keep falling. The debug reports a top collision despite the wall being straight.
(sorry for the bad english - Google Translate)
I did not play the game yet. I can not run (I have Windows XP) and I can not compile (I have VS2008). But i was looking at the code a bit and has an error:while (Window.pollEvent(Event)) //proccess the eventsWhen run
{
if (Event.type == sf::Event::Closed) //if the close button is hit
Window.close(); //close the window
}
ScreenManager::GetInstance().Update(Window, Event);ScreenManager::GetInstance().Update(Window, Event);The last event processed in the frame is passed as a parameter, when in reality can occur several events that maybe be needed.
Did not have time to look over the Code or test the game (yet :D).
Never the less i wanted to give you a little bit feedback based on your video.
Looks very promising and fun/challenging. One thing i think you could improve though is the visuals for the shots of the following guns in the Corners. The first minute or so i didn't even realize they did anything. Doesn't need to be anything gigantic, just something big enough to recognize it in your peripheral vision would be nice.
I didn't even see the guns in the left/right upper corner :)
And how did you die shortly before the door? It looked like an invisible force sucked you down...
The program can't start because MSVCR120.dll is missing from my computer.
I downloaded the .dll and it now works no problem, but I thought you should know.
If im not mistaken, the required DLL is a part of the Visual C++ redistributable package for Visual Studio 2013 Preview. I had to install it myself in order to try this game.
Do you need that file to run a program from an executable or only if you are running it from Visual Studio?If you run it from VS, then you have VS and all the needed DLLs installed.
Do you need that file to run a program from an executable or only if you are running it from Visual Studio?If you run it from VS, then you have VS and all the needed DLLs installed.
Thus it's needed when running the application.
If im not mistaken, the required DLL is a part of the Visual C++ redistributable package for Visual Studio 2013 Preview. I had to install it myself in order to try this game.
I thought that the sf::Event held a stack of all events processed in the frame. I could be wrong though, I will look back at the tutorials.No one else mentioned this but you call
while( window.pollevent( Event ) )
. Each time you call window.pollEvent( Event )
it pops the Event on the top of the queue so by the time the while loop is done you will have only the very last event for ScreenManager::GetInstance().Update(Window, Event);
bool sf::Window::pollEvent ( Event & event )http://www.sfml-dev.org/documentation/2.1/classsf_1_1Window.php#a338e996585faf82e93069858e3b531b7
Pop the event on top of the event queue, if any, and return it.
This function is not blocking: if there's no pending event then it will return false and leave event unmodified. Note that more than one event may be present in the event queue, thus you should always call this function in a loop to make sure that you process every pending event.
sf::Event event;
while (window.pollEvent(event))
{
// process event...
}
Parameters
event Event to be returned
Returns
True if an event was returned, or false if the event queue was empty
See Also
waitEvent