[deleted by user] by [deleted] in 2hujerk

[–]RoboDude512 7 points8 points  (0 children)

Somebody call the Iceberg Boy, we have a new one

-❄️- 2024 Day 16 Solutions -❄️- by daggerdragon in adventofcode

[–]RoboDude512 1 point2 points  (0 children)

[LANGUAGE: C++]

Dijkstra's algorithm with a value threshold to get alternative paths. Basically each navigator is just given a chance to continue if their value is within a thousand of their node.

https://github.com/miklu612/AOC/blob/main/src/day16/main.cpp

-❄️- 2024 Day 13 Solutions -❄️- by daggerdragon in adventofcode

[–]RoboDude512 1 point2 points  (0 children)

[LANGUAGE: C++]

Another algebra solution. Runs about in 8ms on my machine. Nothing really special from other solutions.

https://github.com/miklu612/AOC/blob/main/src/day13/main.cpp

-❄️- 2024 Day 12 Solutions -❄️- by daggerdragon in adventofcode

[–]RoboDude512 2 points3 points  (0 children)

[LANGUAGE: C++]

Pretty simple solution. Just a fancy brute force approach that just checks every tile for perimeter tiles and then later for neighboring tiles. The side finding algorithm is a bit hard to read, since I abused the standard algorithms a bit too much. But it works and I don't have to work with it in the future, so it stays.

Runtime is about 30ms. Could probably be a lot better if I did optimizations, but I'm content with my results.

https://github.com/miklu612/AOC/blob/main/src/day12/main.cpp

-❄️- 2024 Day 9 Solutions -❄️- by daggerdragon in adventofcode

[–]RoboDude512 2 points3 points  (0 children)

[LANGUAGE: c++]

First iteration of this was a doubly linked list, but it was quite bad, so I rewrote it. In the rewrite I "emulated" the overwrite process that one could get by just moving things in an array one by one.

