Objects become invisible when set on the layout [FIXED]

Get help using Construct 2

Post » Sat Feb 11, 2017 11:25 am

Hey guys, thanks for clicking on my post

There is an issue that is annoying me. I'm designing some levels and some objects become invisible when placed and the grid disappears. Check it out:

Image

On this first one everything is fine, notice that the grid is set and showing

Image

On this other one, though, I've set the Player object on to the layout on layer Game. The grid became invisible and the object Player too. It also happens with the enemy objects.

First I thought it could be something about the objects size, but some objects with the exact same size don't bug.

Hope I can fix this soon, thank you for your attention!
Last edited by marcosfl on Sat Feb 11, 2017 12:53 pm, edited 1 time in total.
B
20
S
7
Posts: 24
Reputation: 1,422

Post » Sat Feb 11, 2017 12:35 pm

Try setting your player to the topmost layer.

By the way, is that Shigeru Miyamoto's body with your face in it in your avatar?
Image Image Image
B
29
S
11
G
27
Posts: 730
Reputation: 17,002

Post » Sat Feb 11, 2017 12:42 pm

MPPlantOfficial wrote:Try setting your player to the topmost layer.

By the way, is that Shigeru Miyamoto's body with your face in it in your avatar?


I fixed it! Thank you for your reply. It was indeed something about the Z-order, I messed around a bit and got it right. I can't say for sure what was causing the problem, but what fixed it was putting the SpriteFont on the top (in my case, the level name over the screen). It was on the bottom of the layer and this for some reason was causing this problem.

And... yeah. I like putting my face on celebrities. This is my face on Vin Diesel's: http://imgur.com/kVoDDhW
As Miyamoto is a game designer, I figured it would be perfect for a profile picture in a game developing forum :D

Wow, nice eye. You're the absolute first to notice it (I use this picture almost everywhere) :P
B
20
S
7
Posts: 24
Reputation: 1,422


Return to How do I....?

Who is online

Users browsing this forum: Bootfit, mihirolover, Prominent, tarek2 and 11 guests