[PLUGIN] rex_Function2

Post your completed addons to share with the community

Post » Sun Apr 14, 2013 2:35 am

@rexrainbow

I got it, thank you!
B
5
Posts: 21
Reputation: 498

Post » Sun Apr 14, 2013 3:10 am

@rexrainbow

Can the Sprite's frame be changed in the injected JS function?
B
5
Posts: 21
Reputation: 498

Post » Sun Apr 14, 2013 3:41 am

@MelonGuns

No, js function could not change any property of object directly.
User could add a C2 official functions, do something at these functions, then called at js function. See first post of this thread, it print some text through C2 function event.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Sun Apr 14, 2013 3:56 am

@MelonGuns

BTW, this function plugin did not maintain anymore since there already had an official function plugin. I split the injecting js function feature in this function ext plugin.rexrainbow2013-04-14 03:56:58
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Wed Apr 17, 2013 9:41 am

@rexrainbow i need your 'text' plugin to open fef old projects, can you upload it again?
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Thu Jul 11, 2013 9:34 am

@rexrainbow Would there be any reason to redo my existing code to use the official function? (It currently works fine with your function, wondering how the official one is better and if something will break down the line and/or there are performance improvements) Thanks!

Also as a side note, is it possible to change the ZSorter to sort on a different imagepoint? Trying to rotate a ball (which appears to only rotate around origin) but still have it sort correctly.
B
9
S
2
Posts: 58
Reputation: 1,416

Post » Fri Jul 12, 2013 4:36 am

@Agni

Official function plugin might be faster "a little", could support recursive call. It's better using official function plugin in new project.


The second question about ZSorter, could you provide a simple capx file?
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Fri Jul 12, 2013 5:57 pm

Thanks! Here is the Capx: http://db.tt/GUGpYYHc

It's a 3/4 view (like Zelda A Link to the Past) and I'd like the balls to be able to rotate yet properly obscure spikes that are above the bottom of the ball. Let me know if you need more detail!
B
9
S
2
Posts: 58
Reputation: 1,416

Post » Sun Jul 14, 2013 12:59 am

@Agni

Sorry, I could not find the image point in this test capx file.

For sorting by image point , you could use "action: sort by function" to define a custom compression function.
Here is a sample capx
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Sun Jul 14, 2013 5:31 pm

@rexrainbow Thanks a lot! I seem to have trouble replicating the effect with a family every tick though.. here's what the new capx looks like if you have a moment: http://db.tt/GUGpYYHc

There should be imagepoint(1) for everything in the capx. I want to make sure the ball is in front of the spikes on the ground when it should be.
B
9
S
2
Posts: 58
Reputation: 1,416

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests