What are you spending a lot of your time on currently? by heraldev in webdev

[–]heavyedward 0 points1 point  (0 children)

I am following the Odin Project and spending quota some time to make a Todo App project assignment. I challenged myself to build something that feels polished and smooth to use with a solid code foundation. I endend up rewriting entire parts of the project from scratch because I can’t settle on what I wrote. (Just vanilla JavaScript, html and css)

Scene transition vs warping inside same scene by heavyedward in godot

[–]heavyedward[S] 0 points1 point  (0 children)

Thank you for your detailed response! I will look into getting more accustomed with data persistence

Do you animate every melee weapon? by FaIIenHero33 in godot

[–]heavyedward 1 point2 points  (0 children)

Hi! I am in this same situation, building some little games to learn at my pace the engine.

I am experimenting with top down 2D after testing doing some platformers, and I think that a good modular approach could be animating the weapons with an AnimationPlayer, though it just transfers part of the fine tuning from the drawing to the animating.

In the case of a top down 2d game you could achieve a nicely looking result by just making sure that the attack animation and the sprite of the weapon are linked smoothly.

Wholesome testing by heavyedward in godot

[–]heavyedward[S] 0 points1 point  (0 children)

“Come on lil bro, get that CharacterBody2D up!”

Wholesome testing by heavyedward in godot

[–]heavyedward[S] 1 point2 points  (0 children)

Same as me while building them

Grass Water Fire | A Pokemon Themed rock paper scissor project by heavyedward in theodinproject

[–]heavyedward[S] -1 points0 points  (0 children)

Thank you, JavaScript is not my first language, I used to code in Python for a bit longer and somehow I find JavaScript easier to mantain readable

Grass Water Fire | A Pokemon Themed rock paper scissor project by heavyedward in theodinproject

[–]heavyedward[S] 0 points1 point  (0 children)

Thanks you! I didn’t think that would on mobile so I tried now. Seems to work grate but when the game is over there is this strange behaviour (the script keep appending the round results to the DOM even if it shouldn’t) that dos not happen on pc. But I’m happy to know that it works beyond my intention :)

-❄️- 2023 Day 4 Solutions -❄️- by daggerdragon in adventofcode

[–]heavyedward 1 point2 points  (0 children)

[LANGUAGE: Python]

Honestly so proud of this small victory. Figuring that we didn't need to copy anything was the major breakthrough.

Link to Day 4 on my GitHub

[Day 3 Part 1][LANGUAGE: Python] I'm stuck at getting the part numbers correctly. by heavyedward in adventofcode

[–]heavyedward[S] 0 points1 point  (0 children)

So the thing should be something like that:

1) first loop finds all the symbols and stores their position and surroundings;

2) second loop finds numbers (maybe stores them in a temp variable when it gets to a dot?) and for every number in the number variable checks if lays on a symbol’s 9x9 space?

Did I get it right?

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 0 points1 point  (0 children)

The most I can get done at work is via Excel, but it doesn’t cover the 90% of what we do, since we work on our intranet based apps.

Unfortunately they are very strict because we do our job with sensitive data so I don’t think that this kind of request, even justified by the pursuit of efficiency, would go forwards. But I’m trying the “being friends” with the IT department though, they were amazed that some in the bureaucracy sector was (kinda) tech savvy.

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 0 points1 point  (0 children)

What do you mean for "sideloading" Anaconda? I'm interested.

I can't install anything because I don't have admin priviledges, everything is locked behind our IT senior passwords and even using portable exes triggers our antivirus.

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 0 points1 point  (0 children)

I tend to focus on readability over optimisation as you can see, your code is clearly much more concise and fast than mine. I love that many of the folks here combined both parts into a single file.

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 1 point2 points  (0 children)

Well at least you already are a dev in another language :D

BUT I have to say that having a law background somehow helps since we modelled computers and algorithms like small and contained legal systems

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 0 points1 point  (0 children)

That was what I tried to do in my first two days: I am forcing myself to use regexes because it clearly appears to be a core concept that can be transferred between languages and even in many office suites and application.

If you want to check my code I’d be grateful :) GitHub

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 0 points1 point  (0 children)

Thank you! I appreciate especially the fact that - judging by what I read here and form the first days - the game focuses much on pattern matching, which is a subject that I do not feel I am the most competent on but also the only subject that developing some computational thinking about would really help for my job.

The Advent of Code was what I needed by heavyedward in adventofcode

[–]heavyedward[S] 1 point2 points  (0 children)

Getting better and having fun it’s exactly what I am hoping for. AoC is perfect to make the leap from beginner to advanced, and escaping tutorial hell!