christina's Recent Forum Activity

  • I'm thinking the binary object plus AJAX might be the way to go?

    It doesn't need to be fast. I want to copy a sprite to and from photoshop

  • Thank you so much R0J0hound, this was exactly it. Set match=0 at the start of each loop, and then

    1. if match found, set match =1 and do any actions

    2. if match wasn't found, match remains 0, so do any actions related to no match found.

    <3

  • I know I probably have to rethink my approach, but here's my problem:

    I have a 1D array, let's call it Inventory, with 10 cells, each containing a different value.

    I'm traversing this array, and I check each value to another 1D array, which contains all the unique values.

    The Unique Item array starts off empty and with a width of 1. Each time I find a value in Inventory that doesn't exist in Unique Items, I add this item to Unique Items.

    However if I try to change the width of Unique Items (either by set size, or by push back), so it can fit a second item (and then a third) the program crashes.

    This is the barest minimum of code, and it freezes completely.

    It's probably causing an infinite loop, because "for each element" starts iterating once (since the width is 1) and then I try to mess with the width.

    Any ideas? Thank you!

  • > Aww thank you <3

    Was this made with c3?

    Yes patreon.com/posts/ghostvac-post-in-36674759

  • Aww thank you <3

  • Thanks dop2000 , I had a lot of fun making it.

    Also Construct users are always asking if we can do 3D in Construct, and yeah, we sure can. This is just sprites

  • Suck ghosts with a vacuum, then throw them into the open traps.

    Made in 3 days

    Photoshop, Illustrator, CinemaD, real physics, fake 3D using math and other trickery - everything is sprites.

    ldjam.com/events/ludum-dare/46/ghostvac

  • Thank you!

    So that means I can set the frequency to 200Hz, smack in the middle of 100 and 300.

    Do we know how large Q has to be to get a width of 200hz?

    EDIT: Now that I know it's webAudio api, I found it easily from stackoverflow.com/questions/15627013/how-do-i-configure-a-bandpass-filter

    Q = center_frequency / (top_frequency - bottom_frequency)

  • Hi Ashley I think you might be able to answer this.

    I'm trying to use a band-pass filter on an audio tag, but band-pass filters take 3 arguments: a low frequency, a high frequency and a Q factor.

    In Construct 3, we only get one frequency parameter and Q factor.

    How would I go about permitting, say, from 100Hz to 300Hz (and therefore eliminating other frequencies) using the bandpass filter?

    thank you!

  • You are the best, thank you DavideGamer38 !!

    My deadline was due, so I made Construct trigger an action when I whistle twice or three times, using the media object. it was faster than voice recognition but very fiddly, so I'm very thankful for your solution <3

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would want to remove it as I made a voice activated system to give commands to my phone while in costume inside a huge suit of armor. The phone then proceeds to say pre-recorded catchphrases through a speaker. Beeping before and after a command is recognized ruins the experience completely.

    Since we have no way of removing the beep, for the reasons you stated, I proceeded to make the voice activation whistle based, using the Peak Analyser. 2 whistles do one thing, 3 whistles do another and 4 whistles enables voice recognition, for situations where I don't mind a beep, so I can change modes.

    Not ideal, but limitations force one to be resourceful. Thanks Ashley :)

  • Ashley any ideas? Speech recognition is unusable in a game when it beeps constantly, and C3 is unable to do anything about it

christina's avatar

christina

Member since 21 Aug, 2012

Twitter
christina has 3 followers

Connect with christina

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies