Christopher Pitt's Avatar

Christopher Pitt

@assertchris.dev

Maker of things https://assertchris.dev

254
Followers
44
Following
86
Posts
19.08.2023
Joined
Posts Following

Latest posts by Christopher Pitt @assertchris.dev

Preview
floaty A JavaScript game engine for building and sharing pixel games in your browser.

After a ton of work, I am happy to announce the relaunch of floaty.dev.

23.02.2026 06:42 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

These are fantastic. If you're up for it, I'm sure my 15 y/o son would love to collaborate on a p8 pet care game.

28.12.2025 04:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

If you're looking for my books, I have added a section to the portfolio for them: assertchris.io

28.03.2024 11:25 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

New portfolio site in the works: assertchris.io. Still a bunch to do, most urgently:
- replace the default error pages
- transfer old blog posts

25.03.2024 20:57 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

If you've ever given Threads the ability to use your mic, they are using it to keep an open mic.

20.03.2024 11:49 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Thanks :)

17.03.2024 17:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Getting an invalid site key for reCaptcha, can't register at the moment.

17.03.2024 05:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Ok, cool. Thanks for the info :)

15.03.2024 10:02 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Out of curiosity: how long do you retain the non-verified users before deleting or is that command just deleting all unverified at that point?

15.03.2024 08:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Don't get me wrong, I love SQLite and use it as much as I can. I'm just nervous about using it for anything high-traffic because of the file locking.

06.03.2024 08:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Surely, full-file locking must hurt concurrency; without heavy application of caching...

06.03.2024 08:21 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Cocos and GameMaker xD

03.03.2024 18:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Yuck!

26.02.2024 11:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@nunomaduro.bsky.social First time using Pest today, and it's pretty good. ❀️

Don't know why I put it off for so long.

05.02.2024 15:32 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

lol, hopefully.

14.12.2023 01:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@brayniverse.bsky.social ui for discord on iOS sucks. Will reply when I’m out of surgery and at a mac.

14.12.2023 01:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

@brayniverse.bsky.social I've changed a lot of stuff, and I'm keen to see what your experience is like with sfx now.

10.12.2023 20:39 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Already integrated it πŸ˜…

04.12.2023 10:59 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Turn your headset down, volume isn't being applied yet and it's very loud.

01.12.2023 16:19 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I still need to update all the docs and examples on floaty.dev, for all this new audio stuff. Then, I can start adding the new instruments and a "snap to tone" feature that will make music creation much better.

01.12.2023 15:47 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

This code is triggered when someone clicks the "play" button in the assets editor.

01.12.2023 15:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

We can't load Tone (or use AudioContext) unless it is triggered by a click or a keypress. So, the default behaviour is to load Tone the first time the sfx method is called; unless you use instance.enableAudio before starting your game (as the result of a click or keypress).

01.12.2023 15:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

@brayniverse.bsky.social Ok, I have rolled out the first chunk of Tone.js work. The showcase examples should work nicely, now. As should the codepens. You'll notice a delay on playing the first sound because of how Tone is loaded.

01.12.2023 15:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

However tunejs will give me more features for audio effects and to help with the addition of new instruments; so I think I don’t have a choice.

01.12.2023 04:05 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

@brayniverse.bsky.social @ewaldhorn.bsky.social in a pickle with this Sfx stuff. I want to outsource the audio synthesis to something like tunejs but that means I need building/bundling so that the engine can import a library that was not designed to be imported in the same way.

01.12.2023 04:04 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Ok, sorry for the frustration, will dig in and get back to you.

28.11.2023 11:12 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

You’d need to β€œawait engine.load()” before β€œsfx” if you’re using preloads in your own games.

28.11.2023 11:07 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Oh, wait, do you mean in a game you’re making?

28.11.2023 11:06 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Ok, interesting. Will do some experimentation to figure out what’s going on.

28.11.2023 11:06 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I have that URL set up locally so I wasn't seeing the error on my end.

28.11.2023 09:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0