[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1582: number_format() expects parameter 1 to be double, string given
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1582: number_format() expects parameter 1 to be double, string given
help 2 - Scirra Forums

help 2

Post your own tutorials, guides and demos.

Post » Wed Apr 30, 2008 11:24 pm

the starting situation is included in the .cap

after the layout is build up,

I would like to move the objects that are closer to the top border of the layout then to any of the other border direction up.

I would like to move the objects that are closer to the right border of the layout then to any of the other border direction right.

I would like to move the objects that are closer to the bottom border of the layout then to any of the other border direction down

I would like to move the objects that are closer to the left border of the layout then to any of the other border direction left.

plz teach me how.
ty.
.cap aprectiated
B
2
S
1
Reputation: 400

Post » Thu May 01, 2008 12:23 am

This do the trick?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Thu May 01, 2008 10:56 am

After i posted my first cry for help.

I realized that you gonna pick the instances based on their names. And that this is not a good example of what i wrestle with.

(My other problem, namely catch the first movement in a loop and, watch them till they are done and then start the second movement, and so on, you solved GRACEFULL. And ty so much.)

This is why i posted a second cry for help. Wich i hoped would be a better example for what i struggle with, and dont seem to understand.

In this you picked the instances based on there x's and y's. And left me behind in "yeah ofcourse", thats what i initial asked you to do. Well u did not really pick them. U just alterd all the objects coordinates, including those out of screen.

sorry to sound confusing, i am. I need to smoke my first 5 sigarets first.
B
2
S
1
Reputation: 400


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests