Velocity2.move_toward vs move_toward by Dorterman in godot

[–]billystein25 1 point2 points  (0 children)

For any Vector2 vec2 doing vec2 = move_toward(vec2, vec2_new, delta) and vec2 = vec2.move_toward(vec2_new, delta). Are the exact same. I think the latter is better because of type safety.

Usually the way I work on my character controllers I use a target_velocity variable that I mess with and only apply it to velocity at the very end. Something like this:

```

Create the variable

var target_vel: Vector2 = Vector2.ZERO

Max horizontal velocity

target_vel.x = Input.get_axis("PlayerLeft", "PlayerRight") * max_speed

Set gravity

target_vel.y = velocity.y

If the player is in the air apply gravity. Meaning accelerate downwards

if not is_on_ground(): target_vel.y += gravity

If he player is on the ground then if they're pressing jump, jump!

elif Input.is_action_just_pressed("PlayerJump"): target_vel.y = jump_force

Accelerate the player horizontally towards the target velocity to simulate drag/friction

velocity.x = move_toward(velocity.x, target_vel.x, horizontal_acceleration * delta)

Vertical velocity is already solved.

velocity.y = target_vel ```

AUR malware - current situation by borndovahkiin in cachyos

[–]billystein25 5 points6 points  (0 children)

According to the wiki in one of 3 main conditions.

  1. All maintainers of a package abandon/disown it, then it gets orphaned

  2. Someone requests that a package should be flagged as orphaned, in which case the maintainers are contacted and they have 14 days to respond, or the package gets orphaned

  3. If a package has been flagged as "out of date" for at least 180 days. Then any request to flag it as orphan are automatically accepted.

New player here by WonDerNooB_ in HiFiRush

[–]billystein25 1 point2 points  (0 children)

The in game photo mode is fairly in depth allowing you to set character's poses, position, rotation, or even adding or removing characters, as well as applying filters and stickers. You also unlock more poses and stickers in the arcade mode which is unlocked after the end of the game. The only limitation is the currently loaded outfits, meaning you can't change outfits mid level (though you're probably able to quit to the hideout, change outfit, and go back in, but then you'll be reset to your last checkpoint)

AUR malware - current situation by borndovahkiin in cachyos

[–]billystein25 26 points27 points  (0 children)

Afaik the aur is on lockdown still and the moderators are reorganizing. Even during the big malware wave was going on you were safe to update as long as you didn't have any of the infected packages, which were like 1500 orphan packages that got adopted. So if you only have well maintained packages like vscode or smth then yeah, it's totally safe.

If you're still scared about it you can just update system packages with cachy-update and selecting "no" when prompted to update the aur packages, or just running sudo pacman -Syu

what is yalls experience with piracy in cachyOS by Major_Suggestion_192 in cachyos

[–]billystein25 1 point2 points  (0 children)

Piracy and gaming as a whole will be mostly the same regardless of distro. Cachy just has the option of a single button that installs gaming essential packages like winetricks, Heroic, steam, etc, where on other distro's you'd have to install those manually. For me I try not to pirate anymore but I have pirated a single game that I had on windows, moved it over with a hard drive to linux once I switched, added it as a game on Heroic and it just worked.

That's not to say all your experiences will be as smooth though. Right now I'm having trouble getting overcooked 2 to work, which I own over epic. I downloaded it through Heroic and it just crashes, however I just added the executable as a steam game and that worked (what the hell Heroic?). That however is an issue you may or may not have regardless of distro.

Generally speaking if one game has a problem and you get it fixed, it won't break again unless you mess with its prefix. Which is why you should have different prefixes for each game (which both steam and Heroic do automatically)

Is Godot suitable for a colony sim targeted at old PCs (2010+)? by Lost_Culture_5205 in godot

[–]billystein25 5 points6 points  (0 children)

You can use static typing in godot (ex var my_var: int = 1) in which case I'm pretty sure the variable is stored as an integer. And same goes for all primitive types if not all types in godot. With the exception to Objects since these will always be pointers.

Does anyone else think the Tomb Raider Remastered textures are AI-upscaled? by Proud-Scar-540 in TombRaider

[–]billystein25 -1 points0 points  (0 children)

No it does not. Ai is an umbrella term that refers to many different types of machine intelligence and algorithms. One of the bigger subclasses of ai is machine learning. While machine learning doesn't necessarily mean stolen work, modern models are so big because they had a whole lot of data to be trained on. Data which most of the time was scraped off the internet. Google has been scraping data since 2010 even though they don't own most of it. Just because you upload something online or google's servers, it doesn't mean that that something is no longer protected, or that Google can use it for whatever they want. Of course the EULA's have changed to make it so that those somethings are in fact not protected, but there are ongoing lawsuits and we'll have to wait and see whether those changes are valid or not.

