Game crashes when snapping player sprite to hitbox

For questions about using Classic.

Post » Mon Mar 29, 2010 2:19 am

http://junk.drule.net/sven_1.cap

Layout "lvBeta" line 10 in the event editor. This event gives me a crash in the runtime when I run the layout. Anyone knows why?
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Mon Mar 29, 2010 9:39 am

[quote="Drule":2sao0oqh]http://junk.drule.net/sven_1.cap

Layout "lvBeta" line 10 in the event editor. This event gives me a crash in the runtime when I run the layout. Anyone knows why?[/quote:2sao0oqh]

The cap runs perfectly fine for me. Also it's a simple "Always" condition with "Set position to another object" action, which shouldn't produce crashs. Which version of Construct did you try this with?
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Mon Mar 29, 2010 9:46 am

That's really strange, it works for me too now. Yesterday I made one more test before going to bed, in which it crashed if I had the Always-condition enabled.

Also, I'm on version 0.99.84, and I've been having a lot of weird unexplainable problems like this, but oh well!

EDIT:

Nope, it still crashes.

"An unexpected error occurred an the application was terminated.

You may be able to find out more information about the crash by Debuggining, and attempting to reproduce the bug."

When debugging however, nothing shows up except for a black screen.

EDIT:

Okay, so when I open the .cap and run it without changing anything it works, but as soon as I add a new sprite and snap it to the player hitbox it starts crashing again.

Example:

http://junk.drule.net/sven_2.cap
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Mon Mar 29, 2010 10:11 am

[quote="Drule":3q57afwp]Nope, it still crashes.

"An unexpected error occurred an the application was terminated.

You may be able to find out more information about the crash by Debuggining, and attempting to reproduce the bug."

When debugging however, nothing shows up except for a black screen.

EDIT:

Okay, so when I open the .cap and run it without changing anything it works, but as soon as I add a new sprite and snap it to the player hitbox it starts crashing again.

Example:

http://junk.drule.net/sven_2.cap[/quote:3q57afwp]

Don't know what to say, still doesn't crash for me. I set the position of the seahorse head to the player sprite as well. I even added another sprite doing the same. But no crashes for me!
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Mon Mar 29, 2010 10:23 am

How about this exe then?

http://junk.drule.net/sventest.exe
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Mon Mar 29, 2010 11:11 am

Runs fine. Does that exe crash for you? :?
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Mon Mar 29, 2010 11:12 am

Yeah, when I try to run it it gives me the same crash message as I pasted before.
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Mon Mar 29, 2010 12:22 pm

Okay so I literally uninstalled and reinstalled Construct and all the plugins. Even my copy of Windows was recently reinstalled, so I have no idea what the problem is.
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Mon Mar 29, 2010 6:21 pm

Works for me here. Although running in debug mode does give me a black screen, but if I remove the Advanced Camera then it display's correctly. I'm using Construct 0.99.84 and Advanced Camera 0.92b.

Drule what version of Advanced Camera are you using?
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Mon Mar 29, 2010 6:27 pm

I'm running Construct 0.99.84 on a 32-bit Vista Home Premium, using Advanced Camera Plugin 0.9 as well as SpriteFont 99.99 RC (these are the only third party plugins I have installed).
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests