SOLVED: Object not lining up with bg.

Get help using Construct 2

Post » Tue Feb 25, 2014 3:11 am

Really new on this software. Thought i try it...looks really nice. Did this tutorial:
scirra.com/tutorials/253/how-to-make-a-platform-game

But how do i "move" or set the "view" (Window) to start at the bottom of the screen and not at the to left corner?

From the images you can also see that the start plattform and character is not lining up correctly with background.

From the editor:
postimg.org/image/hf8wnxqwz/

From running the game in FF:
postimg.org/image/utaq1rqnt/

Project file:
sendspace.com/file/xiypd0
Last edited by frankx on Tue Feb 25, 2014 12:22 pm, edited 3 times in total.
B
3
Posts: 8
Reputation: 191

Post » Tue Feb 25, 2014 3:17 am

Can you link your capx ?
did you put scroll to behavior and platform behavior on the player?
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Tue Feb 25, 2014 3:24 am

I will put up some screenshots to illustrate my problem.
B
3
Posts: 8
Reputation: 191

Post » Tue Feb 25, 2014 3:31 am

Screen from the editor:
postimg.org/image/6clktlyvh/

Screen runing the game from FF:
postimg.org/image/8456y5r1l/

Can´t post clickable links because of the forum rules. But just copy pase the links above.

Note the starting position in my editor...it is wayyyy below the trees in the background. But when running the game. My start position is above the trees. Why?
Last edited by frankx on Tue Feb 25, 2014 3:35 am, edited 1 time in total.
B
3
Posts: 8
Reputation: 191

Post » Tue Feb 25, 2014 3:35 am

dude you cannot posts url :p

Drop me a mail at agaev.vladimir(at)gmail.com
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Tue Feb 25, 2014 3:36 am

Check my post again.
B
3
Posts: 8
Reputation: 191

Post » Tue Feb 25, 2014 4:06 am

Does the player has scroll to or bound to layout behaviors?
I don't really know why it is occurring.

Try on start of layout->scroll to object; player.


Ps: try to resize your FF window size. Just curious
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Tue Feb 25, 2014 4:21 am

"Does the player has scroll to or bound to layout behaviors?"
Yes, the PlayerBox (as in the tutorial) has the "Scroll To" behaviour...but no "bound to layout" behaviour.

"Try on start of layout->scroll to object; player."
Added the event. Didn´t work. My platform AND character is still not lining up with the background as in the editor.
B
3
Posts: 8
Reputation: 191

Post » Tue Feb 25, 2014 10:01 am

Changed the first post and attached new images and project file in hope that someone can solve this issue.
B
3
Posts: 8
Reputation: 191

Post » Tue Feb 25, 2014 10:53 am

look at your parallax settings or each of your layers ...
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Next

Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, gskunk, richcoz81, tarek2 and 38 guests