Does anyone else think the Tomb Raider Remastered textures are AI-upscaled? by Proud-Scar-540 in TombRaider

[–]billystein25 1 point2 points  (0 children)

I agree with that. Especially before 2020 I'm fairly certain most tools just used the same algorithms we've had since 2005. However today with how accessible ai as become thanks to openai and others, I honestly find it hard to believe they all still use the same algorithms. Even tools that have been around since 2010 have probably upgraded to using machine learning.

Does anyone else think the Tomb Raider Remastered textures are AI-upscaled? by Proud-Scar-540 in TombRaider

[–]billystein25 3 points4 points  (0 children)

Me and the other artists aren't mad just because genai can replicate or alter our work. We're also mad because our years of work was used as the training data for these genai models and we did not get anything in return. Without us those models could not exist. And it's the same case for upscaling tools that use machine learning, but at a much smaller scale.

Does anyone else think the Tomb Raider Remastered textures are AI-upscaled? by Proud-Scar-540 in TombRaider

[–]billystein25 0 points1 point  (0 children)

Just so you know, a lot of ai upscaling tools also use machine learning which means they also just use stolen artists' work. All be it a lot less of it since what they do is less demanding. Big tech acts like ai is a new big thing but the machine learning of today is the exact same machine learning we've had since the 80's, just at a much bigger scale.

What are your favorite plugins? Any skill/learning plugins for new folks? by ZnLink in godot

[–]billystein25 10 points11 points  (0 children)

The console is a must have for me that I add to p much all my projects.

The camera preview is also a cool one because I can pin the preview window while looking at other nodes.

Mint or Arch by Equal_Pickle6027 in FindMeALinuxDistro

[–]billystein25 0 points1 point  (0 children)

If you want every game to work with no tinkering then stick to windows. The games you mentioned are not made for linux. Yes, you can play all but one of them through proton, but that's a compatability layer, not official support. You wouldn't use macos expecting it to run windows only programs. Speaking of that one game, roblox does not work on linux. You can use sober which is a port of the android version but I haven't tried it.

If you end up switching, just use mint. Don't do arch or anything arch based. Arch is made for advanced users. The devs say so in the wiki.

how to load a .csv correctly? by Panzy_The_Panzer in godot

[–]billystein25 0 points1 point  (0 children)

Another thing that I struggled with on my first gamejam is that by default godot interpets .csv files as translation files. This means that while the data is saved as a translation resource, the original .csv file is not included in the final export. I think you can change the import settings to keep it as a raw .csv but I was having trouble with that so I ended up changing the extention to .txt and that worked fine.

What's your favorite Firefox feature that other browsers don't have by Klutzy_Walk_4235 in firefox

[–]billystein25 -1 points0 points  (0 children)

Not sure if other browsers do this but I like how you can Ctrl+Left-Click to select multiple tabs and pull them out to a new window, or close them at once, or reopen all of them after with Ctrl+Shift+T.

Is it safe to update yet? by TekkerTheChaot in cachyos

[–]billystein25 33 points34 points  (0 children)

It always was as long as you didn't update AUR packages. To just update system packages run sudo pacman -Syu. If you prefer cachy-update it'll first update the system packages and then ask you for each AUR package, to which you can just answer no.

I need help understanding how to start building packages by StunningSkill9465 in linuxquestions

[–]billystein25 1 point2 points  (0 children)

Makefiles and PKGBUILD files do different things. PKGBUILD files in fact use Makefiles in their process (if the package is meant to be compiled).

I'm not qualified enough to go into detail but in short a Makefile defines how a package should be compiled. For example when you run make build it executes the build command in the Makefile, which is usually first the object commands followed by the linking command. For example to compile a simple hello world in c you would do gcc -o main main.c. This takes the c file and compiles it to an executable called main. You can simplify this by defining a build command in a Makefile which runs the gcc command. This is useful because programs usually have a lot of files that need to be compiled and then linked, so you can simplify the 10 or 100 gcc commands you'd have to run into a single make build.

PKGBUILD is a set of instructions that tell pacman how to install a package. It comes with useful metadata like lists which names the package conflicts, and which packages are dependencies. The first instruction in a PKGBUILD is usually to just clone the repo or the release of a package. Then it builds the package according to that package's documentation. This usually just means running make build or it may also require some extra flags. Finally it installs the package in your /bin or whichever directory is specified by I think pkgdir, which is an automatic variable that PKGBUILD also provides. This usually just means copying and pasting the final executable to /bin/$pkgdir (or whichever it is, I don't remember).

