Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / WASD Movement

Author
Message
Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 20th Sep 2008 09:53
I added WASD movement to my game, and now it crashes with a breakpoint (supposedly). All is well when I remove the code, anyone have any ideas?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Sep 2008 14:50
Is this a repeat of your earlier question?

Post the code that causes the crash. My psychic abilities are back in the shop for a retune

AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 20th Sep 2008 16:04
Does it crash with something that starts like "Unhandled exception at..." and then a yellow arrow appears by a line? If so that happens to me when I use certain commands, and I have know idea how to stop it.

90% of statistics are completely inaccurate.
Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 20th Sep 2008 23:15 Edited at: 20th Sep 2008 23:31
Yeah, its the same post, didnt see the big red thing at the top that said: "Posts need to be approved for new users". Here is the culprit code:



I think its the if statements though, because ive changed the way the movement was done and it still did it. All it does it say there was a breakpoint, Break or Continue, if I say break it opens a free.c file if I say continue it works.
Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 21st Sep 2008 05:46
I looked at the output and it seems to be RtlFreeHeap that is doing it.

Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 22nd Sep 2008 02:29
I, somehow, fixed it. I did a complete code re-write and it now works. I think I had the wrong camera selected or something like that, but it all works now.

Login to post a reply

Server time is: 2024-09-30 07:17:23
Your offset time is: 2024-09-30 07:17:23