• 0 Posts
  • 171 Comments
Joined 8 months ago
cake
Cake day: November 14th, 2023

help-circle

  • I’m playing Jusant right now. It’s one of the best non-combat games I’ve ever played I think.

    You play as a climber who tries to make it up a towering mountain/rock tower, and you find letters along the way that tell the story of what has happened to the world and the inhabitants of the tower. All the water seems to have disappeared from around where the tower is located. Ships and boats decorate the desert around the tower. Some letters are found in chronological order as you go up the tower, following certain characters, indicating they also made the climb up. Others are in reverse chronological order, indicating the need to incrementally descend the tower as the water level decreased. In those, you can tell the desperation and mindset of the people changing as things got worse, but more relaxed the higher up you get.

    The exposition is simple reading of text, but in combination with the story it makes it very interesting.

    The gameplay is super fun: it’s challenging enough to be entertaining, easy enough to be chill. Simple yet engaging controls.

    The art style is very cool IMO. The world is not textured. The developers instead relied solely on very detailed colored and shaded geometry to convey texture, leveraging UE5’s nanite and lumen systems respectively. And I have to say, there’s a lot of detail in the geometry and in the amount of world objects. It really brings life to the game world.

    Very difficult to put down. I think about wanting to play/finish it when I’m doing other things. 😅 Haven’t had that feeling with many games.

    9/10















  • Victor@lemmy.worldtoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    arrow-up
    39
    arrow-down
    1
    ·
    edit-2
    15 days ago

    In node, I get the same result in both cases. "[object Object]"

    It’s calling the toString() method on both of them, which in the array case is the same as calling .join(",") on the array. For an empty array, that results in an empty string added to "[object Object]" at either end in the respective case in the picture.

    Not sure how we’d get 0 though. Anybody know an implementation that does that? Browsers do that maybe? Which way is spec compliant? Number([]) is 0, and I think maybe it’s in the spec that the algorithm for type coercion includes an initial attempt to convert to Number before falling back to toString()? I dunno, this is all off the top of my head.