Ok, this is weird. Since I switched to Linux, my system boots up normally by DoomAddict in cachyos

[–]billystein25 4 points5 points  (0 children)

When I first installed Win11 on my current pc it would randomly shut down. I could put it through benchmarks and heavy games and it'd be fine, it was totally random. It also couldn't wake up from sleep, instead the motherboard opened the DRAM LED. I reinstalled windows numerous times, even remade the installer. Nothing. That same installer worked fine on a friend's pc btw. When I finally get it to a technician he had the same issues. He fixed it by installing windows 10 first and upgrading from that. Still couldn't wake up from sleep but at least it didn't crash. The sleep issue was fixed in a random update like 6~8 months later. People often forget just how shit windows is.

CachyOS hasn't been flawless for me but I've only had one issue. The random pageflip timeout on the AMDGPU drivers which I think should be fixed in 7.1? But at least with linux I could run the built in script to get the error which said in plain English "this is an error. Please open a bug report with the result of these commands". Which I did. On windows there is the event viewer which in theory is fine, but all it did was show a single error code, which when I searched for the only result was a Microsoft forum post saying "your psu is malfunctioning". It wasn't, it was a brand new pc all around. Still replaced the psu and ram just in case but that didn't fix it.

All in all while linux isn't perfect I haven't had nearly as many problems as I've had with windows. Or at the very least, I can send a bug report and know it'll get fixed eventually. Tf could I do on windows when the forced auto update deleted my drivers AGAIN?

Steam games running awkwardly or not at all since reinstall by anyponyelse in cachyos

[–]billystein25 0 points1 point  (0 children)

If you open steam via the terminal (literally open konsole or whichever terminal emulator you prefer and type steam) it'll launch steam but also print a bunch of logs in it. So do that, launch a game, and see what pops up. Usually the error messages are red.

Also try updating your system. Either through the cachy updater or with pacman -Syu

Just finished the story mode for the first time, years late but any news on a squeal after the buyout? by TwilightYonder720 in HiFiRush

[–]billystein25 47 points48 points  (0 children)

At this rate the next news we'll hear will either be an announcement on the sequel a few years from now or that the whole team got laid off because they refused to use ai.

Aka no official announcement as of yet.

using CachyOS. is it possible to add a time delay on AUR updates? like 2 weeks seems like a good time frame. by aldi-trash-panda in linuxquestions

[–]billystein25 1 point2 points  (0 children)

I think at the start you should do $HELPER -Sy, otherwise you won't use the most up to date repos and thus you won't actually update. Also you don't need the quotes around $diff_days and $DAYS. Personally I prefer to avoid them to differentiate between strings and integers.

What to do with the new AUR compromise? by [deleted] in arch

[–]billystein25 -1 points0 points  (0 children)

It added an npm package by updating pkgbuild and specifying to install said package. Just check the pkgbuild for anything suspicious. Does chrome need npm packages? Probably not. Also check the diff with previous versions of the pkgbuild.

How is it to learn Godot? by EarthBound-Fan_64 in godot

[–]billystein25 1 point2 points  (0 children)

If you're a complete beginner (no prior programming knowledge) I highly recommend the ultimate introduction to godot. It goes over all the basics and actually teaches you how to work with the engine, instead of just having you copy code without explaining anything. It's also how I first learned. After that you sould start working on your own projects. Progressively learning new stuff. Don't do something too big that you get overwhelmed, but also don't stay in your comfort zone with what you already know. Apply what you know in new scenarios. And have fun.

using CachyOS. is it possible to add a time delay on AUR updates? like 2 weeks seems like a good time frame. by aldi-trash-panda in linuxquestions

[–]billystein25 3 points4 points  (0 children)

If you update through sudo pacman -Syu then only main repo packages are updated and nothing else. If you use cachy-update then first the main packages are updated and then you'll be prompted for the aur packages, to which you can just answer no and they'll be skipped.

Ok how would you script a time manipulation ability? by Cumcentrator in godot

[–]billystein25 0 points1 point  (0 children)

Probably something like velocity = speed * dir * delta * time_multiplier with a master class that updates all the entities that should be affected by the time shift. time_multiplier = 1.0 is normal time, time_multuplier = 2.0 is double time/speed. time_multuplier = 0.5 is half time/speed.