WildHairedScience's Recent Forum Activity

  • Thank you for responding.

    I can use .stop() within the same function that starts the audio, but I cannot figure out how to use it in a separate function to accomplish something like stopping the sound with a button. I am getting an error like,

    Failed to execute 'stop' on 'AudioScheduledSourceNode': cannot call stop without calling start first.

    I apologize if helping me is outside of the scope of this forum.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am using the Sound Synthesis scripting example. In the example, each buffer plays the sound for a fixed amount of time. I want the option to stop it early.

    Is there a way to stop an audiobuffer that is already in progress? I am certain that my wording isn't right, but I hope the meaning is clear. I tried reading the audiocontext and audiobuffer mdn documentation but couldn't figure out how to use .close() in context or whether that is even the right method.

    Tagged:

  • That was it, thank you so much.

  • I am not able to open one of my old C2 projects in C3 even though it will open in the last version of C2. The project is not using any 3rd party plugins or behaviors.

    From the project file:

    <used-plugins>

    <plugin author="Scirra" id="Function" version="1">Function</plugin>

    <plugin author="Scirra" id="Sprite" version="1">Sprite</plugin>

    <plugin author="Scirra" id="Text" version="1">Text</plugin>

    <plugin author="Scirra" id="Touch" version="1">Touch</plugin>

    </used-plugins>

    <used-behaviors>

    <behavior author="Scirra" id="Bullet" version="1">Bullet</behavior>

    <behavior author="Scirra" id="DragnDrop" version="1">Drag &amp; Drop</behavior>

    <behavior author="Scirra" id="Pin" version="1">Pin</behavior>

    </used-behaviors>

    I checked the console and got this:

    main.js:722

    [Project] Exception opening:

    window.Mx {Ju: "'Sign' does not accept 0 parameters", jg: 'Incorrect parameters', QU: 42, H2: 46, Kc: w…w.rC}

    H2: 46

    Ju: "'Sign' does not accept 0 parameters"

    c: window.rC {Pb: w…w.nG, fe: d, lob: d, Nu: {…}, lEa: 'Ship.X + BoardSize/20*VectorButton.VecX * Sign', …}

    QU: 42

    jg: "Incorrect parameters"

    [[Prototype]]: Object

    is there anyway I can recover the project?

  • For anyone who has the same problem, I solved it this way:

    1. Rename the file from .c3p to .zip
    2. Un-zip the file to a folder
    3. Change the offending lines in the eventSheet.json file in a text editor
    4. Open as a local project folder instead of a converting back to a single file project.
  • I was working on a project today and I copied a layout and eventsheet from an old project. When I went to preview it I got a blank screen so I saved, quit, and reloaded it. I now get this error.

    It tells me there are invalid expressions and I need to fix them before using the project. The problem is I can't open the project to fix the offending expressions.

    I tried changing the .c3p to .zip and editing the lines by hand but then I get a "Failed to open project. Check it is a valid Construct 3 single file (.c3p) project" error.

    Is there any way I can recover the project?

  • You do not have permission to view this post

  • I agree that mass delete is decent solution.

  • Agreed, being able to leave them in but inactive would be best so that we can replace them with the C3 equivalent.

  • Thanks, that helps for some but it doesn't have all the extensions I've used. It's not all the rex ones and I did use some that aren't rex.

    I still think the ability to ignore missing extensions would be very helpful.

  • I have a lot of old projects originally made with C2. I have been trying to update them and release them to the public with C3. Many of them use Rex plugins for small parts of their functionality like Date and Time. Some use other plug ins with less support.

    Its a huge pain to have to open them in C2, hunt down the events and actions that use them and remove them and then remove the plug in, especially if I don't have that plug in installed with C2 anymore and I have to find an archived version.

    With C2 being sunsetted, is there a way to tell C3 to just import and ignore those events and actions. Or turn the events into blank events or something? I am worried that eventually I won't be able to use old projects.

  • I've been making apps to replace labs and other hands on activities ever since Construct 2 was released. Since so many schools will not meet in person this year I threw together a website so everyone can use them.

    You can find them all at whscience.org. They are all free to use and don't require registration.

    Some replace lab activities, some are more like visual, moving practice problems, some are to help me make diagrams.

    Examples

    Biology - https://whscience.org/streaking/ - Students practice the procedure of streaking a plate to isolate a bacteria culture.

    Chemistry - https://whscience.org/mghcl/ - Simulates HCl reacting with Mg. Shows the molecules and graphs of compound levels.

    Physics - https://whscience.org/rollercoastermotion/ - Change the angle of the slope and initial of a roller coaster. Record and download position, velocities, and acceleration.

    So far I have cleaned up and posted about 30 of my old apps. Most of them are physics because that's what I teach. None of them are especially technically impressive in terms of what they do with Construct, but I thought some people here might be interested to see something different.

    - Wild Haired Science Teacher

    Tagged:

WildHairedScience's avatar

WildHairedScience

Member since 21 Mar, 2012

None one is following WildHairedScience yet!

Trophy Case

  • 12-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies