mrmlabs's Recent Forum Activity

  • I am noticing similar problems.

  • It would be nice to know if when timescale si set to 0, is there any way to have specific animations still play?

  • Yes, that si true. I was referring mainly to having them player1/running.mp3 and player2/running.mp3.

    It was me just being lazy renaming about 50 sound files :) It would be nice to be able to take advantage of the folder structure. But i guess its not something that you need that much and only in very specific cases.

  • I know, i just wanted to have the sounds named the same for both players, and then just have one instance of the play sound action based on the selected player. It would of been easier and cleaner from an event sheet point of view. Especially when dealing with a lot of sounds.

  • wow, thats a real shame. Thank you so much for the answer

  • In the sounds folder i have the following structure:

    Sounds/player_1/[all the sound files]

    Sounds/player_2/[all the sound files]

    When the user selects the character they want to play with i set a global variable to either 1 or 2

    How do i then in my event sheet play the sounds for that specific selection.

    For example:

    at game over, if the character selected is player_1...i want to play the sounds located at Sounds/player_1/gameover.wav

    Any help would be greatly appreciated.

    I dont get the roles of folders in there if all the sounds appear in one big dropdown when adding a play audio action.

    Thank you.

    Tagged:

  • Any help here? As i dont understand the role of folders if when you select the sound to play is all in one big dropdown when adding this as an action.

  • Making both object in the family global did not do anything :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Will it work if i make them global? Is there a better way?

  • I think i know why i might not see that UID. Because the player selection happens in a different layout.

    Any idea how do i go around this?

  • Thank you for this Nicolas....but it seems when i am trying to get the UID from that object is returning 0.

    Do you know why is that happening?

  • mrmlabs

    First, to clarify about Families : all objects in Families inherit instances variables, ex, 2 objects in fades family, and 2 instances variables (named so, Family instance variables) :

    So if select 1 fade item, it have it's own instance based on family (that's [fades] mean)

    > So the question is, how do i get player_1 or player_2 to appear based on that global variable.

    >

    > Hope it makes sense.

    Yep! My better idea : your global var store the player.UID, and so you can Pick family instance by player.UID (your var)

    Great idea. But how do i do that selection? What actions do i need to put in the event sheet?

mrmlabs's avatar

mrmlabs

Member since 4 Mar, 2019

None one is following mrmlabs yet!

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies