WildHairedScience's Recent Forum Activity

  • https://whscience.org/whsvg/

    I sort of had a reason. I'm a teacher and in my state, students cannot use any service that requires giving any personal information including name or email address unless the district has a contract with the service. That means most free online tools are out. They are also on chromebooks so mot open-source software is out. I wanted my students to make SVG diagrams but the only option I found is svg-edit which they didn't like.

    So... I decided to make a very simple SVG editor for my students.

    It's done 100% in events. It doesn't use the SVG or XML plug-ins at all. Objects are invisible sprites with DrawingCanvas on top so that the stroke renders correctly. I probably should have used XML to read the SVG files, but I kept making progress using tokenat type expressions.

    After about 16 hours, here are the features:

    • Rectangle, Ovals, and Lines
    • Fill and Stroke Color
    • One style of dashed stroke and One style of marker-end arrow
    • Export SVG files compliant enough to open in browser or Inkscape
    • Open SVG files (100% working if made here. A little working if made elsewhere
    • Export png
    • Duplicating objects with Ctrl-C, Ctrl-V
    • Moving objects using drag and drop
    • Editing all supported properties e.g. rx and ry for ellipses using TextInput
    • Autosave current project EDIT: Actually working now
    • One line text objects

    On my to-do list:

    • Text Objects EDIT: 1 line text working
    • Undo/Redo
    • Select Multiple/Drag Select
    • Paths with multiple segments
    • Scale and rotate with touch
    • More png export options
    • zoom
    • More advanced color picker
    • Import of svg files that are structured a little differently

    Features I probably will never support include all other object types, embedded images, curved paths, gradients, import of anything that can't be made with this software.

    I recognize this is probably a waste of time and will never be better than existing solutions, but it was fun enough to make and I was surprised at how quickly and consistently I made progress.

    Not sure if anyone is interested in this type of thing. I am considering opening the source code. I have no idea if I do things the same way others do.

    Edit: 2022-11-21 text objects now support outline (sort of). The line object is working again. The last setting for fill and stroke are preserved. The object list has scroll buttons.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

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