matriax's Recent Forum Activity

  • Sorry, no idea, but the game looks really cool! , How you made that glitch-screenshake effect when the ship collides? Looks awesome :O

  • How i can show in the Text object how many Sprites with a Instance variable: Active: 1 are overlapping the red line?

    I actually do this:

    For each Text Object

    Sprite Value=1

    Sprite Overlaping RedLine >> Set Text to Sprite.PickedCount

    Works but is CPU intense, and having lots of lines get my CPU at 80%. The sprites are activated to White/Green on mouse click. I tried "On any mouse click" and do a function that does this but not works.

    The sprites are static and the line always pass over the same ones.

    How can i fix it?

  • If i remember well the .ogg and .m4a are generated due some browsers accept one or other format or something like that. I don't know if still exist the problem.

    BTW, if the game is gonna be only fos desktop, is there any problem if only use the .ogg format to save space, organization,etc... ?

  • Here a simple .capx of what i'm trying to achieve

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

  • I'm working with sounds and trying to have a 3D effect .

    This is an image of the default setting of what i'm using.

    In the description "Outer gain" is for sound reduction but seems only works for directional sound. Also i not understand very well how the angles works with that.

    With this setup i can place the sprite anywhere and using the player as listener when more far i go the sound is reduced = Ok.

    The problem is i don't know how customize that sound reduction. I tried adding positive/negative values on "outer gain" or put 359 as angle or any other values but nothing seems to work.

    I want change the sound reduction, because i put the player in the other side of the layout and i can still ear the sound. So, How i customize thad fade-out/reduction to make dissapear more soon?

  • I'm trying to figure how add various sounds to a target/object , one looping and other "one time" each X seconds with multiple instances around the layout.

    I have an enemy and i want this enemy have:

    Looping sound for footsteps

    Every Random(1,3) seconds Choose(1,2,3,4,5,6) for different roar SFX.

    Also i want to customize the fade-out sound when the player is far the object but is always the same reduction. The unique way is create another event using an expresion like "0-(distance(hero.X,hero.y,spritetest.X,spritetest.y)/50)".

    But having lots of sounds that reproduces one time and others looping for the same target/object what have multiple instances around the layout is a nightmare, i have no idea how organize to keep all clean and simple.

    Somebody did this before? Any template or idea how manage to do this? :S

  • The IA and pathfinding has been improved a lot !!.

    Nothing was scripted. The enemies moves slow when they not see you, ths means in "LOS"(Line Of Sight) but when they can see you accelerate to attack you.

    If you are in "LOS" or not they al ways will try to find the closest path to your position avoiding any obstacle.

    Still is not 100% as i want because needs some aleatory movement when you are not in LOS but works perfect for this tests.

    HD youtube > https://youtu.be/YrF106HZP-A

  • lennaert Worked perfectly, Thanks!

  • I read the Native expresion manual on Random:

    https://www.scirra.com/tutorials/77/nat ... onstruct-2

    So i don't know if is possible, but there is anyway to select the numbers to random? i mean:

    Random(2/4/8/32)

    So will random and select one number of the given ones. Is possible?

    Thanks

  • Other .gif showing the last additions and show what can be done with this shader.

    Now with the use of transparent in textures i can do doors and windows. Also added the first enemy with a basic IA/Pathfinding.

    Here the HD Version:

    https://youtu.be/9mXz6saUiV4

    More coming!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Gigatron Tested! I had to change the values for opacity and see how works the Blur and perfect, just what i asked, thanks!

  • Gigatron, well looks perfect in that demo , link?

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