problems with interface for plat

Just started using Construct 2? Post your questions here

Post » Wed Mar 05, 2014 7:39 am

Message: cbunbury20 is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
I discover construc a couple weeks ago after being dedicated to enchantjs for a year and i was quickly in love i been doing tutorials since and was starting work on a simple plataformer, most things working right but i have two problems wich i hope you can help me, here is the link:1. i added the scroll behavier to my character, but it would center it so it would put my interface moved upwards, showing a big white square half of the screen, i wonder if i could limit behavier so it will keep most of background on screen.

Image

2. I added some coins to pick up and a tokens variable wich shows on top left, i had this problem too trying to implement touch controls, where character moves, but it will leave behind, this coins display and the touch control, how can i keep them in their same spot on the screen at all times?

in flash i would move all objects relating to the character, wich would cause 100s of ._x = char._x wich was a pain and this behavier seems magical, but i wonder if i shoul do something like that

thank you so much and so happy to start to be a constucter!! :mrgreen:
B
5
Posts: 16
Reputation: 271

Post » Wed Mar 05, 2014 7:41 am

Code: Select all
https://dl.dropboxusercontent.com/u/32488642/plat/index.html


it erase game link for being new user :)
B
5
Posts: 16
Reputation: 271

Post » Wed Mar 05, 2014 11:21 am

For the problem with your camera, check the how do I FAQ at the section "Scrolling / Camera", if I remember correctly, you should have an item that will show you how to do such a camera that will follow your character but not "be" your character.

For the second question the answer lies in page 7 of the beginner's guide.
Do another layer and apply parallax parameters to 0.

Also, the link you gave just goes to an export of your game. Next time you want help and it would require to see the sources, prefer to post your capx rather than an export.
I hope all this helps.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,317
Reputation: 87,483

Post » Wed Mar 05, 2014 5:38 pm

thank you so much you are so kind :)
B
5
Posts: 16
Reputation: 271


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests