Recent Posts

Pages: « 1 2 3 4 5 6 7 8 9 10 »
31
Cute Discussion / Re: IguaRPG 2 Devlog
« Last post by SquareWheel on March 19, 2024, 10:41:48 AM »
I like writing ES6, but have basically been a curmudgeon about learning the new school way of doing things with frameworks, build steps and bundlers.  I'm not completely new to them since I used preprocessors back in the day (remember LESS/SASS, gulp/grunt, Bower, and Browserify?  No?), but I basically fell off after things moved in the direction of Webpack.  I didn't like how much "magic" it did versus the clearly defined build steps of gulp.  And the fight over CommonJS vs AMD didn't have a clear victor yet, so I was hesitant to invest in either world (turns out they both lost).

Anyway I was working on a side project, and found I was needing to dedicate a lot of code to managing state and keeping the page in sync with local memory.  It was getting messy.  On top of that I had a few different modules that were effectively pages each needing to share information, each with a UI setup function, and with a switcher function to swap between them.



Rather than try to refactor that mess into something more elegant, I decided it was time to start learning Vue.  Any of these state management libraries probably would have worked, but Vue offers an easier start and two-way data bindings.

So far Vue is pretty cool.  It's nice to have more declarative logic to the template, and definitely makes things easier to reason about.  Instead of defining a bunch of dynamic elements in JavaScript, just create them in HTML and slap on some magic attributes.  It's often less code, but more importantly it's easier to parse at a glance.  I was already making use of modules but Vue single-file components feel like a nice extension of that concept.

I still need to rewrite my app, but I think I've got enough of the foundations down now that it shouldn't be a problem.  I'm still keeping the stack pretty slim with just Vue 3 + Vite.  Might introduce Vue Router if I can find a way to make it work with GitHub pages (hijacking the 404.html maybe?).

I expect the experience should be relatively transferrable to React or other frameworks.  Especially if I start picking up the Composition API.  So far I've mostly stuck to the Options API since it's used in the documentation I've been following, but I'm thinking that's mostly just a difference in syntax.

Anyway there's still over 9,000 other JS tools I haven't learned yet, but this seems like a good start.  Pray for my hard drive as it bears the brunt of node_modules.
32
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by SquareWheel on March 19, 2024, 09:48:34 AM »
I downloaded the Archthrones demo for Dark Souls 3.  It's purdy good.

Also been playing a lot of Risk of Rain 2 lately.  Been slowly leveling up the Eclipse difficulty levels, which basically add a new challenge every time you get a successful win.  I played some more Risk 1 after the remaster came out too, but have basically finished with it now.

Am excited for the Elden Ring DLC.
33
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by dcco on March 19, 2024, 05:57:31 AM »
y'all been playing any cool new video games in the year 2022
34
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by dcco on February 15, 2024, 02:39:09 AM »
real ones know. im gonna make an indie game with a 3-4 remake
35
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by SquareWheel on February 13, 2024, 11:02:19 AM »
I started it last night actually.  Played the first three chapters then was too sleepy to continue.  Enjoying it so far!
Finished it now!  Game gets tough in the final chapter and the C Sides.  Lots of fun though, and super polished.

Also, are you seeing what I'm seeing?
Spoiler (click to show/hide)
36
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by dcco on February 03, 2024, 12:29:00 AM »
oh dang it's a long game? might have to sheck it out altho ive been finding lately that 3d platformers are quite hard for me :U kinda prefer 2d
37
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by hubol on February 02, 2024, 12:47:15 AM »
did anybody see that the lyle in cube sector dev randomly showed up again with a "retro 3d" style platformer. i haven't played that one yet but probably should.
https://store.steampowered.com/app/2575900/Corn_Kidz_64/

I played a bit but got scared by how big it started feeling! I love how it looks and sounds! The characters were cute, too. It's been a while so I might go back and restart.
38
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by SquareWheel on February 01, 2024, 07:18:24 PM »
or maybe you already played it in the last month since your post.
I started it last night actually.  Played the first three chapters then was too sleepy to continue.  Enjoying it so far!
39
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by Nijuu on February 01, 2024, 11:33:15 AM »
did anybody see that the lyle in cube sector dev randomly showed up again with a "retro 3d" style platformer. i haven't played that one yet but probably should.
https://store.steampowered.com/app/2575900/Corn_Kidz_64/
40
Cute Discussion / Re: Official Video Games Topic for the Year 2022
« Last post by Nijuu on February 01, 2024, 11:30:21 AM »
or maybe you already played it in the last month since your post.
Pages: « 1 2 3 4 5 6 7 8 9 10 »