j0hnbane's Recent Forum Activity

  • korbaach That is an awesome example! I've been wanting to have an excuse to try lerp out. Thank you for that applicable example for me to use.

    bladedpenguin Trying that out now!

    Thank you for the responses.

  • danuyos Bad wording on my part. I meant going up the y axis, which a negative value.

    korbaach Thank you, I will definitely check it in the morning. (In bed on my iPad now)

  • I'd like to attach an object to a player's image point and stay with the player as it moves left and right.. but I want the y object to move in a negative motion. Giving the illusion of it floating up. I've gone through several attempts and have gotten the object to spawn, set itself to the player, and move up.. but only keeping the initial x position that it started.

    Any help would be appreciated.

  • So, now when I use the ID in the first column, then select the next column over to retrieve the name "Longsword" it is returning a value of 0 and not the string. My variable is set up for a string, and I know I'm calling it right.

    spr_player -> set currentWeapon to arr_playerWeapons.At(arr_playerWeapons.IndexOf(spr_equipWeapon.AnimationName), 1)

    currentWeapon is a string variable.

    What am I doing wrong here?

  • Nice lists there, jourdan .

  • That answered it, beufreecasse, thank you yet again!

  • Beautiful. Thank you beufreecasse so much for having the patience to help us here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, the problem I'm having is when I attempt to replace the ("your string") portion with another text variable. Is there a way to apply the quotations after?

    I guess to better explain, I'm trying to use ("sprite.AnimationName") there, but placing the quotations makes it search for sprite.AnimationName. When place it without the "" I get a return of -1 of the final variable.

  • vybr I'm glad I'm not the only one, lol.

    beufreecasse replied again to my other post with specific questions about the command here:

    https://www.scirra.com/forum/viewtopic.php?f=147&t=126834&p=897819#p897819

    beufreecasse Thank you again so much for taking the time to respond.

  • I've looked around through the forums and tutorials for something specific to this and I cannot find it. I'm needing some guidance for the following three steps:

    1) Search for a string in an array and identifying its index.

    2) Using that index locate another index by adding or subtracting from the y or x.

    3) Taking the value placed in the new index and applying it to an instanced variable.

    Thank you for your time.

  • Ok, It looks like my biggest issues are:

    1) Searching for a string in an array and identifying its index.

    2) Using that index to locate another index by adding or subtracting from the y or x.

    3) Taking the value placed in the new index and applying it to an instanced variable.

  • You trigger is affecting them all. If one hits the ground, it turns them all off. I believe the replay you're getting is when the center man falls on his side and triggers it again while already touching the ground.

j0hnbane's avatar

j0hnbane

Member since 31 Mar, 2011

None one is following j0hnbane yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies