Soda is a cute name

Today’s deck is the Japaridze Tarot.

My brain keeps trying to read the name as Japan related, but it’s just a French name because of course it is. Decks’s solid though, French nonwithstanding.

Today’s readi- ALL NINES HOLY SHIT. I mean the reading is something about the stresses I’ve gone through with work or whatever BUT THREE NINES LET’S GOOOOOOOO.

So for today I decided to try and make a menu move and that shouldn’t have taken me as long as it did. I kept modifying things, switching scripts, trying out this and that and no luck.

I was DETERMINED to not let such a simple thing beat me, though. So I decided to take a shower, eat, and then try again.

No sooner I enter the shower when I go “hey dumbass, you weren’t putting that code on the Step function”.

For context, game engines tend to have a “Step” element in their objects which is basically code that executes on every step whether that step is a second, a CPU cycle, 60 frames or whatever else. You shouldn’t put code there lightly because otherwise a lot of resources are taken unnecessarily.

But you know, I was trying to move a Sprite from point A to point B, if the code is executed once it’s only gonna move once.

So after the shower and a snack, I make a separate room to make a test where all I need it so move something. No extra conditions or weird stuff.

The actual next step required a little extra finnagling. First I made the menu appear from one side which was cool, but then I needed to also make it disappear to the side.

But I did it in the end.

Now, here’s the coolest part I learned. I can tell the “Continue” button’s on_pressed “signal” to be received on the sprite so that when you press the button the code is executed directly in the sprite object.

This is HUGE. I was used to making buttons that then call functions or activate variables and that’s Fine but it makes debugging hell because you gotta go through a million button objects. But having all of the triggers go directly to the object means not just that all the debugging happens in a singular place, but if I replace the button down the line I just gotta line the on_pressed event again and that’s it.

This is how the to-do list looks after today.

Items were moved around, but the next step might actually be to redo the code from scratch. By which I mean basically doing what I already did but knowing what I’m doing instead of moving pieces of code everywhere haphazardly.

That’s for next week though. I said that I was gonna code from one to three days of the week and I did. Now I can try doing other things and I think about what comes next in the process.

As a reward from me to me I decided to go to Js Burger, though I tried a different route there for fun.

To my surprise, one of the staff hit me with the いつもありがとうございます, if this was a game that’s usually the sign that your bond with a store clerk has gone from 0 to 1.

Then again, being a non-white foreigner does make you stand out a bit.

Burger was good as always. I’ve yet to be disappointed by taking the 40-ish minutes in train just for it.

By the way, today’s title is because I saw their menu had a “crafted drink” called “Cherry Berry Soda” and I was like “I have a doll named Cherry and one named Berry… Soda is actually a cute name for a future one.”

After returning I kept playing DK Bananza and finished it. Really good game! First time in my life I’ve cared about Donkey Kong.



Posted

in

,

by

Tags: