mnmco's Forum Posts

  • blackhornettechnologies.com/Construct2Stuff/soundboard_BHT.capx

    I've switched over to using instance variables, instead of globals. This would be even easier with Families, but here's Yes & No, with multi-triggers, functions, and using an offset to sync the frames & sound names. Each item still counts from 0 to X, but Yes will offset the number to get the sound name. Subsequent buttons would do something similar.

    Wow! It is absolutely perfect! It behaves well the way I want it to.. Thank you so much for the time and patience for fixing my code.

  • Stop duplicating threads. You need to wait 24 hrs before bumping, or the moderators will intervene.

    my bad ... Im just eager to finish this right away ... been searching for tuts the whole day ... tnx for reminding me..

  • I have Button A that plays 1-4 in my sounds folder, How would I play 5-7 in Button B?

    In the image I manage to play Button B but it played from 1-7 because of the action: add 1 to B

    what code will use to play 5 instead of 1?

    also How to set or loop Frame Animation back to 1?

    https://www.dropbox.com/s/ocpqwd8ctn4qn ... .capx?dl=0

    Please HELP! I know this is basic but I cant just figure it out.. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • Q1, not sure I understand

    Q2. check the manual and/or the tutorials for 'function'

    Q3. don't use choose. choose is a command to randomly choose. just put the number you want to choose. for the next one, you could say self.animationframe +1

    I will rephrase my Q's

    Q1. How will play audios by group? like in the image my NO sprite/button is playing the audios under the subfolder NO. how will I code it in my YES sprite/button to play the audios under the YES subfolder?

    Q3. How will I loop the set animation back to frame 1?

    Thanks for the reply ...

  • Im trying to make a soundboard like software for desktop. It consists of Sprites with multiple audios per sprite and each audio has a corresponding colored sprite. It will be triggered by touch and keyboard keys.

    Problems I encounter / Questions:

    Q1. With the help of BLACKHORNET I manage to create One Sprite which played 4 audios alternately.

    Now, what will I do if there are multiple sprites with Audios? Sprite NO (4 audios), Sprite YES (3 audios), Sprite blah blah ... etc

    Q2. I created 2 triggers (touch and keyboard) with same events and actions to a Sprite. How will I minify this into a function to make it one trigger only?

    Q3. I created a Sprite with 4 extra colored frames. I want to run them in order. Sprite NO ( 1st press: audio1 - green frame, 2nd press: audio2 - orange frame, etc)

    I tried using object clicked set frame as choose(1,2,3,4). It only chooses the frame randomly. I want to make it in order. How? Also how to make it work with touch and keyboard..

    this is my sample capx:

    drive.google.com/open ... 0xmT1lkU0k

    I dont have any background of Programming language or whatsoever. Please just bear with me if I cannot truly understand some if not all of your help and explanations. Its better if you could provide me VISUAL samples, Capx samples, etc.

    I can better analyze them that way. Thanks in advance.

  • If you are using triggers, you can't.

    Is there a way around it? instead of creating 2 triggers with the same events and actions.

  • How do I add Keyboard and Touch together in one condition?

  • > blackhornettechnologies.com/Construct2Stuff/SoundCycle_BHT.capx

    >

    Wow! thank you so much.. Im beginning to understand the cycle..

    quick question ... what if i have 2 buttons and 2 sets of audios? if only I can make another folder in sounds. could i?

    Ooops.. Im using free edition.. thats why I cant create a subfolder in sounds.. anyways, THANK YOU BLACKHORNET for the quick response..

  • blackhornettechnologies.com/Construct2Stuff/SoundCycle_BHT.capx

    Wow! thank you so much.. Im beginning to understand the cycle..

    quick question ... what if i have 2 buttons and 2 sets of audios? if only I can make another folder in sounds. could i?

  • Q1: is just a variation on what you have. Increment your button number until you reach 5, then drop it back to 1.

    Q2: just use the same tag, then you stop anything with that tag.

    I apologize for the noobness.

    Q1 how would i increment it?

    Q2 "1, 2, 3, 4" like that?

    Thanks for the quick reply. I really hate myself for being noob.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe if i upload this picture you will understand .. But i dunno how to upload it in comment .. I noob at this forum web XD

    Please upload it. Hehe. You can use flickr and paste bbcode. Thanks for the quick reply.

  • Forgive me for this NOOBISH questions ... Im Newbie in this

    (the following scripts are just samples)

    Q 1 . How can I alternately play 4 or more audios in one sprite / button? I only manage to do 2 audios using this noobish method..

    Q 2 . Is there a way to group these audios as families? or like a code that stops any audio once a new audio is playing?

    Hope some Experts can help me with these very Noobish Questions ...