Karl Zylinski Profile Banner
Karl Zylinski Profile
Karl Zylinski

@karl_zylinski

1,949
Followers
230
Following
498
Media
2,255
Statuses

Indie gamedev ✨ Check out my solodeved game CAT & ONION on Steam: 😺 Always trying to be positive!

Uppsala, Sweden
Joined October 2019
Don't wanna be here? Send us removal request.
Pinned Tweet
@karl_zylinski
Karl Zylinski
1 month
Hi, I make indie games and gamedev videos! ✨ 🐱 My game CAT & ONION: 🎬 Gamedev videos and streams: 💬 Friendly gamedev Discord: 💝 Support me:
1
2
8
@karl_zylinski
Karl Zylinski
11 months
Mario has simple but nice camera rules. You see more in the direction you're walking. There is also a small deadzone for turning the camera around. I implemented this in my game 🔽🧵
19
649
4K
@karl_zylinski
Karl Zylinski
27 days
Lots of programming best practices are about decoupling code. However, the gameplay code of video games is largely about having unrelated things affect each other in dynamic ways. So there is conflict between independent code and dynamic gameplay. I have learnt to accept that.
41
50
947
@karl_zylinski
Karl Zylinski
7 months
PortableBuildTools v1.5 just released! It's a program that downloads MSVC compiler, linker and Windows SDK for you, without needing to install Visual Studio. Great combo with Odin compiler, since that one needs the linker and Windows SDK 👍
Tweet media one
10
95
582
@karl_zylinski
Karl Zylinski
4 months
I wanted to solodev games since I was 19 but never got around to it, now I'm 35 and just released my own game. I think I could have done it much earlier by just committing. I was often afraid of what skills I was missing. But you can learn skills while doing projects!
24
37
544
@karl_zylinski
Karl Zylinski
4 months
Having fun making a lil landscape painter that uses Signed Distance Fields Inspiration comes from there being so many pixelart concept images that have organic terrain, but many pixelart games end up with very boxy tileset terrain.
14
30
445
@karl_zylinski
Karl Zylinski
3 months
I have written a big "Introduction to Odin" article! It's almost a book. It is an informal article that tries to bridge the gap between the existing online documentation and things I've learned over the years. I hope you like it!
10
49
324
@karl_zylinski
Karl Zylinski
4 months
For many years I was stuck with not making games because I kept trying to write a game engine first and then put gameplay code on top of it. In this blog post I talk about "Solodevs and the trap of the game engine":
14
23
207
@karl_zylinski
Karl Zylinski
3 months
"The engine wasn’t implemented as a general purpose engine, which is probably why it took me a few months (and not years) to achieve this."
@EliasDaler
Elias Daler
3 months
It's finally here. Explains how I learned Vulkan and wrote a small game engine with it in 3 months. It's huge. Hopefully you'll find it useful. :)
Tweet media one
39
400
3K
1
12
207
@karl_zylinski
Karl Zylinski
4 months
Many people try to build their own abstract game engines in order to "reuse" code. But you can just take a language + a library and starting making the game. How do you then reuse code in next project? Just copy-paste what you need from the old to the new project. It's fine!
22
14
196
@karl_zylinski
Karl Zylinski
11 months
Any other programmer do this weird thing? When I've scrolled away in my code editor to check something, I often use undo to jump back to where I was actually working (followed by a redo to undo the undo).
46
4
194
@karl_zylinski
Karl Zylinski
6 months
Friends! My game is currently at the top of "New & Trending" on Steam I was in disbelief at first, so I even checked in incognito browsers I am stunned! Thank you all so much for playing my game 😻
Tweet media one
23
14
174
@karl_zylinski
Karl Zylinski
11 months
Add interpolation after you cross a red line. Interpolate from the current camera offset to the new one.
1
10
164
@karl_zylinski
Karl Zylinski
10 days
In May I wrote about how my method for making games is very similar to the method I had before I started working in the games industry. While working in the industry I got a bit lost and started trying to make general purpose game engines. No more!
8
13
187
@karl_zylinski
Karl Zylinski
4 months
To me, the hardest part of gamedev isn't the technical stuff. It's the game design. Finding something that is interesting, consistent and easy to teach is harder than any fancy GPU or physics programming. Not true for everyone, but probably for those with technical background.
14
2
149
@karl_zylinski
Karl Zylinski
4 years
Visual Studio tip: I knew breakpoints can have actions that print stuff when it is hit. But I learned from this little info box that you can print the callstack. Super good for debugging UI problems where you can't actually stop on the breakpoints b/c it messes with the focus.
Tweet media one
2
30
144
@karl_zylinski
Karl Zylinski
15 days
Editing my Odin book! It's currently 35000 words. Target audience will be people who have done a bit of Odin or know some programming. Main focus is to make it enlightening about concepts that normally take a while to grasp.
12
6
145
@karl_zylinski
Karl Zylinski
6 months
How I made my game's camera nice #gamedev #indiedev
2
8
138
@karl_zylinski
Karl Zylinski
8 months
My first indie game CAT & ONION is now available on itch!
11
33
128
@karl_zylinski
Karl Zylinski
6 months
✨🐱 CAT & ONION is OUT NOW! 🧅✨ 🚀 Go on a short cat adventure 🐿 Meet curious characters 🥞 Experience a surreal and funny story Only $3.49 + a 15% launch discount! This is my first indie game. Code, art, music and sound by me. Marketing by me and @gerryforcomms !
13
34
127
@karl_zylinski
Karl Zylinski
3 months
I am toying with the idea of turning this article into an actual book (both physical/digital): A book version would be greatly expanded, edited and have a nice layout. Any recommendations of either publishers to contact or methods of self publishing?
14
11
124
@karl_zylinski
Karl Zylinski
3 months
Few seem to make their 3D graphics code specific to their game. They end up with very generic "material systems" etc that are hard to understand. If you make a 3D game by yourself, you can just have a struct of shader parameters instead of materials!
11
2
124
@karl_zylinski
Karl Zylinski
5 months
When you buy CAT & ONION on Itch you also get the source code. It contains: - All the gameplay code for the game - Editor that uses homemade IMGUI and homemade GUI widgets - Hot reload code - All written using Odin + Raylib
4
22
121
@karl_zylinski
Karl Zylinski
9 days
Made my "SDF Painter" Odin code open source: You draw hills using a Signed Distance Field. It runs on CPU and is very inefficient, but the basic ideas are there!
4
27
385
@karl_zylinski
Karl Zylinski
8 months
A problem with hot reloading code in both Odin and C has been that debuggers lock the pdbs, so I can't recompile. However, with RAD Debugger everything works. I can have debugger attached and hot reload! Takes like 1 minute to download get running.
3
9
117
@karl_zylinski
Karl Zylinski
6 months
Hi cat friends! During the first two days I've managed to sell 300 copies of CAT & ONION! I'm very happy about this 💖 Also: I've gotten 35 user reviews, 100% positive! 😻 They are such a joy to read! I've also gotten 13 recommendations from curators ✨ Thank you all!
Tweet media one
11
14
107
@karl_zylinski
Karl Zylinski
7 months
Lets say you compile with /subsystem:windows, but you also want console output when run from CMD? Then: Always compile with /subsystem:console, but if you don't detect any CLI parameters, just do: win32.FreeConsole() The console will never show up in GUI mode.
8
9
102
@karl_zylinski
Karl Zylinski
6 months
Hi friends! My little cat game is now one week old, and what a delightful release week it has been! ✨ 🙀 I've sold 500+ copies, exceeding my expectations 😻 I've gotten 60+ heartwarming player reviews 🌟 People are looking forward to my next game Thank you all! 💖
6
12
105
@karl_zylinski
Karl Zylinski
4 months
My "make games, not general purpose game engines" mantra is sometimes misinterpreted as "always use a big third party game engine". I do not mean that. It is fine to create your own tech. But only write the code that your specific game needs. No "maybe I need this later" code!
3
5
99
@karl_zylinski
Karl Zylinski
6 months
Hi! Releasing my first game on Steam sure was a roller coaster of emotions Now I see some very kind reviews starting to roll in and: I've managed to sell more than 100 copies! This makes me very happy 😻 Thank you all for showing interest in me and my cat game ✨
13
15
96
@karl_zylinski
Karl Zylinski
3 months
My Odin book is coming along nicely! 14851 words so far ✨
5
3
95
@karl_zylinski
Karl Zylinski
27 days
If you are a solo developer, then use your name or a pseudonym instead of a "company name" Make sure it looks like it was made by a single person from just seeing the developer name Initially I tried to use "Zylinski Games", but just putting my full name is so much better!
3
3
93
@karl_zylinski
Karl Zylinski
26 days
There are replies hinting that ECS will fix this. My main point was that that gameplay code is intrinsically messy. I have accepted that, making the messiness mostly a non-issue. No ECS needed! I don't like working with ECS, it makes it harder to be creative with gameplay code.
9
2
92
@karl_zylinski
Karl Zylinski
2 months
Odin book is now 27000 words! I just finished the draft of the "manual memory management" chapter. That chapter alone is roughly 18 A4 pages.
5
2
88
@karl_zylinski
Karl Zylinski
3 months
My game CAT & ONION is for people who: - Want an otherworldly adventure - Likes cats - Got 30-60 minutes to spare - Enjoys puns
3
8
86
@karl_zylinski
Karl Zylinski
8 months
Be a cat that climbs, talks, smacks and goes far, far away in order to help their sad friend. CAT & ONION releases on itch late January 2024!
2
10
83
@karl_zylinski
Karl Zylinski
2 months
I wrote a whole game using Odin and Raylib and one day just tried to compile it on a really old MacBook and it worked with no code changes and no build system.
@falconerd
Dylan Falconer
2 months
One of the best things about Odin: It just works on Linux/Windows/Mac There's no different build system You just use the same code
4
1
73
6
4
83
@karl_zylinski
Karl Zylinski
10 months
@McFunkypants Just like we have depth buffer, we are now introducing time buffer, which contains the timestamp of when the object was added to the scene. This way we can sort objects of similar Z by their time.
3
0
83
@karl_zylinski
Karl Zylinski
9 months
CAT & ONION is made from scratch using: Odinlang by @TheGingerBill : Modern C alternative — Raylib by @raysan5 : Library to enjoy video game programming — Aseprite by @igarastudio : The best program ever made —
Tweet media one
@karl_zylinski
Karl Zylinski
9 months
CAT & ONION is a short whimsical 2D adventure. Be a cat that goes goes up, out, inside and around to help a friend! #gamedev #indiedev #pixelart Solodeved (design, programming, art, music and sound) by Karl Zylinski.
5
9
46
0
12
77
@karl_zylinski
Karl Zylinski
3 months
My work-in-progress Odin book is now 20000 words! ✨
5
3
82
@karl_zylinski
Karl Zylinski
5 months
CAT & ONION just reached 100 reviews on Steam ✨ 99% of them are positive! 😻 Thank you all for playing my game! To celebrate this, CAT & ONION has a 30% sale on Steam:
Tweet media one
6
11
81
@karl_zylinski
Karl Zylinski
2 months
It's nice that I no longer need to upgrade my PC. All the new games I play are often "strong art direction, low requirements". Very pretty games, but they run well on 10 year old PCs.
6
0
77
@karl_zylinski
Karl Zylinski
4 years
For the next version of The Machinery, I implemented subgraphs, along with automagical connectors for adding additional Inputs & Outputs. @ourmachinery
2
4
75
@karl_zylinski
Karl Zylinski
11 months
Tweak the position of the green and red lines and the interpolation speed. This works mostly like I want now. After this I want to add rules for when to change the y position of the camera.
4
1
74
@karl_zylinski
Karl Zylinski
6 months
😭 This CAT & ONION user review might be the nicest thing anyone has ever said about anything I've ever made. Truly made my day!
Tweet media one
2
4
71
@karl_zylinski
Karl Zylinski
4 months
When I say "game design is hard", some think I mean "coming up with game ideas is hard". To me the hard part is later in production. The design can become like a jigsaw puzzle of contradicting game mechanics. Playing games won't teach you to solve this, but making them might.
8
4
72
@karl_zylinski
Karl Zylinski
11 months
Inspired by Undertale, I made it so the release mode version of my game embeds all assets! This means that the final game is just a single exe that contains everything. Whole game is inside! How I did this 🔽🧵
Tweet media one
8
2
71
@karl_zylinski
Karl Zylinski
3 months
My strange raylib 3D experiments continue. I did shadowmapping for the first time ever! Poking around with instancing and stuff now.
Tweet media one
4
0
69
@karl_zylinski
Karl Zylinski
6 months
Hi programmer friends! Did you know that this whole game was programmed in Odinlang? It's a very comfy modern alternative to C. Odin comes with Raylib bindings, so you can just download the compiler and start making your own game! ✨ Check it out:
@karl_zylinski
Karl Zylinski
6 months
✨🐱 CAT & ONION is OUT NOW! 🧅✨ 🚀 Go on a short cat adventure 🐿 Meet curious characters 🥞 Experience a surreal and funny story Only $3.49 + a 15% launch discount! This is my first indie game. Code, art, music and sound by me. Marketing by me and @gerryforcomms !
13
34
127
1
6
69
@karl_zylinski
Karl Zylinski
7 months
My new YouTube & Blog series: Make games using Odinlang + Raylib! First two episodes are out now! ✨ Target audience is people who have more or less never programmed before. Each episode has both a YouTube video and a blog post.
2
13
69
@karl_zylinski
Karl Zylinski
2 years
Chillin'
1
7
66
@karl_zylinski
Karl Zylinski
7 months
CAT & ONION is coming to Steam on March 12, 2024! It's a whimsical cat adventure packed with curious characters and good vibes ✨ Help me by wishlisting my first indie game ❤
4
18
67
@karl_zylinski
Karl Zylinski
2 months
Did you all know that @jakubtomsu_ 's game "Solar Storm" comes with source when you buy it on itch? It's made in Odin with sokol_gfx for rendering. He's super smart so it can probably be very interesting to look at!
3
9
65
@karl_zylinski
Karl Zylinski
10 days
CAT & ONION is the most popular and top selling game in the "made with raylib" category on itch:
Tweet media one
2
2
67
@karl_zylinski
Karl Zylinski
2 months
I completed Morrowind main quest 1-2 years ago, but I just finished my final task: Filling out the entire map by walking to every tiny square on the map.
Tweet media one
5
2
65
@karl_zylinski
Karl Zylinski
16 days
If you have problems understanding how floating point numbers actually work, then perhaps this article "Floating Point Visually Explained" by Fabien Sanglard can help:
4
8
63
@karl_zylinski
Karl Zylinski
6 months
This is how the first playable version of CAT & ONION looked. I made it on a plane, just as a way to pass time and because I wanted to try Odin + Raylib. I didn't really know how to animate! 🧵 Thread on how it evolved over time 🔽
2
13
61
@karl_zylinski
Karl Zylinski
6 months
One of the biggest surprises of launching my game is that people seem to like my writing! It's very silly dialogue. But somehow people got invested in the whole thing. Looking forward to writing dialogue in my future games, and perhaps having a bit more confidence in doing so!
1
8
60
@karl_zylinski
Karl Zylinski
2 months
I always try to be nice online. Staying nice makes me less likely to get worked up and say stuff I later regret! This is very important to me. I find it easier to stay motivated on projects if I don't associate them with bad vibes.
2
0
61
@karl_zylinski
Karl Zylinski
10 months
Short compile times is important for productivity. My game recently hit 4 s compile time, I realized I was doing some silly things. Now I'm back at around 1 s. If your indie game takes more than 10 s for a debug build, then don't be afraid to look into why! Don't just accept it
5
4
59
@karl_zylinski
Karl Zylinski
2 months
I actually fixed a bug in the Odin compiler itself 🎉 I have submitted lots of PRs to fix things in the standard library, but I haven't felt like digging into the C source of the compiler itself before. It's quite straight forward code in there ✨
0
2
59
@karl_zylinski
Karl Zylinski
3 months
The reception for my new video has been very heartwarming. It's essentially a 90 minute video of me making a tiny game and explaining most aspects of it. I hope to make more such beginner friendly videos. Thank you all!
4
5
59
@karl_zylinski
Karl Zylinski
4 years
Juicing up The Machinery: New graph input and output editing workflows -- Here I edit inputs directly in the input node, with drag n drop re-ordering. Will be available in the next (December) version. @ourmachinery
2
5
58
@karl_zylinski
Karl Zylinski
2 months
My game is on place #63 of the "Steam250 hidden gems" list! ✨
Tweet media one
2
4
56
@karl_zylinski
Karl Zylinski
6 months
Parents and kids enjoying my game 😻✨
Tweet media one
1
2
55
@karl_zylinski
Karl Zylinski
3 months
A tough thing about technical writing is choosing target audience. I'm leaning towards "people who have programmed a bit, but perhaps in more high level languages than Odin". This way I can talk freely about interesting specifics in an informal way. Thoughts?
16
0
56
@karl_zylinski
Karl Zylinski
12 days
I'm available for Odin tutoring and consultation! ❓ I'll teach you Odin concepts or discuss issues in your Odin code 💻 Online video call with screen share 💵 $30 for 1 hour, $50 for 2 hours More info:
1
9
56
@karl_zylinski
Karl Zylinski
6 months
Hi nice people! My lil cat game just reached 50 user reviews! Since 98% of them are positive, it means my game is now labeled as having 'Very Positive' reviews. Yay! 🎉 Thank you everyone for making this such a pleasant release week ☺
Tweet media one
5
2
56
@karl_zylinski
Karl Zylinski
8 months
The price will be $2.99 -- It's a short but intense lil' game for people who: - Like cats - Like colorful adventure games - Have an hour to spare
@karl_zylinski
Karl Zylinski
8 months
CAT & ONION will release on itch on January 26! ✨ It's a VERY CAT ADVENTURE GAME where you climb, talk, fly and SMACK your way to places where no cat has EVER GONE BEFORE 🐱
3
6
46
4
11
53
@karl_zylinski
Karl Zylinski
11 months
Step 1: Add debug lines. Green is where the player should 'stick'. If you walk past a red line, then it moves the camera to the green line on the other side.
Tweet media one
1
1
50
@karl_zylinski
Karl Zylinski
4 months
I'm at @AMazeFest in Berlin until Sunday! I look like this! Say hi, ask me about how hard it is to get started on a second game! I got CAT & ONION merch for everyone!
Tweet media one
1
1
52
@karl_zylinski
Karl Zylinski
5 months
Shipping a game was hard! No-one told me that the period afterwards where one tries to start a new project can also be stressful! I'm like: What to do? I can do anything! HA! Do nothing. And feel bad about it. Amazing.
6
0
51
@karl_zylinski
Karl Zylinski
4 months
Recording new Odin + Raylib tutorial video tomorrow! It's gonna be a single video where I make a tiny game from start to finish. I hope to continue creating such self-contained tutorial videos, it feels more fun than doing massive multi-part series.
1
0
51
@karl_zylinski
Karl Zylinski
11 months
If the player walks past a red line, set the camera offset so that the player will end up on the green line on the other side! Now I need to interpolate instead of snapping the camera.
1
1
48
@karl_zylinski
Karl Zylinski
2 months
One of my favorite examples of positive gamedev people is @raysan5 ! For example, watch this interview and see how INFECTIOUSLY HAPPY HE IS 😻 I can watch this just for his happy face alone
1
1
49
@karl_zylinski
Karl Zylinski
4 months
In order to create a friendly Discord community and YouTube channel, I have these rules for myself: - Never be rude and overly negative - Don't interact with rude comments - Have rules against rude behavior on Discord "angry programmer rage" will scare away the friendly people
4
1
49
@karl_zylinski
Karl Zylinski
3 months
My YouTube channel is now 1 year old! I'm already past 2000 subscribers and it's growing all the time. My recent Snake game tutorial video already has over 1000 views, faster than any of my previous videos! Thank you all for watching!
4
0
49
@karl_zylinski
Karl Zylinski
3 months
Trying out Raylib 3D 😺
Tweet media one
1
0
49
@karl_zylinski
Karl Zylinski
2 months
I did this holistic Odin gamedev video a few weeks ago. I wanna do another one, any game ideas? It needs to be simple enough games so that I can build it all in a 1-2.5 hour video. It can be a clone of some arcade game or some simple original thing.
16
6
47
@karl_zylinski
Karl Zylinski
8 months
Odinlang is a great first game development language! It's low level, but with a high level feeling. It's simple and less noisy than C/C++, so you don't get lost. Pair it up with Raylib (Odin comes with bindings) and you'll have a fun first venture into game programming.
5
2
47
@karl_zylinski
Karl Zylinski
8 months
CAT & ONION will release on itch on January 26! ✨ It's a VERY CAT ADVENTURE GAME where you climb, talk, fly and SMACK your way to places where no cat has EVER GONE BEFORE 🐱
3
6
46
@karl_zylinski
Karl Zylinski
11 days
On my Discord server you can: - Show your gamedev projects - Talk about Odin - Look at cat pictures - Ask questions about my projects - Tell us about your favorite video games - Post cat pictures It's a friendly place!! ✨
1
2
46
@karl_zylinski
Karl Zylinski
6 months
My little cat adventure game is now 2 weeks old ✨ It has sold 700+ copies and gotten 70+ heart warming reviews (98% positive) I would've been happy with selling like 200 copies, so it's all great 💖 Thank you all! I'm relaxing a bit now, but I'll make another game, for sure!
1
7
46
@karl_zylinski
Karl Zylinski
1 month
In my game CAT & ONION you'll find portraits which I put into the game in an attempt to immortalize past and present cats that I have lived with. I hope people randomly discover the game from time to time and realize that they have stumbled upon a little kitty shrine.
2
6
44
@karl_zylinski
Karl Zylinski
5 months
made it possible to place directional track pieces later I will make a nicer editor where I can just click and drag to choose direction of track pieces
3
2
45
@karl_zylinski
Karl Zylinski
9 months
CAT & ONION is a short whimsical 2D adventure. Be a cat that goes goes up, out, inside and around to help a friend! #gamedev #indiedev #pixelart Solodeved (design, programming, art, music and sound) by Karl Zylinski.
5
9
46
@karl_zylinski
Karl Zylinski
4 months
Your level editor and in-game view don't have to work in the same way. The game is split into rooms, the editor can render multiple rooms and draw into them seamlessly. But the game can only simulate and render a single room at a time, with a fixed camera.
5
0
44
@karl_zylinski
Karl Zylinski
11 months
how to say you're using vulkan without saying that you're using vulkan
@JadeMarker15
Jade Marker 🏳️‍🌈🏳️‍⚧️ - Triangular girlie
11 months
FINALLY. I'VE WAITED SO LONG FOR THIS MOMENT
Tweet media one
37
17
462
2
1
45
@karl_zylinski
Karl Zylinski
9 months
so... Casey is doing this behind a glass wall, right? So he can write comfortably and then just mirror the video afterwards BUT This means he has printed STAR CODE GALAXY tshirts with reversed print?! I want one, haha. Walk around town, those who know know
Tweet media one
3
2
43
@karl_zylinski
Karl Zylinski
6 months
There's a pattern in the reviews! "Had a bad day? Play this game and you're feeling better <3" "Had a really bad day, after a really crappy night. Cat and Onion drops. Probably the most chilled game I've ever played" "I love it, if u have bad day - this is what u need!" 😻✨
1
8
45
@karl_zylinski
Karl Zylinski
1 month
problem solving
1
0
45
@karl_zylinski
Karl Zylinski
2 months
The Odin git repo is doing quite well
Tweet media one
3
1
43
@karl_zylinski
Karl Zylinski
5 months
Made a program that: - reads .ase files, packs them into an atlas (using stb_pack_rect) - creates an odin file that says where in the atlas the textures are - adapted my sprite animation code so it can use the atlas It's pretty cool, something I wanted to do for a long time!
2
0
42
@karl_zylinski
Karl Zylinski
4 months
With my previous Odin + Raylib series done I am looking at making new tutorials. My new approach will be: - One Odin setup video - One Sublime dev env setup video - Self-contained 1-2 hour videos that show how to make a specific, small game using Odin + Raylib
4
2
42