Spawning Crash

For questions about using Classic.

Post » Sun Oct 25, 2009 4:47 am

Yeah I really don't know what's going on either. I was really hoping this would be fairly easy... but as always it seems to be fairly complex.

I posted the .cap on Box.net, this is the link: http://www.box.net/shared/y9sfhv8ihi

Thank you all very much for your time and your help :)
B
6
G
3
Posts: 10
Reputation: 1,121

Post » Sun Oct 25, 2009 1:45 pm

Honestly I have no idea why it's crashing. I was thinking it might be the line of sight behavior, but I removed it from 2 objects and it still crashed. Your coding is pretty sloppy however, and you did do a lot of things messily, such as making your bullets solid to recoil the character, and spawning a new enemy object just to change the animation when they die. I didn't go over your events one at a time and check everything, but I can't help but think that the crash is caused by some obscure little detail like I mentioned. Then again it might be the collision bug acting up since you used 99.42, but i'm fairly sure it's being caused by a bugged event.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Sun Oct 25, 2009 3:47 pm

Is the LOS behavior actually DOING anything? Cause I put it in there in hopes that it would make the enemies start shooting at you when they saw you but I didn't really see an option to make that work. Personally I think removing it seems like the most economical thing to do.

So THAT's why the guy recoils... I hated that! I didn't even see that the bullets were solid! Thanks! As for the other sloppiness, yeah I expected as much. The code didn't look efficient or elegant so I figured it probably wasn't all that smart. I'll try to streamline things a bit next time I get a chance to really work and see if that might help the bug.

Collision bug? See this is the problem when you're new, there's no way to know about these things beforehand. I assume 99.42 is the latest version and they just haven't fixed the bug yet? Regardless, when I run the debugger it seems to tell me that it crashes more when things spawn then when things collide.

Bugged event? It tends to be various random events that cause the crashes rather than any one given event. Although that might just mean they're all bugged but I really hope not.

AJ
B
6
G
3
Posts: 10
Reputation: 1,121

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests