Serious Tiled Background Bug

For questions about using Classic.

Post » Sat Dec 25, 2010 3:35 pm

I'm presently making a platform game, one which has a lot of tiled background objects.

I seem to have reached a limit in the number used. If I try to run the game as it stands, it works fine, but if I add just one more object, the directx application doesn't run, saying "An unexpected error occurred"

The IDE itself doesn't crash, but the game doesn't run.

I will post this bug to bugtracker, but has anyone else experienced this? Am I overlooking something?

The file can be found here.

[url:36voktn9]http://dl.dropbox.com/u/15091348/bugged.cap[/url:36voktn9]

NOTE: the version here has one too many background objects. Remove one, and everything will work fine.
B
2
G
2
Posts: 15
Reputation: 680

Post » Sat Dec 25, 2010 4:57 pm

I unchecked enable scripting and it worked.
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Sat Dec 25, 2010 5:03 pm

Wow they need to change that to enable python scripting.

Also, NthSimulacrum
The main use of the tiled background object is to make that object scalable, but in order to get the benefits that save on memory, the texture needs to be in power of two.
Your Tiledbackground3 object could be a 2x 2 image.
... just thought I'd point that out.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sat Dec 25, 2010 8:47 pm

Thanks R0J0hound , that solved everything :D

Newt, I tried that originally, but ironically the layout editor slowed down immensely

EDIT: Just tried it with a 32 x 32 and the IDE has stopped lagging.
B
2
G
2
Posts: 15
Reputation: 680


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests