Vertical Scroll Plateform game

Get help using Construct 2

Post » Sun Feb 03, 2013 5:30 am

Hey there I know this is old....

But I've done everything in the tutorial and for some reason my character shows up invisible. (Yes I checked to see if the object is visible)

It does show up however when i don't put a scroll to on it.
B
7
S
1
Posts: 4
Reputation: 618

Post » Sun Feb 03, 2013 8:25 am

@KaleGen: Post your capx we can't guess what you did and help you without it.
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,998
Reputation: 57,786

Post » Sun Feb 03, 2013 12:29 pm

Hey, I got he same problem with the topic here
how can we start the screen in the bottom of the layout? not the top left corner?
B
11
S
3
G
4
Posts: 56
Reputation: 3,205

Post » Thu Jun 13, 2013 4:09 pm

By doing this:
System: On start of layout >> Player: Set position to (X,Y)

That is what I know from a tutorial which ends with you being able to make a platformer (vertical) and jump upwards and spawn at a set point.
B
19
S
7
G
4
Posts: 322
Reputation: 4,481

Post » Fri May 09, 2014 9:27 am

Hey ya'll!
(sorry for my bad english skills)

How can i fix it, that the screen stops at the end of the of my Layout?
When i go to the left bottom i can see the white background and i can't scale the bg-img.

Image

I'm a noob! ^^
B
3
Posts: 3
Reputation: 183

Post » Fri May 09, 2014 5:06 pm

@Mahuki , if you are using system scrollto player.position and your layout is set to unbounded scrolling

then you need a condition to limit the scrollto,..combine a scrollx and y test (scrollx/y is center of screen)

system | compare if scrollx is bigger then, for example 500 , (value probably will be screenwidth/2)
system | compare if scrolly is less then, for example 500

action | scrollto player.position

so it will only scroll if these conditions are true
as always there are many ways to improve on this logic, but this is the basics
hope this helps
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Wed May 14, 2014 2:16 pm

vtrix wrote:if you are using system scrollto player.position


how do you mean? as Event or Behavior?

i can't find the scrollto

Image
B
3
Posts: 3
Reputation: 183

Post » Wed May 14, 2014 4:10 pm

@Mahuki its in the system action list, its not a behavior

reviewing my previous post, it might be better to

only limit the scrollx by setting the scrollto only if the character.x is larger than 500 (leftstartposition)

and you can offset the scrollY by setting scrollto character.y-150 for example (this will move the screen up 150pixels and hide the white space)
Last edited by vtrix on Fri Nov 07, 2014 12:53 am, edited 1 time in total.
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Mon May 19, 2014 7:37 am

perfect! Thx!
B
3
Posts: 3
Reputation: 183

Previous

Return to How do I....?

Who is online

Users browsing this forum: Governador, Radulepy, tarek2, Thelegendvinny and 24 guests