196
SFML projects / Re: My Sonic the Hedgehog game (goes fine, but need help)
« on: September 24, 2013, 10:18:48 pm »
Hi Ladies and Guys
Now I fixed the Alt + Tab crashing issue, as you told me, I tested it myself;
Also I fixed the Esc pressing (To quit the app) matter, now if you press Esc you return to Start screen, where if you press Esc you exit ... ( It seems to me or we re missing a SFML QuitApplication function? )
Ixrec, you saw the springs (or jumping pads) were invisible? and the flames the first boss throws too? It s very strange that ... on my PC, no object is invisible in my poor game ... Could it be a failure on the image files?
About porting SFML apps from 32 to 64 bit, I found out that what I needed to change was the SFML DLLs, the C# code is the same, actually I compiled the 32 bit version with x86 DLLs, and the 64 bit version with x64 DLLs,
32 bit download
https://www.dropbox.com/s/9ikj1kbm53oqpp3/Sonic%20the%20Hedgehog%20by%20Pablito.rar
64 bit download
https://www.dropbox.com/s/xm54luwk8wehynb/Sonic%2064%20bit%20by%20Pablito.rar
Source Code (fixed) (for both 32 and 64 bit)
https://www.dropbox.com/s/tzts0sy3s6hswj4/SOURCE%20CODE.rar
Those who want to compile the code, remember to add the SFML.NET DLLs to the References node, on the Solution Explorer, but the x86 if the system is 32 bit, or the x64 if it is 64 bit ... there they are in each game version, in the exe's folder
What I would like is that someone goes along up to the Zone 2 Act 2, beats it (Eggman at the end), and then tells me why, while trying to load Zone 3 Act 1, my hedgehog runs with a OutOfMemoryException ... obviously it is not a lack of memory, because I have 2 GB, ... and the blue screen, I put them to inform about the used memory (on each level, whose sizes are different), without success as seen ... as seen at finishing 2-2
The code about loading levels and that stuff can be found in the LEVEL subfolder from the source code
(I also tried using the GC, but no effect ... it should be a lost reference that remains anywhere, or a failure in the Image class (the Zone image files are quit big, and JPG), or a failure on the image files, ... or I don t know what)
Thank you all
Now I fixed the Alt + Tab crashing issue, as you told me, I tested it myself;
Also I fixed the Esc pressing (To quit the app) matter, now if you press Esc you return to Start screen, where if you press Esc you exit ... ( It seems to me or we re missing a SFML QuitApplication function? )
Ixrec, you saw the springs (or jumping pads) were invisible? and the flames the first boss throws too? It s very strange that ... on my PC, no object is invisible in my poor game ... Could it be a failure on the image files?
About porting SFML apps from 32 to 64 bit, I found out that what I needed to change was the SFML DLLs, the C# code is the same, actually I compiled the 32 bit version with x86 DLLs, and the 64 bit version with x64 DLLs,
32 bit download
https://www.dropbox.com/s/9ikj1kbm53oqpp3/Sonic%20the%20Hedgehog%20by%20Pablito.rar
64 bit download
https://www.dropbox.com/s/xm54luwk8wehynb/Sonic%2064%20bit%20by%20Pablito.rar
Source Code (fixed) (for both 32 and 64 bit)
https://www.dropbox.com/s/tzts0sy3s6hswj4/SOURCE%20CODE.rar
Those who want to compile the code, remember to add the SFML.NET DLLs to the References node, on the Solution Explorer, but the x86 if the system is 32 bit, or the x64 if it is 64 bit ... there they are in each game version, in the exe's folder
What I would like is that someone goes along up to the Zone 2 Act 2, beats it (Eggman at the end), and then tells me why, while trying to load Zone 3 Act 1, my hedgehog runs with a OutOfMemoryException ... obviously it is not a lack of memory, because I have 2 GB, ... and the blue screen, I put them to inform about the used memory (on each level, whose sizes are different), without success as seen ... as seen at finishing 2-2
The code about loading levels and that stuff can be found in the LEVEL subfolder from the source code
(I also tried using the GC, but no effect ... it should be a lost reference that remains anywhere, or a failure in the Image class (the Zone image files are quit big, and JPG), or a failure on the image files, ... or I don t know what)
Thank you all