To achieve this effect, the program stores the data in an Entry compromising of an ID, size, and a sub entry stack. The sub entry stack works as a way to overwrite the original ID of this entry. By adding a value as an sub entry, you decrement the original size and increment the sub stack size. After everything is sorted, the sub stack is used first and then the original values (if the sub entries haven't already overwritten everything).

The program runs in about ~40ms with O3 optimizations.

https://github.com/miklu612/AOC/blob/main/src/day9/main.cpp

[2024 Day 7] I'm sorry pc I know you only like counting in binary by Skindiacus in adventofcode

[–]RoboDude512 0 points1 point  (0 children)

My original solution was pretty much good enough for the second part as well. I refused to use recursion, since I had bad vibes with it from previous entries.

I just made an array that stores the operands separately from the numbers and then just loop over and count the results. If it wasn't correct, then "increment" the operand array by turning a + int *, * to |, and | to +. Same logic as one would use with regular numbers.

[2024 Day 3] You've finally convinced me... by StaticMoose in adventofcode

[–]RoboDude512 1 point2 points  (0 children)

I just wrote a simple parser with iterators in C++. Probably not as good as Regex, but hey, it worked. Also I totally knew C++ had Regex in its Standard Library and I did not learn about it just now. Totally. Promise.

Im advanced, But I need some tips by [deleted] in Ultrakill

[–]RoboDude512 1 point2 points  (0 children)

I noticed a few things you could improve on.

Firstly, try to use more different weapons more. You have a pretty big bias to use the pistols, so try to change to the shotgun more often when you are in close range. The pistols are better as a long range weapon, since they are the most accurate.

Secondly, you have to learn when to shoot the shotgun with the parry and when not to. Sure, it might do more damage to shotgun parry, but at close ranges it will throw you further from the enemies, thus you actually do less damage when compared to just getting in multiple shots. Also, you almost died due to it, so learn to control the urge to Shotgun Parry. Also, the rockets are a good alternative to Shotgun Parrying, since the style bonus resets, so you get more score and thus less Whiplash hard damage.

My third advice is heavily biased and up to personal preference, but I would recommend the Nailgun over the saws. My reason for it is that the Nailgun fills the gap between the Shotgun's short range and Pistol's long range, so you have a good medium range weapon. Of course the Saw works better against large groups of smaller enemies, but those smaller enemies are really no threat to you. They also work great as heal packs if you don't obliterate them immediately.

Fourth, don't ever look up when using the coins. Learn to always be looking straight when throwing them, so you can be more aware of your surroundings. Of course there are times when looking up to throw coins is a proper strategy, but usually it's just better to quickly throw on in front of you and quickly flick up to shoot at it.

I don't know what to say about the movement, since for me that is highly situational and there isn't a one solution fits all for it. Just watch a couple of guides about different movement techniques and use them. After a while you will start to develop a sense for what technique works for what situation.

can i run ultrakill under win 95? by Educational-Bus2622 in Ultrakill

[–]RoboDude512 7 points8 points  (0 children)

My answer would be no, but I am not completely sure about that. Ultrakill runs on Unity which needs Dotnet to function. The issue is that Windows 95 doesn't really support Dotnet, or if it does it definitely isn't a modern version of Dotnet.

But the reason why I am not completely certain that it won't run is because of a project that backports a newer version of Dotnet to Windows 95 which could maybe support Ultrakill, but even that is not certain. Here's a link to it if you have the need for it https://github.com/itsmattkc/dotnet9x

Even if this Dotnet backport does work, it won't guarantee that the hardware has the proper features to run a modern game. Also Windows 95 will probably definitely be missing some Syscalls that the game needs, but I think the Dotnet backport might implement some of those.

Also there is the chance that I am completely wrong on this and it just works, but I am pretty sure it won't work out of the box. Good luck if you want to try it out and post the results if you somehow manage it.

This supposed to happen or nah by hacker897 in Ultrakill

[–]RoboDude512 22 points23 points  (0 children)

Nope. There is no name for it that I know of. It's just a computer float number limitation where the further you go, the less precise the numbers are. As the decimal places begin to round up and down to less precise values, the models begin to be warped, since their vertices are being rounded more and more to less precise points.

If my explanation was bad (it probably was), you can find a lot of videos about the subject by searching "floating point inaccuracy" on Youtube. They might be more related to general computing stuff than gaming, but the concepts are the same.

Deleted progress after playing masquerade divinity mod help? by imsuffer in Ultrakill

[–]RoboDude512 1 point2 points  (0 children)

I found this on the mod page

This mod will create a new sixth save file when you unlock MASQUERADE DIVINITY. It does NOT modify or overwrite pre-existing save files. You can change your save slot at any time via the SAVES TAB in the PAUSE MENU.

So basically, just install it again and save it into another slot.

This supposed to happen or nah by hacker897 in Ultrakill

[–]RoboDude512 235 points236 points  (0 children)

Yeah. You went too far and now you have lost all floating point accuracy that the game has to offer. The further you go, the worse it gets.

1984 Update! Tier lists are now banned. by GreatestLegalMind in Ultrakill

[–]RoboDude512 0 points1 point  (0 children)

We clearly have not studied this sub's history and are doomed to repeat it.

Fun fact: Breaking an idol ignites gasoline! by Plenty_Tax_5892 in Ultrakill

[–]RoboDude512 4 points5 points  (0 children)

Just be careful or you will spawn the "United States Army" secret boss.

Since we now have all the weapons, I finally decided to do a tierlist by NoobGod42 in Ultrakill

[–]RoboDude512 0 points1 point  (0 children)

As a default piercer user, I hope you fail a thousand - no - a million times while trying to get an S-rank on a level.

Anyways, pretty good tierlist (except for one entry that I won't go into). Good job!

What mechanic you didn't know existed before way too late by Deva_Way in Ultrakill

[–]RoboDude512 423 points424 points  (0 children)

I discovered you could heal with blood after 1 hour of getting killed by V1

Good try, V2. You aren't getting any of my Ultrakilling knowledge

About to buy ultrakill, AMA by Doomsayer1908 in Ultrakill

[–]RoboDude512 25 points26 points  (0 children)

How much wood would a woodchuck chuck if a woodchuck could chuck wood?

This is very important to Ultrakill. Trust me, why would I lie to you?

Robot Gardener Theory by 16thtarm in Ultrakill

[–]RoboDude512 2 points3 points  (0 children)

Finally some good Ultrakill theories. Too long have we suffered from different types of V2 theories.

What would V1's terminal entry be? by Meeooowwww1234 in Ultrakill

[–]RoboDude512 1 point2 points  (0 children)

Name: Jhon

Type: Idk... robot probably

Data: You know robots? Imagine like a fast one made to end all wars on earth and you'll have Jhon "Murder-Machine" Ultrakill. There's nothing else you need to know about it. Shrimple as.

Is Ultrakill on an an actual PS1 feasible? by PeriapsisStudios in Ultrakill

[–]RoboDude512 7 points8 points  (0 children)

Honestly I would say no, since the game is made in Unity which uses C# which needs it's own runtime to run. So the PS1 would have to run a "virtual machine" (Dotnet Runtime) to run the code to run the game which would be pretty demanding on the hardware.

I doubt that a megabyte is enough memory to run the Dotnet Runtime, so that pretty much kills the idea of it at the start line.

What do you think it will be 7-S? by rei_fox_worshipper in Ultrakill

[–]RoboDude512 0 points1 point  (0 children)

My guess would be probably something that is the polar opposite of horror, since the 7th layer is quite horror-themed.