Streak Club is a place for hosting and participating in creative streaks.
After a lot of tinkering and misunderstanding, I was finally able to draw a billboard! It wasn't in my previous project (I think it became a little bloated due to me trying to do too many things at once) so setting up a new project and starting from scratch was a nice refresher as well. (Bonus points if anyone ever sees this and can name where the sprites are from)
So, even though it's extraordinarily basic, I've found that having something like the raylib cheatsheet (and the naylib github) to guide me through learning the different methods and structs that are available to me has made getting something up and running rather trivial! That being said, it's not like I was able to get this working in 5 minutes. This took me a couple of days - learning what a freaking sink is in nim took me the longest (and I'm still not 100% on it), but I'm super proud of this, even if it looks like poop.
I think I've just about settled down on my jumping around (though only time will tell).
After really getting into the syntax and overall ethos of Nim, I've come to really enjoy it's idiosyncrasies, AND having tinkered with Raylib in the past, I feel comfortable to sink in and try to make something from it.
Nothing impressive today, but I am learning about some if the quirks involved with switching from a language like Lua to Nim.
I feel like I'm all over the place right now (but that's not out of the norm for me). I've discovered Nico (a fantasy console-esc framework for Nim).
My eventual end-goal is to create something "playable" regardless of the language/framework/content, and then move on to something else - constantly learning.
I don't remember the rest. Today I spent some time writing some code in Nim. I haven't done it in a while so it took some getting use to (since it's much more than a scripting language), but I think that even coding at all is something to be proud of when trying to form habits.
Along with tic80 and moonscript, I've been tinkering with love2d and plain old Lua as well. It's definitely a different thing altogether, but I'm just having fun messing around.
I finally got lerp working, but I've yet to figure out how to control the speed of the animation overall. Regardless, I'm super happy that it's finally working!
After a day away (finding time to do this with an infant is waaaay harder than I ever thought possible), I finally figured out a bunch of my lerping issues. Almost all of them were derived from me not understanding how lerp worked within a game loop, and while I did figure some things out - there are still many things that I have on my plate to fix.
In the gif you can see that over time, the box moves to the mouse (when I click). I have yet to figure out why it doesn't occur smoothly or consistently, but I'll just save that for another day.
I'm learning more about lerps and the TIC-80 "TIC" loop. It makes my head hurt (we've got a bunch of house work going on to, so this stuff is taking a backseat), but I'm still trying my best.
My understanding of linear algebra and most other types of math is very limited (I was never good at it in school), and as such things like lerp I understand in concept, but not in practice.
I created a new project in TIC-80, and have been tinkering around with basic game mechanics and decided (for whatever reason) to start with lerping...
Needless to say it hasn't been going too well... BUT! I'm at least trying and that's what matters the most to me.
I've never been one to tinker with sound effects, but these fantasy consoles make it so easy. I was able to add in a small sound effect for shooting and it really adds a lot to the game even though it's just a single sound.
Next up... modulation?
Today I learned the hard way how difficult it can be to keep spaces and tabs separate. After adding in a font character to my TIC-80 config (so I can see the tabs) everything became much clearer.
Progress for today was limited to limiting (the amount of "bullets" the player can have on screen at once). I set it up to be an upgrade-able variable - in the event I actually keep working on this, and also worked out some kinks that I added from trying to add different types of bullets.
Off to a bad start with having a streak, but that's just how I've always been. That being said, I am really enjoying both Tic-80 and Moonscript. It has taken me a while to understand some of the... quirks of both - coming from a mostly C#/Java background has been helpful in some aspects, but I do carry a lot of bad habits from those things into my other projects.
Regardless, I have been working more on learning the systems, and how they all interconnect with one another within the fantasy console, and decided to try my hand at implementing some Space Invaders style mechanics! I'll probably move on to other things eventually, but for now I feel this is a good starting point.
My wife and I just had our first child 4 months ago, and being so overloaded with work and home life, I haven't had any motivation to do anything (except play FF XVI). Today I changed that by downloading Tic-80 and tinkering with Moonscript. Wish me luck.
joined 486 days ago
Streak: 0, Longest: 5