Elijah Seed-Arita [INTDEV]'s Avatar

Elijah Seed-Arita [INTDEV]

@elij.dev.bsky.social

| 🌐 FRONTEND πŸ–₯ BACKEND 🎨 SHADERS | Partner at @internetstudio / working on bluesky οΌˆβ•Ήβ—‘β•ΉοΌ‰β™‘ // i live for the internet

133 Followers  |  14 Following  |  58 Posts  |  Joined: 19.09.2024  |  1.8956

Latest posts by elij.dev on Bluesky

thanks! my original intention was to switch to a proper blog, but maybe i'll stick with the threads for now!

07.10.2025 21:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

glad you liked it, maybe i'll continue this way!

07.10.2025 21:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

That's it. Here's the final product. You have a player that can move around. This is a very basic game, but I hope it gets your imagination running. I plan to continue this series with a lot more info.

What medium would people prefer? Video, blog, or continuing like this?

07.10.2025 04:06 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Cool, now the screen gets cleared. Lastly, to make this a "game", let's add some basic controls. Instead of blindly incrementing x and y every frame, let's do it if keys are pressed down. We can add keydown and keyup listeners and toggle some booleans.

07.10.2025 04:06 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail
07.10.2025 04:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Something happened, but it looks like it's dragging across the screen! We just need to clear the screen before we redraw.

07.10.2025 04:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail
07.10.2025 04:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

We can start to make this square move around. Let's create variables for x and y and use them for the position of the square. Then we can move rendering of the square into an "update" function, and update the x and y every frame. Then we set the function to be called repeatedly to make it move.

07.10.2025 04:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Now, we can use the context (ctx) to draw something on the screen. The parameters for fillRect are (x, y, width, height). Now our program is already doing something!

07.10.2025 04:06 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1
Post image

To start the script, we can get the canvas and make a context out of it.

07.10.2025 04:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Next, we can add a canvas element and a script. The canvas is where the game will render and it has an ID of "c" so we can get it in the code later. And the script will contain the javascript code for the game.

07.10.2025 04:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

We only need one file. I'll create index.html somewhere convenient, with a basic HTML structure.

07.10.2025 04:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Wanted to share how easy it is to create a simple game in JavaScript. Set aside about 20 minutes, this is what we'll create today - a player you can control with WASD.

07.10.2025 04:06 β€” πŸ‘ 39    πŸ” 9    πŸ’¬ 2    πŸ“Œ 0

yeah, i don't think i had a single element that was not auto layout actually. i almost wonder if i'm slowing myself down by overusing it haha

25.08.2025 01:15 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

welcome back to the trenches, you shall remember the rage of battle soon enough

25.08.2025 00:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

engineer's design practice 0x3
linear sidebar study

compared to writing code, figma makes me feel like a slug. rn it takes me longer to build out a design in figma than to literally code it. but it's important to try new mediums, and it may help me learn to think differently!

24.08.2025 23:49 β€” πŸ‘ 12    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

FEAR NOT WE WILL TRIUMPH

24.08.2025 23:48 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

NOOOOOOOOOOOOOOO

24.08.2025 23:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

always so many things to do. but i'm doing what i love! : )

07.08.2025 05:31 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

today's release, super basic text formatting

11.07.2025 20:53 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

wasn't able to finish it tonight, but got somethin cool-ish dropping tomorrow. for now GNπŸ›οΈ

11.07.2025 08:36 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
diagram.page Simple flowchart builder

another quick diagram.page fix from this morning

- first node being place at the wrong position due to a missing useEffect dependency

editing process is starting to feel a lot smoother, but still lots to do!

09.07.2025 20:13 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

just published some bug fixes for diagram.page

- shift+click not selecting multiple nodes
- node menu getting hidden by other nodes
- delete hotkey removing nodes that were previously selected and then deselected
- google auth
- nodes not selectable after dragging

08.07.2025 23:38 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

seems like svg paths are starting to become a common thread in my work B)

04.07.2025 08:17 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

more work on pathfinding for diagram.page. trying to preserve the bezier lines when there's an obstruction, instead of defaulting to hard angles.

it's pretty janky rn but i'm starting to feel fairly confident about shipping this feature in the near future once fixed!

10.06.2025 18:42 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

experimenting with any-angle pathfinding

06.06.2025 19:31 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

engineer's design practice 0x2
blog

i'm interested in starting a blog to share programming knowledge in long form. some initial thoughts on paper before bed.

i'm aiming to create the simplest format possible that still feels good to read. we'll see how it goes!

30.05.2025 07:01 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

i created a detachable video player for our react component library. it works by putting the video into a fixed position replicating a reference element.

i'll post the link to source when i merge!

you can try it out here if you're interested! eseed.dev/experiments/...

22.05.2025 05:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

thanks for the tutorial! me practice practice πŸ’ͺ

14.05.2025 05:44 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

engineer's design practice 0x1
wireframes

1) in-app landing content left-aligned
2) in-app landing content centered
3) separate landing page

while my ideas will need a lot of work, i want to start with just getting a feel for this medium. i'll try to draw an existing ui next!

14.05.2025 02:49 β€” πŸ‘ 11    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@elij.dev is following 14 prominent accounts