36

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 1 points 4 months ago

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

[-] Skullgrid@lemmy.world 1 points 4 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.

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

Web Development

3453 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 2 years ago
MODERATORS