1
Graphics / Re: Divide by 0 when Drawing a texture. Attempting to animate objects
« on: June 11, 2014, 05:37:08 pm »
Well like I said, I found where it was for that first problem, so I was giving an update... Originally the call stack was only bringing me to a bunch of SFML files and so on, which was what was confusing me.
I am using Visual Studio 2012.
and it still stands that the chao sprite is only showing me a white box and crashing.
It looks like for whatever reason, that it is not adding in anything to the vectors after the initialization; practically its as if I never did it at all, despite the fact that I've clearly put in the code to add it in.
So, I'm gonna keep looking through this, and I have fixed the original problem myself, it appears.
I've corrected some more things with it, and now the call stack looks like this:
the error now being "Unhandled exception at 0x00BF5F04 in SFML Test 2.exe: 0xC0000094: Integer division by zero."
I am using Visual Studio 2012.
and it still stands that the chao sprite is only showing me a white box and crashing.
It looks like for whatever reason, that it is not adding in anything to the vectors after the initialization; practically its as if I never did it at all, despite the fact that I've clearly put in the code to add it in.
So, I'm gonna keep looking through this, and I have fixed the original problem myself, it appears.
I've corrected some more things with it, and now the call stack looks like this:
Quote
> SFML Test 2.exe!main() Line 114 C++
SFML Test 2.exe!__tmainCRTStartup() Line 536 C
SFML Test 2.exe!mainCRTStartup() Line 377 C
kernel32.dll!74e7338a() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77309f72() Unknown
ntdll.dll!77309f45() Unknown
the error now being "Unhandled exception at 0x00BF5F04 in SFML Test 2.exe: 0xC0000094: Integer division by zero."