"Tiled" background not appearing in game properly

Get help using Construct 2

Post » Sat Apr 07, 2012 2:40 pm

Hi,

I have a bunch of square images "tiles" that represent roads (straight up/down, left/right, corners, etc).

To quickly mockup a tiny neighborhood I put together a 10x10 grid of these tiles... and in the editor all looks perfect.

When I preview it in my browser... on load there is a bunch of flickering as some (~25%) of the tiles change between various shapes until stopping on a completely incorrect tile.

I'm lost as to why this happens... I have no behaviors on these tiles, I simply dragged them in to the editor from my filesystem and arranged them as needed.

Additional notes in case relevant: my "grid" is larger than my viewport (1024x600) and my "car" is set to have a car and scrollto behavior.
B
7
S
2
G
4
Posts: 9
Reputation: 2,963

Post » Sat Apr 07, 2012 2:44 pm

Doh! I solved it!

When I was dragging in images from exploring into Construct 2 I first tried to drag in several at once... this didn't appear to work and I only got 1 sprite... BUT! it created an animation sequence for that tile with the remaining images I thought that didn't come in.

Erasing them from the animation sequence for that sprite solved it.

PS - IMHO, dragging in 2 or more images should create "N" objects... not 1 object with "N" animation frames. Am I alone on this?
B
7
S
2
G
4
Posts: 9
Reputation: 2,963

Post » Sat Apr 07, 2012 3:38 pm

Yes you are I think, as this was modified in the past after a request from the community.

People were thinking that creating multiple objects is just a bad idea and that you should use only a limited number of object types for a great number of instances. Hence import drag/dropped multiple frames to a single animation and not several new objects.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793


Return to How do I....?

Who is online

Users browsing this forum: anty21ro, Magistross, PavleNikolic and 20 guests