[Effect] Normal Map Extended 1.01 (Updated -13 Jul)

Share your Construct 2 effect files

Post » Thu Jul 23, 2015 1:07 pm

Amadeus wrote:Hi guys

just want to share my last wip with you, using normalmap shader.

https://dl.dropboxusercontent.com/u/48232504/test/index.html


Hey looks great! thanks for share! ;)
B
26
S
10
G
3
Posts: 582
Reputation: 4,591

Post » Thu Jul 23, 2015 6:24 pm

@matriax Looks awesome! Thanks a lot!
Image
B
72
S
34
G
39
Posts: 433
Reputation: 25,020

Post » Fri Jul 24, 2015 11:23 pm

matriax wrote:@donan So the new files created works correctly in both?

So, i guess in the new files you are using the same events conditions for X/Y coordinates, right?

In the new files are you using families too? If not, can you use Families like the .capx to see if this is the problem?

Can you post the .capx file on that NormalMap Extended works on both FIrefox/Chrome to see the differences, please?

Maybe there is also an option on "Project properties" that i marked/add on the examples that when you create a new one they are disabled.

If none of this things changes i don't know what more can be :S .

@donan Will be great if you can try all that to see in what moment the NormalMap stop working on FireFox to avoid the problem.

From what i tested it is due to my resolution. Im using 4k at home, and changing it to a smaller resolution works with only a little bit of offset.
B
33
S
6
G
4
Posts: 44
Reputation: 5,066

Post » Wed Jul 29, 2015 8:52 am

Nice job but...
I don't like the method that you used for make multiple lights... It works but there aren't a way to pass a dynamic js array instead of different variable to the shader?
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 118
Reputation: 2,911

Post » Wed Jul 29, 2015 8:59 am

Amadeus wrote:Hi guys

just want to share my last wip with you, using normalmap shader.

https://dl.dropboxusercontent.com/u/48232504/test/index.html


You use this shader only? How did you make the player shadow projection?
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 118
Reputation: 2,911

Post » Wed Jul 29, 2015 9:00 am

tatogame wrote:Nice job but...
I don't like the method that you used for make multiple lights... It works but there aren't a way to pass a dynamic js array instead of different variable to the shader?


No idea :P but what will be the improvement on that? will be more faster? I don't know, but if you or somebody want to optimize the code go ahead, and if you upload i will add to the .rar adding you in the credits ;) .
B
26
S
10
G
3
Posts: 582
Reputation: 4,591

Post » Wed Jul 29, 2015 9:22 am

@tatogame
I use the shader for normalmap only, Shadow is a fake as I dont kow how to use shadow caster (give me wierd results)
So my shadow is just a shadow sprite, with deformation, position and opacity depending on the light position X,Y and lightsprite (shinny) layer, so Shinny can be front or back , left or right of the character, and project or not shadow.
B
6
S
1
Posts: 25
Reputation: 450

Post » Thu Jul 30, 2015 9:14 am

@matriax I'm criticizing the maintainability, not the optimization... It would be nice that Construct 2 (maybe I have to ask that to @Ashley ?) supports a dynamic array instead of predefined variables on Shaders.

Maybe I will try to edit the shader (I also trying to make something similar), maybe to add also a Tangent map http://www.terathon.com/code/tangent.html because actually the normal map doesn't work on scaled and rotated sprites
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 118
Reputation: 2,911

Post » Mon Sep 21, 2015 3:42 pm

I am unable to place lights :oops:

In the example, light not show below the mouse.

Can anyone help me??

Sorry for bad english
B
4
S
1
Posts: 34
Reputation: 418

Post » Mon Sep 21, 2015 3:54 pm

CaraCul wrote:I am unable to place lights :oops:

In the example, light not show below the mouse.

Can anyone help me??

Sorry for bad english


Create a new document create your own tiles with normal maps. Some people have some problems with the document provided, i don't know why :S .
B
26
S
10
G
3
Posts: 582
Reputation: 4,591

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 1 guest