I have a dust covered personal project that I created in ACTIONSCRIPT that I started porting to JS recently. I had an audio bug because the synth I created was too simple, so every time a note stopped playing it made an annoying click sound.

Just fixed it by using attack/decay parameters in a gain node.

It feels good. next steps feel a lot easier, and I can think about doing some more fun stuff.

You are viewing a single thread.
View all comments View context
3 points
*

It’s a step sequencer, and I’m porting it to js precisely because nowhere supports actionscript/flash

permalink
report
parent
reply
1 point

How much JS differs from ActionScript? I have an assumption they are pretty similar

permalink
report
parent
reply
1 point

they are similar, actionscript will give you a good foundation for event based programming, hooking up buttons.

You won’t have as easy access to drawing shapes, I’m not sure if all the libraries you might have used (like box 2d) will be the same.

Use the mozilla documentation for JS eg : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean

There’s probably more logic traps in JS than in AS, but I’m not sure.

permalink
report
parent
reply

Web Development

!webdev@programming.dev

Create post

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

  • Follow the programming.dev site rules
  • Keep content related to web development
  • If what you’re posting relates to one of the related communities, crosspost it into there to help them grow
  • If youre posting an article older than two years put the year it was made in brackets after the title

Related Communities

Wormhole

Some webdev blogs

Not sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

Credits

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

Community stats

  • 5

    Monthly active users

  • 303

    Posts

  • 942

    Comments