eli0s's Recent Forum Activity

  • Ashley

    Yes! It works just as it should now!

    I'll update the original post, adding the new results that version r143 gives!

    Thank you so much!

    Elias

  • Thank you! I've learned something very useful and beautiful today!

  • jobel

    To be honest, I think blackhornets way is more robust, since you don't have to write down every last name of the sound files you want to use.

    The "choose" method is easier (I think) if you have a few files.

    Also, it doesn't restrict you with naming/prefixing the audio files in any particular way, since you call them individually by their full name.

    Performance-wise, I don't know which is faster...

  • jobel

    You can also use the "choose" expression.

    Make sure you select the "Play(by name)" action, set the folder in which the audio files exist within your project and in the "Audio file name" field write something like this:

    choose("gun1", "gun2","gun3")

    Construct will play the above 3 audio files at random every time you trigger the action.

  • NECROKRIEG

    Glad I could help!

  • My initial, non clever, reaction would be to put the photos and all the stuff you want to be framed correctly on a layer with the parallax set to 100,100.

    I guess that you have your reasons for not doing that though...

    Perhaps those new expressions that were added with the r141 Release (System expressions: LayerParallaxX(layer), LayerParallaxY(layer)) will do the job, if only I know how to use them <img src="smileys/smiley36.gif" border="0" align="middle">

    Maybe someone with more experience and knowledge can give a practical example on those expressions (if it applies at all with what you have in mind)...

    Best regards,

    Elias

  • I too would like to know about that... In a not very technical way if it's possible <img src="smileys/smiley9.gif" border="0" align="middle" />

    What are these Draw calls and why, most of the time, they utilize way more CPU resources than everything else on the game?

    I've searched on the net but I see things that are related to 3D engines like Unity.

  • Dear Wertle,

    Thank you so much!!! <img src="smileys/smiley31.gif" border="0" align="middle" />

    Elias

  • Wertle,

    Hello, thanks for your reply!

    I jumped the gun and installed the latest beta because I wanted to test the ability to change global variables in the debugger and see the results in real time... <img src="smileys/smiley1.gif" border="0" align="middle" />

    As plinkie kindly points out, there is an r141 beta release.

    I am anxious to see what solution you came about to this problem!

    Thanks!

    Elias

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello All!

    I am trying to make the player's angle change gradually when he is walking on a ramp/slope (using the platform behavior).

    I searched and found this nice example by JohnnySix (Platform movement with Ramps), but this changes the angle instantly. I want to use the lerp expression to make the transition between the angles more gradual. But I am encountering the following problem:

    When the angle has a negative value in relation with the player's "0" angle reference, the rotation is going berserk! I admit, it does produce an interesting effect, like a tumbling, but it's not the result that I am after. With positive angles, the outcome is different.

    You can observe the problem here.

    And here is the capx file.

    Use the arrow keys to move...

    Can someone help me with this problem??? Or is there any other way to achieve the same result, I mean for the player to follow the curvature of the ground and change it's angle respectively??

    Thank you in advance!!!

    Elias

  • Link to .capx file (required!):

    http://www.eli0s.com/Tests/AdjustHSL_Problem/AdjustHSL_Problem.capx

    Steps to reproduce:

    1. Apply AdjustHSL effect to a sprite object colored Blue or Green.

    2. Leave the default values unchanged.

    3. Run with Firefox and with Chrome. Observe and compare the results

    Observed result:

    AdjustHSL TEST

    Expected result:

    There shouldn't be any difference between the Constuct's Layout View, Firefox and Chrome...

    Browsers affected:

    Chrome: YES

    Firefox: no

    Internet Explorer: does not support webGL

    Operating system & service pack:

    Win7 64 bit, SP1

    Construct 2 version:

    141 and bellow...

    Please see this topic as it provides more information and responses from other users:

    http://www.scirra.com/forum/adjusthsl-again_topic74416.html

  • Xionor

    You are right, I can replicate the same behavior with Chrome (same version). See the second column picture below:

    AdjistHSL Test02

    With those values in Chrome I get the default "0" hue. Of course, the result in Firefox matches the Constructs viewport and it's very wrong...

    So, the question is, now what?!? Am I the only one that freaks out with this?! <img src="smileys/smiley3.gif" border="0" align="middle">

    I think I will report it as a bug after all and I hope that Ashley wont shoot me for messing up with his time <img src="smileys/smiley17.gif" border="0" align="middle">

    Best regards,

    Elias

eli0s's avatar

eli0s

Member since 24 Apr, 2013

None one is following eli0s yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers

Progress

13/44
How to earn trophies