[Behavior] Sprite Effects & inject Text on Sprite

Post your completed addons to share with the community

Post » Thu Aug 30, 2012 8:35 pm

@bjadams @ all : I'll repost here what I told you in PM, to be sure everbydoy is on the same page : it's working in Safari, however the browser is slow to update when an effect has been applied. Even when saving the image, applying an effect and resetting the image, I need sometime to wait a bit before reapplying a new effect.
I'll dig further in Safari to know what can be done.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Fri Aug 31, 2012 7:40 am

Pode how slow is that? does it take 1-2 seconds or 10-20 seconds?

I am also experimenting with other options for TINT to avoid save&restore. I will post back my findings later on...
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Fri Aug 31, 2012 7:56 am

After a couple of hours of experimentation I found out that on SAFARI, it's the actual SAVE and RESET functions that are slow. The actual TINT command itself is very fast and works time after time on the same sprite.

I noticed that there is a new Replace RGB command.

Could it be possible to make another similar command, where ALL the colours of the sprite are REPLACED to 1 single colour (white in my case), but BLACK is PRESERVED?

If I had this command I could apply this colorizing to turn a coloured sprite back to WHITE without using SAVE & Reset, and then TINT to a new colour!
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Mon Sep 03, 2012 8:09 pm

@bjadams : you can use the "whiten" function, in the new build at the first post.

@all : updated first post, with new functions & effects :
- perspective transform.
- blending modes
- whiten above RGB
- darken above RGB
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon Sep 03, 2012 8:32 pm

This plugin is really getting bigger & more powerful!!!!!

Pode, since my project is now done, and my kid very proudly went to his first day of school showing what he did in summer, I am going to keep my project running as is.

i will test the whiten feature as soon as i have some time, and see if it offers a better option over what i have now.

GREAT WORK!
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Tue Sep 04, 2012 7:02 pm

@bjadams : I'm happy that your son was proud of his project ! .

@all : updated first post with new build (v2), adding the "keep RGBA channel" function.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Fri Sep 21, 2012 8:40 am

The color tint is not working for me in Release 103.2
It could be just me but can anyone else verify this.
B
7
Posts: 38
Reputation: 683

Post » Thu Sep 27, 2012 11:06 pm

Do you think I could use your plugin to do a movement detection (i.e. getting sprite1 from camera, getting sprite2 from camera, pasting blue into Alpha, and then xor-blending sprite 1 and sprite 2? I tried to do that with webgl effects -- but they are applied only on video memory and resulting images are not accesible for canvas.
B
39
S
11
G
5
Posts: 132
Reputation: 8,228

Post » Fri Sep 28, 2012 3:34 am

Is there a limit to how big the sprite can be?

I wanted to try out the perspective function and have been trying to change a 1024x1024 sprite, but it won't change at all. I checked the example capx and that works. I resized the thing to 1024x300 (so 1024x512 in vram usage) but no dice.

The idea I had was to use the perspective function to make a floor that would change perspective as you moved. But even if it did indeed work it wouldn't be feasible since the change is far too slow even in the example to even consider doing it realtime, every tick.
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Fri Oct 05, 2012 1:32 pm

Perspective doesn't seem to work as expected.

after inputting coordinates the last one isn't seen on the event-sheet.
instead there's an (0,{1}) for the first coordinate?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
53
S
16
G
8
Posts: 6,157
Reputation: 19,744

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests