Bug report: shooting while facing a wall: crash.

For questions about using Classic.

Post » Fri May 02, 2008 7:30 pm

Hey ash.
Your application Construct never ceases to amaze me, but it has it's fair share of bugs and crashes to be dealt with. Since i'm a helpful person i thought i'd drop by and give you a heads up every time i get one of these crashes to help you improve on this already magnificent piece of coding. :wink:

While working on a small platformer called "cosmos" i stumbled upon an infinite loop freeze-bug. When i had my character face a wall and then shoot a bullet so it was instantly destroyed at the same time as it was spawned the game-window froze up and i had to ctrl-alt-delete the thing to death.
B
2
G
4
Posts: 13
Reputation: 1,076

Post » Fri May 02, 2008 8:46 pm

I know Ashley is busy at the moment with exams (I posted a prob myself unaware :( ) but for a heasd up display your specs and also a .cap file that shows the problem. fileden is a good place to upload if you don't have a place already.
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Sat May 03, 2008 1:56 am

Yeah man, I just attempted that and could not reproduce it. Could you please give us a .cap file showing the error? It would greatly help use bugfix it.
B
3
S
2
G
4
Posts: 310
Reputation: 2,120

Post » Sat May 03, 2008 4:34 am

You could, to prevent this on your own, add a condition that "Object (Wall) does not overlap Player.ImagepointX("gun"), Player.ImagepointY("gun")" to the shoot condition (of course, filling in correct object and image point names). I think that should fix it, until a proper Construct fix to catch the error.
B
3
S
2
G
4
Posts: 130
Reputation: 1,735


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests