It's kind of useful in Arch, but most useful in slow release distributions. You can get stuff like Spotify or Discord if you want without going through the AUR. But say if you were on a LTS release and wanted the latest blender, you could get the flatpak (though I suppose you could download it from their site as well).
Also, there's supposed to be a plugin for it. something like gnome-software-store-plugin but I forget. it's in the debian setup guide, gnome-software-plugin-flatpak. That should get it in there.
Edit: Forgot to say, I do use it sparingly. I Installed discord with it, though like I said, I don't find it as useful if your distro is rolling release.
Yeah I understand completely (as I'm trying to make some kind of minimally complex 3d game with simple graphics).
Some tutorials that'd be helpful to me right now though are pieces of a bigger puzzle. If I was to request a video, it'd be placing two objects. A player and an NPC (as capsules would be fine). Then showing how you'd have them interact (like talking, attacking, etc) and in a way where if you make more of either and they'd work without extra code. The tutorials always just throw everything in the main scene and don't create separate scenes like you're "supposed to" for objects you're going to reuse. Just seeing a video on properly implementing that would help me out.
I'm not an expert by any means, but I always find my issues are never really Arch issues, but specific to software. I feel Arch does a pretty damn good job of keeping itself separate from the software you run.
How I learned to install Arch Linux in under 30 minutes (Manjaro hates him).
Take 1 to 3 days to install it for the first time. Lose some years on your life.
fuck something up and have to reinstall the whole thing (repeat dozens of times, not realizing you could just echo LANG=en_US.UTF-8 >> /etc/locale.conf after the fact)
play pacman roulette and bork your system
Decide you want to try different distros and see if the grass is greener on the other side
Turns out the grass is not greener and go back to Arch because you get frustrated with all the crap they install with other distros.
Forever go back between 4 and 5. (You're now able to install Arch in under a half hour with only screwing it up 35% of the time)
First thing I do when installing arch on a laptop with 3200x1800 display:
If I'm using efi:
pacman -Sy terminus-font
setfont ter-132n
# when arch-chroot /mnt
pacman -S terminus-font
echo FONT=ter-132n >> /etc/vconsole.conf
vi /etc/mkinitcpio.conf
#add consolefont in modules section (I do it before blocks and after keyboard and keymap if I'm using encyrpt)
edit: by the way, when you mount your efi directory, it should be to /mnt/boot, and not /mnt/efi or /mnt/boot/efi then when you install grub, it should be /boot not /mnt/boot, /boot/efi or /efi
edit 2: I'm watching the video right now and a tip I have for installing arch is I don't bother with any other partitions other than /boot (if I'm using efi) and /. I don't find my systems have ever written to a swap, I also like to do full disk encryption and using systemd-swap is easier.
so, I'd just make a efi partition, mount it to /boot, make a ext4 partition and mount it to /mnt. It'll streamline your installation a little bit and maybe make it a little easier for you.
edit 3: Just noticed you mkdir /mnt/boot before mounting /mnt. You need to mount your root partition first then make the boot directory, then mount the boot directory.
In my limited experience as a more advanced beginner in game development, I feel like Godot is oddly easier to use than other similar offerings. I don't know if it's the nodes or that I just haven't really gotten that far in building a game, but I've gotten about as far in Godot as I have in Unity and it (Godot) really holds its own. I think the only thing needed is a really good set of official video tutorials (that you can find on the site) and to fill out every bit of the documentation. I find myself wandering what a function does only for it to not have an entry.
If you want to learn general programming, I hear "Learn Python the Hard Way" is a great starting book. I learned Python from "Invent Your Own Computer Game with Python"
#incase anyone's wonder how I got the mouse positions
var mouse_pos = get_viewport().get_mouse_pos()
cam.set_rotation_deg(Vector3(clamp(rad2deg(-mouse_pos.y) / 100,-80,80), 0, 0))
set_rotation_deg(Vector3(0, rad2deg(-mouse_pos.x) / 100, 0))
It's okay but not perfect. It'll have to do for now. No idea if I'll run into problems later on with raycasting. I think now the way I move forward (relative to the direction the camera is pointing) is already causing the player to slow down when looking down or up because it's basically pushing into the ground I think as opposed to moving forward.
Edit: Turns out it doesn't work. If you move the mouse to the edge of monitor, it stops the camera from moving. So I'll be looking into using an event function and see if I can't come up with something...
Thanks for your help. If you have any more suggestions or better code, please post it!
I can look up and down fine and it feels okay, but the problem seems to be that once you move the mouse, it instantly makes the camera turn upside down pointed behind where the play was looking. Maybe if I find a way to constrain the degrees I can fix it.
I'm not sure how to translate the output of the mouse position into something that can be used to rotate the camera. It just wants to go flying when I try that.
It's kind of useful in Arch, but most useful in slow release distributions. You can get stuff like Spotify or Discord if you want without going through the AUR. But say if you were on a LTS release and wanted the latest blender, you could get the flatpak (though I suppose you could download it from their site as well).
Also, there's supposed to be a plugin for it.
something like gnome-software-store-plugin but I forget.it's in the debian setup guide, gnome-software-plugin-flatpak. That should get it in there.Edit: Forgot to say, I do use it sparingly. I Installed discord with it, though like I said, I don't find it as useful if your distro is rolling release.
Yeah I understand completely (as I'm trying to make some kind of minimally complex 3d game with simple graphics).
Some tutorials that'd be helpful to me right now though are pieces of a bigger puzzle. If I was to request a video, it'd be placing two objects. A player and an NPC (as capsules would be fine). Then showing how you'd have them interact (like talking, attacking, etc) and in a way where if you make more of either and they'd work without extra code. The tutorials always just throw everything in the main scene and don't create separate scenes like you're "supposed to" for objects you're going to reuse. Just seeing a video on properly implementing that would help me out.
I'd really appreciate more 3d Godot tutorials. There's not really enough of them and none go deep enough really.
I'm not an expert by any means, but I always find my issues are never really Arch issues, but specific to software. I feel Arch does a pretty damn good job of keeping itself separate from the software you run.
Sometimes you want to see what all this talk about YaST is, then once you do you come running back crying and promising you'll never leave Arch again.
How I learned to install Arch Linux in under 30 minutes (Manjaro hates him).
So you can see what you're doing,
First thing I do when installing arch on a laptop with 3200x1800 display:
If I'm using efi:
It's the grub boot loader configuration. It's where you can set kernel parameters, change how long grub takes to count down, add a theme, etc.
https://wiki.archlinux.org/index.php/GRUB#Generated_grub.cfg
edit: by the way, when you mount your efi directory, it should be to /mnt/boot, and not /mnt/efi or /mnt/boot/efi then when you install grub, it should be /boot not /mnt/boot, /boot/efi or /efi
edit 2: I'm watching the video right now and a tip I have for installing arch is I don't bother with any other partitions other than /boot (if I'm using efi) and /. I don't find my systems have ever written to a swap, I also like to do full disk encryption and using systemd-swap is easier.
so, I'd just make a efi partition, mount it to /boot, make a ext4 partition and mount it to /mnt. It'll streamline your installation a little bit and maybe make it a little easier for you.
edit 3: Just noticed you mkdir /mnt/boot before mounting /mnt. You need to mount your root partition first then make the boot directory, then mount the boot directory.
So, what I do is,
and that should do it. It does for me.
My guess is due to old builds of mesa and the like?
In my limited experience as a more advanced beginner in game development, I feel like Godot is oddly easier to use than other similar offerings. I don't know if it's the nodes or that I just haven't really gotten that far in building a game, but I've gotten about as far in Godot as I have in Unity and it (Godot) really holds its own. I think the only thing needed is a really good set of official video tutorials (that you can find on the site) and to fill out every bit of the documentation. I find myself wandering what a function does only for it to not have an entry.
I'd say give it a go. Look at some of the written tutorials on the site and the videos from https://www.youtube.com/user/gamefromscratch
If you want to learn general programming, I hear "Learn Python the Hard Way" is a great starting book. I learned Python from "Invent Your Own Computer Game with Python"
perfect, thanks!
Edit: Figured out the problem. At some point the script got cleared from where I had it. I went into the player.scn and re-added it and now it works.
Thanks for your help
Thanks. Changing the if statements worked.
I was never good at understanding when to use multiple if statements and when to use else if.
I got the code to work:
It's okay but not perfect. It'll have to do for now. No idea if I'll run into problems later on with raycasting. I think now the way I move forward (relative to the direction the camera is pointing) is already causing the player to slow down when looking down or up because it's basically pushing into the ground I think as opposed to moving forward.Edit: Turns out it doesn't work. If you move the mouse to the edge of monitor, it stops the camera from moving. So I'll be looking into using an event function and see if I can't come up with something...
Thanks for your help. If you have any more suggestions or better code, please post it!
I'll try that, thanks!
Edit: So it works but with some caveats.
The code is:
I can look up and down fine and it feels okay, but the problem seems to be that once you move the mouse, it instantly makes the camera turn upside down pointed behind where the play was looking. Maybe if I find a way to constrain the degrees I can fix it.
yeah, but it had the same effect.
I'm not sure how to translate the output of the mouse position into something that can be used to rotate the camera. It just wants to go flying when I try that.
There is an InputEventKey class that has a public method (bool) is_action, is_action_pressed, and is_action_released
Though I ended up scraping the idea i had that used it so I didn't get to test it.
End of this list.
Back to top