christina's Forum Posts

  • 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

  • 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

  • Using the default speech recognition example, on Android, whenever I press "start", there's a beep.

    I googled a lot and found it's from Chrome, and I can't disable it.

    However, people in forums suggest "muting the Audiomanager" and then unmuting it.

    I've seen this code suggested

    AudioManager mAudioManager =(AudioManager)getSystemService(Context.AUDIO_SERVICE);
    mAudioManager.setStreamMute(AudioManager.STREAM_MUSIC, true);
    

    Is there any way I can use this code from inside Construct 3?

    Is there another way to mute android System sounds?

    thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm exporting from C2 as cordova, and have enabled MEDIA.

    Then phonegap makes an .apk but speech recognition doesn't work.

    Is there a plugin I have to use? Where do I get it? And where would I place that file?

    thank you

  • You do not have permission to view this post

  • Thank you Ashley! You can close this <3

  • Thanks for the reply Ashley. It's a Xiaomi Redmi Note 4X

    https://www.gsmarena.com/xiaomi_redmi_note_4x-8580.php

    Fingerprint (rear-mounted), accelerometer, gyro, proximity, compass

    It's not entry level and absolutely does have an accelerometer.

    Other proof is that the same device *used* to work with chrome a month ago, and the same device apparently works with Chrome Canary and Chrome Dev, just tested. Just not the vanilla chrome and phonegap build.

    Should I be bugging chromium devs instead? It's a little maddening.

    Also I take it the capx works for you on your test device?

  • Problem Description

    Android Chrome doesn't read XYZ acceleration values (with or without G), but DOES read Alpha, Beta and Gamma.

    The android device is obviously equipped with an accelerometer, which is testable because Firefox works fine.

    It also seems to affect cordova and phonegap, so maybe a chromium problem? I don't know their infrastructure.

    Attach a Capx

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

    Description of Capx

    This capx prints out X acceleration and Gamma

    Steps to Reproduce Bug

    • Step 1 run it on an android device using chrome
    • Step 2 run it on an android device using firefox

    Observed Result

    Chrome doesn't read accelerometer data. Firefox does. Both read gamma

    Expected Result

    Chrome should read accelerometer data

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    Windows 10 10.0.16299 build 16299, but doesn't really matter because construct 3 does the exact same and C3 is OS independent innit?

    Construct 2 Version ID

    v255

  • A game made in 3 days, it's a shmup with a unique Absorb mechanic.

    It's the sort of thing Construct 2 excels at.

    Special thanks to the devs of Glokar and 7Soul for their neat and tidy code, it helped a lot with enemy patterns, it was much tidier code than I would have come up with <3

    Play it here:

    https://castpixel.itch.io/fusecell

  • Fabian Luarte yes of course:

    here:

    https://drive.google.com/file/d/0B6_Uw_-Ku5yISnlPNG9URXIxcVE/view?usp=sharing

    I also updated the link on the first page.

  • of course! http://puu.sh/vs3lw/219ba0875d.capx (check the "pathfinder" function at the bottom)

    I think I know what's going on too, I'm telling it to follow the largest number instead of branching out. But I'm not sure how to fix.