Hallo everybody
A started to create a game with SFML in c++, a space shooter.
Here is the Code:
space-game.zipSo far I have a player (controlling with arrow-keys) weapons for this player (switching with L-Controll) an of course fireing this weapons (with space).
Later there have to be enemies and bosses, highscores etc...
I developed this game on linux (ubuntu 32 bit) and there the game is working really great on linux.
If i put this code on my Windows XP PC and build the game there the behavior of the game is different.
Instead of 50 Bullets I got only 38 there and instead of 10 Missiles I got only 4.
On both (windows an linux) I use g++ and SFML 1.5
Here is the Win32 Debug Executable (with gfx, ready to run):
space-game-bin.zipHere you could see my Problem and you are able to Debug it..
What did I wrong? Did I make a misstake with the memory and the pointers?? (if yes, why its running perfect on linux?)
I hope someone could help me