Skip to content

Thad writes blogs

this is a lot more work than i expected

Menu
  • About
  • Pin Posts
Menu

Advent of Code in Unreal Engine Day 1

Posted on December 1, 2022December 1, 2022 by Thad

Day 1 splits into two logical steps. Processing the input (which has been imported as a custom asset), summing the parsed values into a new array, and then from that getting the answers to part 1 and part 2.

First collate the input into elves totals:

https://blueprintue.com/blueprint/k0t81sky/

Then for part 1, the Max Of Int Array node does the job. For part 2, a new BP function to get the sum of the top N elements, which looks like this:

https://blueprintue.com/blueprint/6k4v6dzu/

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • October 2024
  • January 2023
  • December 2022
  • November 2022

Categories

  • Food
  • meta
  • Uncategorized
© 2025 Thad writes blogs | Powered by Minimalist Blog WordPress Theme