Tech Tea

Tech Tea

@techtea.bsky.social

A Software Engineer who likes tea. Українська | English

28 followers37 following196 posts

I didn’t mention this, but this prototype was written from scratch. I mean, I didn’t use any engines. It was difficult, but fun. I learned a lot and am glad I chose this path. #indiegame #gamedev #indiedev

Tech Tea@techtea.bsky.social

While I’m working on the engine for my upcoming visual novel, I want to show a prototype I created a month ago. #platformer #indiegame #gamedev #indiedev

I was thinking about how to make my prototype look better even with the bad pixel art, and I eventually decided to add shadows. #indiegame #gamedev #indiedev

Tech Tea@techtea.bsky.social

While I’m working on the engine for my upcoming visual novel, I want to show a prototype I created a month ago. #platformer #indiegame #gamedev #indiedev

The screenshot shows a room with light sources (i.e. windows) at the top and bottom. The black objects are walls, as they completely block light rays.

To build cast shadows, I used well-known Bresenham's line algorithm, Chebyshev distance, and the inverse-square law. It sounds like something complicated, but it’s actually quite simple if you know what to do. I didn’t know, so I spent a lot of time learning new things.

The PS5 version was updated yesterday, but the Switch one doesn’t. My hopes for a fix for the new Castlevania on Switch have just vanished 😔 #castlevania #nintendo #switch

Tech Tea@techtea.bsky.social

The Nintendo Switch demo of Castlevania: Belmont’s Curse is a joke. The screenshot on the left was taken in handheld mode, the screenshot on the right was taken in docked mode. The FPS is also bad.

The layers of yesterday’s drawing. The third one scares me 😄 #art #drawing #digitalart

Tech Tea@techtea.bsky.social

What did she see? A pooping puppy I guess. Please don’t hate me for my line art 😅 #art #digitalart #drawing

The Nintendo Switch demo of Castlevania: Belmont’s Curse is a joke. The screenshot on the left was taken in handheld mode, the screenshot on the right was taken in docked mode. The FPS is also bad.

I found this mockup I drew a few years ago for a platformer. I spent a whole week just on two 8x8 tiles of ground. I really like the result, but I couldn’t finish the game concept, so I dropped the project. #platformer #indiegame #gamedev #indiedev #mockup #gameart #pixelart #screenshotsaturday

Look, these’re two Nintendo Switch OLEDs. On the photo, the UK one is on top, and the HK one is underneath it. What’s the difference? Look closely, the UK one has a pre-installed screen protector, while the HK one doesn’t. Now, I wonder if any US or JP OLEDs have a pre-installed screen protector.

How many images/sprites do you think I used to create this interface for my visual novel? Zero! Everything’s drawn in code. This helped me achieve flexible sizes for text blocks. So I can put any text in the block and it will be rendered without any visual glitches. #visualnovel #indiedev #gamedev

I continue to develop the engine for my upcoming visual novel. The hardest part the dialogue screen is done, finally! #visualnovel #vndev #indiedev #gamedev #visualnovelua

Remember when Western Digital bought HGST (Hitachi’s HDD division)? I had a bunch of WD and HGST HDDs back then because they were used in the ThinkPad and ThinCentre lines. Did you notice anything? They are identical! Only the stickers and names are different. #PCHardware #HardDrive #HDD

Just noticed that I haven’t posted my first mechanical keyboard here, even though it’s on my profile banner. This’s the Leopold FC660M with MX Cherry Blue switches, thick PBT plastic and double shot keycaps. #MechanicalKeyboard #MechanicalKeyboards #MechKeys #Keyboards #Keebs

The switches are mounted on a thick metal plate. The plate is simply sandwiched between two plastic parts of the case. So when I quickly press hotkeys, the plate makes a loud metallic noise, which can be quite annoying.

I haven’t touched web backend development since 2021, so I built a simple website to refresh my knowledge. For the site, I choose TypeScript, Node.js, SQLite, Fasify, Prisma, Pug and guess what? I’ve never created SSR sites faster and more enjoyable. #WebDevelopment #BackendDevelopment #Nodejs

View full thread

I have no plans for the site, so I’ll delete it and create a new one from scratch. And then another one and another until I figure out how to best use Fastify with Prisma.

If anyone is wondering why I choose SQLite, there are two reasons: 1. I’m too lazy to set up MariaDB or Postgres. 2. Prisma is focused on Postgres, so I was curious how difficult it’d be to work with a different DB.

I haven’t touched web backend development since 2021, so I built a simple website to refresh my knowledge. For the site, I choose TypeScript, Node.js, SQLite, Fasify, Prisma, Pug and guess what? I’ve never created SSR sites faster and more enjoyable. #WebDevelopment #BackendDevelopment #Nodejs

View full thread

So, In total I created: - server.ts with a little over 100 lines of code - prisma.ts - less than 50 lines - seed.ts - less than 50 lines - schema.prisma - near 50 lines - a bunch of views.pug - less than 20 lines each

I haven’t touched web backend development since 2021, so I built a simple website to refresh my knowledge. For the site, I choose TypeScript, Node.js, SQLite, Fasify, Prisma, Pug and guess what? I’ve never created SSR sites faster and more enjoyable. #WebDevelopment #BackendDevelopment #Nodejs

