How can i.... ?

Discussion and feedback on Construct 2

Post » Sun Jul 24, 2011 9:43 am

Is it normal that when i use the "scroll to" Behavior on my charactere then when i test the game the sprite is not visible and he fall across background (who is solid)

And i tried to export "my game" but always get error. Maybe i miss the basics of doing it

Iam not smart enought for Construct2 think i will wate some Tuto comes out about everything.
B
1
G
1
Posts: 7
Reputation: 539

Post » Sun Jul 24, 2011 12:37 pm

how did you make the background solid?
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Sun Jul 24, 2011 2:53 pm

Ahaha i agree thats the concept is... stupid

But i used tiled backgroud to make the floor and it work till i used the "scroll to behavior"

I had understand tiled background as element of the decor... should i use only "sprite" for that ?
B
1
G
1
Posts: 7
Reputation: 539

Post » Sun Jul 24, 2011 3:05 pm

yes, i guess only sprites can be "blocked" with r49-. I dont see a way to make a tiled background solid, which would also make no sense at all.

U need minimum 2 layers. 1 to get a background, and 1 for solid elements and the player.xeed2011-07-24 15:06:24
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Sun Jul 24, 2011 3:39 pm

You can make tiled backgrounds solid by adding the solid behavior - but you usually don't want to do that in top-down games (like the ghost shooter tutorial) - solid means you can't move on top of it!

You don't have to have two layers either, it's just useful for organising your objects (so you can lock the background, for example).

@Noesis: you need to tell us what the error messages are, otherwise it's impossible to help. Also, it makes it much easier for us to help you if you share your .capx file. Then we can see what you've actually done. Otherwise we're left guessing!Ashley2011-07-24 15:41:57
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests