this post was submitted on 09 Aug 2024
36 points (100.0% liked)

Web Development

3434 readers
1 users here now

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

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

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

founded 1 year ago
MODERATORS
 

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 comment's thread
view the rest of the comments
[–] heikkiket@programming.dev 3 points 2 months ago (1 children)

Is it a synth of some sorts? Where Actionscript even runs nowadays?

[–] Skullgrid@lemmy.world 3 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] heikkiket@programming.dev 1 points 2 months ago (1 children)

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

[–] Skullgrid@lemmy.world 1 points 2 months ago

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.