[Behavior] Boundary

Post your completed addons to share with the community

Post » Fri May 25, 2012 11:24 am

Document, plugin and sample capx are included.
Last edited by rexrainbow on Sat Oct 11, 2014 10:19 am, edited 1 time in total.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri May 25, 2012 11:57 pm

Update:

Add expression: HorScale/VerScale to get scaled value. For example,
HorScale(-10,10) will return (-10 + HorPercent*(10-(-10))).

The idea is comes from this thread.rexrainbow2012-05-26 00:00:59
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat May 26, 2012 12:10 am

Thank for your works

I have a question I download your C2 repository application
but the news plugins not appear
is abandoned?
B
60
S
9
G
7
Posts: 176
Reputation: 8,799

Post » Sat May 26, 2012 12:12 am

Update:

Uh, I edit expression: HorScale/VerScale.
Now user could assign
- (left value < right value) , for example, -10 ~ 10
- (left value > right value) , for example, 10 ~ -10
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat May 26, 2012 12:12 am

@felixsg

Uh, just have not upload yet. I will update all later.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat May 26, 2012 11:01 pm

tnx Rex...i was getting worried :))))
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Mon May 27, 2013 1:23 am

Update

Support official save/load feature.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat Aug 09, 2014 7:22 pm

Is this behaviour more CPU consuming than me setting up an
"Every 0.05 seconds, check if object.y < 500
IF yes then
set object.y to 501 "

Thank you rexrainbow, probably the awesomest human being in the world...
B
32
S
4
G
1
Posts: 266
Reputation: 2,426

Post » Sun Aug 10, 2014 4:56 am

damjancd wrote:Is this behaviour more CPU consuming than me setting up an
"Every 0.05 seconds, check if object.y < 500
IF yes then
set object.y to 501 "

Thank you rexrainbow, probably the awesomest human being in the world...



Yes, this behavior check the position every tick, so that it will consume more CPU power.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat Oct 11, 2014 10:20 am

Update

Rewrite this document.
Now this behavior could clamp the position in the boundary, or wrap the position to the other side of boundary.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest