[Solved] How do I change window start position or....

Get help using Construct 2

Post » Sun Feb 08, 2015 8:42 pm

Hello,
How do I change window start position or add margins for objects to be created on left side of layout?

Description
I am attempting to have multiple objects (with bullet behavior) move across the screen, some from left side and some from right side. I have given them the behavior to destroy outside of layout, this is necessary because there will be many objects of this type and memory will be an issue.

My main problem is that the starting window position is always the most top left position of the layout and this leads to the left objects being instantly destroyed prior to moving across the screen.

I need any of the following:
- changes the starting position of the window away from the most top left position (preferred),
- add a margin to the layout where "destroy outside of layout" feature will allow objects to spawn correctly,
- create a global change to destroy object behavior to "destroy at x passed layout", or
- remove "destroy object outside of layout" behavior and replace with event "when outside of layout".
(options listed in order of preference).

Here is a similar thread I found dealing with the same problem, but I did not want to bump it:
You do not have the required permissions to view the files attached to this post.
Last edited by ChosenWell on Sun Feb 08, 2015 10:13 pm, edited 1 time in total.
B
4
Posts: 3
Reputation: 206

Post » Sun Feb 08, 2015 8:44 pm

URL was deleted because of my reputation points. Search the following for the referenced link:
"how do I change window start position"
B
4
Posts: 3
Reputation: 206

Post » Sun Feb 08, 2015 9:08 pm

You can use one of the "scroll to" actions or behavior to scroll to any part of the layout.
You do not have the required permissions to view the files attached to this post.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,140

Post » Sun Feb 08, 2015 10:14 pm

Excellent, thanks!
B
4
Posts: 3
Reputation: 206


Return to How do I....?

Who is online

Users browsing this forum: nutmix and 2 guests