View full thread

That’s it. Now I have an empty BD with TS types that I can use on the site. I mean, use Prisma.PostCreateInput as a form body request, for example.

I haven’t touched web backend development since 2021, so I built a simple website to refresh my knowledge. For the site, I choose TypeScript, Node.js, SQLite, Fasify, Prisma, Pug and guess what? I’ve never created SSR sites faster and more enjoyable. #WebDevelopment #BackendDevelopment #Nodejs

View full thread

There’s also a built-in request validator based on Ajv that uses JSON schemas, and with @fastify/formbody I don’t need to write headers for form requests.

With Prisma I just need to write the BD schema, migrate it to TS types with one command, and init the Prisma client with another command. For the client I only need two packages: @prisma/adapter-better-sqlite3 and @prisma/client, in my case.

I haven’t touched web backend development since 2021, so I built a simple website to refresh my knowledge. For the site, I choose TypeScript, Node.js, SQLite, Fasify, Prisma, Pug and guess what? I’ve never created SSR sites faster and more enjoyable. #WebDevelopment #BackendDevelopment #Nodejs

Fastify and Prisma are new things to me, so I can’t really say how good they are. I also can’t say how difficult it’d be to build something much bigger, or how expensive it’d be to maintain with these tools, but so far, so good.

Fastify has @fastify/view which allows to integrate HTML template engines with just one line. And it’s super easy to use, just return reply.view with arguments and that’s it.

While I’m working on the engine for my upcoming visual novel, I want to show a prototype I created a month ago. #platformer #indiegame #gamedev #indiedev

It’s planned to be a Metroid-like platformer where collecting blue cubes gives the character new abilities. The video only shows two of the four planed abilities: dash and gravity shift.

I’m developing an engine for my upcoming horror visual novel. Language selection, warning screen, title screen and monologue screen are done. #visualnovel #vndev #indiedev #gamedev #visualnovelua

I started learning Japanese. In the three days, I learned the vowels (a, i, u, e, o), the k-row (ka, ki, ku, ke, ko) with their dakuten versions (ga, gi, gu, ge, go), and the s-row (sa, shi, su, se, so) with their dakuten versions (za, ji, zu, ze, zo) from hiragana.

View full thread

Before I started learning, I googled a bit about Japanese. Found that the words in sentences have a different order. There are three “alphabets” (not exactly, but it’s easy to think of them that way): katakana and hiragana from kana, and kanji. Don’t know what they’re for but I hope to find out soon

I don’t have a real goal. N5 or N2, it doesn’t matter, I’ll just slowly learn Japanese in my free time. It’d be great if I could read and understand simple Japanese phases after a year of studying, but I won’t be disappointed if the learning process is slower.

I started learning Japanese. In the three days, I learned the vowels (a, i, u, e, o), the k-row (ka, ki, ku, ke, ko) with their dakuten versions (ga, gi, gu, ge, go), and the s-row (sa, shi, su, se, so) with their dakuten versions (za, ji, zu, ze, zo) from hiragana.

It wasn’t easy, especially the calligraphy. I’m glad the app I use recognizes my handwriting, but it’s still meh. I often confuse some symbols, such as “a” with “o”, and “ki” with “sa”. I did learn a few words though: kao, kasa and sushi.

Yesterday I used my Thinkpad T470 with Linux to install Onion OS on my Miyoo Mini and fill it with ROMs because it was much easier than doing it on a MacBook Air. Not because the Air doesn’t have a card reader, but because of the better UI/UX for such job.

Tech Tea@techtea.bsky.social

In 2008 I switched to GNU/Linux because my old PC wasn’t powerful enough for Windows Vista. Then, in 2010 I bought a new laptop with Windows 7, and shortly after that I installed Linux on it because Linux was better. Now I use a MacBook with macOS and I can’t say it’s better than a ThinkPad + Linux.

In 2008 I switched to GNU/Linux because my old PC wasn’t powerful enough for Windows Vista. Then, in 2010 I bought a new laptop with Windows 7, and shortly after that I installed Linux on it because Linux was better. Now I use a MacBook with macOS and I can’t say it’s better than a ThinkPad + Linux.

The Verge@theverge.com

If your laptop is stranded on Windows 10, the solution isn't a new laptop. It's a new operating system. Read more from @steviebonifield.bsky.social: www.theverge.com/tech/905946/...

Of course, there were and are issues with supporting hardware features such as HDR and Adaptive Sync. Still, not every software can run under Linux. But! Overall, Linux is a more than capable OS for daily use. And also for professional use. NASA, CERN, and Pixar use Linux for their work.

This’s my #traditional #art, and I look up to #pixelart artists as gods. Seriously, I don’t understand how you all fit a piece of art into a few pixels.

John (j0ono0)@johnnewall.bsky.social

Might have finished designing the hero of my little Sokoban game. Not perfect but total overkill for requirements. #pixelart #gamedev

Forgot to post a photo of the broken iPhone.

Tech Tea@techtea.bsky.social

Yesterday I encountered a GSoD (Green Screen of Death) on the iPhone 13 mini. There are many tips on the Internet, but none of them make sense because it’s a hardware issue (it may also be a software issue, but in my case it’s a hardware).