Happy New Year!! I missed a day again #24
Hope you all had a safe and fun new years/eve. I know I did. First one since turning 21, so also my first* time being drunk. It's pretty fun I think.
Like it says in the title, I missed a day again. I want to make not of it, but I don't really think it's too big of a deal. I was having fun. It's okay to have a day off y'know.
Rust, and specifically the Rust toolchain is the best workflow I've ever experienced. Better than C++ by lightyears, and even better than Java. I haven't been entirely problem free, but every problem was clear and I could fix it in about 10 minutes or less. I don't fully know the language and it's features, so I'm relying a lot on the tutorial I'm following for correct syntax and whatnot, but it's intuitive enough that I can read it with my level of programming experience (not expert, not novice, idk exactly).
I need to do the usual tutorial pathway for any new language eventually, but for now, getting the OpenGL "hello, triangle" program written is technically done. In about 6 hours of programming across 2 days. Maybe less.
It took easily 20-30 hours across 2 weeks for me to get to this same point in the Vulkan with C++ "Hello, triangle" tutorial. And that's not counting my first attempt where I learned what I needed to know about the C++ toolchain, and how to set up my workspace, and all the little tiny details that break everything when they're wrong. That first attempt was probably over 100 hours over the course of a month.
AND I DIDN'T EVEN GET THE STUPID THING TO WORK.
If you want to make a game or application, and you are struggling to get your programs to compile or work or whatever bs, please look into Rust. It's beautiful.
Anyway, that said, this week is supposed to be the one where I make a multimedia project. I think I'll try and draw something and make a little guy in a room that can jump around once I get through the rest of the tutorial. I hope it covers loading textures and in-depth toolchain configuration and whatnot.
I don't think I can confidently animate anything, at least not in Krita. Who or whatever this character is is probably just gonna be a ball that rolls around or something.
Trying to handle collisions in a way that isn't incredibly hackey is an interesting problem I think. I think the technical term for it would be a "collision system", but that's gay, and I am gay, so I will be calling it that. The collision system will take an array of collision objects specified in some external file and parse them, then using some algorithm (probably just normal testing on some simple polygons, but possibly a path-traced collision detection approach could be feasible), calculate collisions on them.
That's a problem for either tomorrow or Friday though. For right now, I am incredibly exhausted, so I will be going to bed soon.
I'm so excited about Rust and OpenGL. I can't believe how much I've been hampering myself, and all because of a misinterpretation of my own goals.