matriax's Recent Forum Activity

  • Gigatron

    Yes now the opacity works fine thanks! but still the problem with the weird thing, check:

  • 99Instances2Go , mekonbekon Well, maybe i talked too fast XD , after some tests none works correctly an each solution have similar issues :S .

    First image is using line of sight, the second image using raytracer.

    I'm trying adding other events or edit some parameters but never get it working 100% correctly :S

    Any idea? I'm, gonna try to do some double checking liek if both can see each other.

    Also with RayTraces in theory have to work after see some examples but at least in the .capx as you can see boxes behinh others are visible ¿? :S .

  • Tested Both and the Line Of SIght works better, the trace one makes the sprites "flash" to fast some times like not works correctly or something i don't know. Also the player gets 10 opacity? I tried to change but seems then not works :S , make all slowly and all 10% opacity... 99Instances2Go what happens?

  • Wow mekonbekon !! Very clever solution!

    99Instances2Go Thanks for the info/example, i will download the trace plugin and test it too but i guess i will use the mekonbekon solution due no require more plugins ans seems to works easilly.

    Also the Trace plugin with this solution maybe can i use it for other things, will see!

    Thanks both of you guys!

  • Gigatron, well, corrected the perspective enough to work visually, obviously with a camera parameters this trick will works for any kind of setup not only my one.

    Here a gif with the correction:

    Here a simplified and comented .Capx :

    https://drive.google.com/file/d/0B8vm3F ... sp=sharing

    I'm asking for some kind of camera parameters but will work any thing that can works like that for any kind of setup without using the tricks , instances ,etc.. i did for fix.

  • Gigatron

    The shadow not have opacity, please change "shadow fade" by "Opacity" and make with opacity you can see the background. Or maybe i not understand the shader but i tried various configurations and only can get one color for the shadow but i can't add opacity so i can't put to 50% to blend with the floor to get a real shadow.

    Also i found this weird thing around the player:

    My Shadow Config:

    My sprite is 36x36, the player is 28x28 with 4 or more pixels transparent around him.

  • I'm using "Line of Sight" plugin but the problem is that i want to use it with "visible block sprites".

    Using the Line Of Sight example on construct 2, you can see how the sprites that are not in sight are -50 opacity becase there is a black bar as obstacle.

    Changing the pig sprite by boxes, i want use Line Of Sight so the box works as an obstacle and as an sprite that if is bloqued will get 50% of opacity.

    So the problem is that how the same sprite works as obstacle as an sprite that have to set 50% of opacity if is not on line of sight all they are off because the line of sight also gets the first sprite off due is a block.

    Here the .capx

    https://drive.google.com/file/d/0B8vm3F ... sp=sharing

    I want the box has an obstacle for line of sight to block sprites behing them but no hide the sprite itself that works as block.

  • Gigatron

    Hi, one more thing XD

    I'm finally doing the topDown game i had in mind and already did some walls like TeleGlitch game,etc...:

    Subscribe to Construct videos now

    Can you add the camera position to the shader that we talked in previous posts? As i said the Roll-XY not worked correctly, still gives a wrong perspective to do this:

    Subscribe to Construct videos now

    (in this example uses rotation, but with Roll-XY still do some weird things)

    This will allow me do walls and other things real 3D to give a perfect feel <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    And no rush, just saying to have in mind !! And again thanks for your time/work! <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Gigatron

    No problem!

  • Gigatron

    WOW! Yes that works for me . The unique thing is the color, seems is added to the background? Maybe in my example was bad explained but the RGB color is for the shadow not the background sorry. Also Ok for the other things, already have the sprite with some transparent around it for some king of animations so seems will fit perfectly.

    Link to download ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • EDIT: The shader works correctly now, also this needs to be applied to the layer you want to cast shadow and will works with spritesheeting, rotations and will appear in the bottom of the sprites without overlaps due Z-Order.

    -----

    This is what i'm looking for:

    Parameters i need:

    X Offset

    Y Offset

    Opacity

    Blur

    Red

    Green

    Blue

    For example the example i posted have:

    X Offset = 1

    Y Offset = 1

    Opacity = 50

    Blur = 0

    Red = 0

    Green = 0

    Blue = 0

    Optionally add "Angle Fade-Out", to select in which angle do the fade, example image:

    Also a parameter for this to select the size of the fade.

  • No feedback from scirra? No reason or why they did it? :S

matriax's avatar

matriax

Member since 22 Jun, 2015

Twitter
matriax has 114 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies