this post was submitted on 09 Aug 2024
35 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.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 months ago (1 children)

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

[–] [email protected] 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

[–] [email protected] 1 points 2 months ago (1 children)

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

[–] [email protected] 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.

[–] [email protected] 2 points 2 months ago (1 children)

I wish more devs would concentrate on their older bugs.

[–] [email protected] 1 points 2 months ago

I let them ripe for 10 years so I can then concentrate on older bugs.