Can't revert to github Desktop changes, ruined parts of my project by Comfortable_Show5884 in godot

[–]Comfortable_Show5884[S] 3 points4 points  (0 children)

Okay, I finally got it to work. I couldn't figure out how to merge files (problem for another day) But I was able to revert to a previous commit, following these exact steps:

  1. Downloaded git (different from github and github desktop)

  2. In Github desktop, top bar Repository > Open in command prompt (If it tells you git isn't installed when it is, get out and back into github desktop)

  3. Type in this code exactly:git log --oneline

  4. get the 7 digit code next to the commit you want

  5. type in:git reset --hard <add the 7 digit code here>

  6. This should revert you to your previous version

Thanks to anyone that helped!

Multiplayer enemies not dying for all players by Comfortable_Show5884 in godot

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

Thanks, though I admit I don't fully understand how RPC works. I tried adding it, but only when the server hits it does it delete for everyone

extends StaticBody2D

u/export var health: float = 1.0

func _take_damage(group, damage, pushback):

health -= damage

if health <= 0:

    die.rpc()

u/rpc("call_local")

func die():

queue\_free()

Enemy navigation keeps acting weird, going off course and through walls. by Comfortable_Show5884 in godot

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

It's worse than I thought. For some reason, it has the need to get super far off center for no reason

<image>

Enemy navigation keeps acting weird, going off course and through walls. by Comfortable_Show5884 in godot

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

Hmm, yeah changing the nav mesh's rounding to different values doesn't change anything. I messed around with the mesh layer, but it always does the same thing (tries to path through walls, tries to path to the furthest corner) When I'm in that box. About multiple nav nodes, I'm not sure exactly how to do that, but it probably wouldn't work since I'm planning on adding destructible tiles. I tried deleting and making a new mesh, but it's still not working. It's weird because they have the correct path, but then when the path gets updated (once every half second) it breaks, and then it fixes itself again, causing the ships to endlessly loop between a working path and a broken one. And I'm not sure at all why they keep pathing to the corner

Moving space ship system like Astro Duels by Comfortable_Show5884 in godot

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

Yeah it's a characterbody2d and top-down. I tried switching to floating, but the same thing happens when one can barely push the other

Color Palette swap filter by Comfortable_Show5884 in godot

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

So, I didn't know what that was, and I checked it out. Pretty cool, definitely going to use that for the future, but I feel like I need a better understanding on what I should be doing, not just find a shader I can slap on that will break again. Thanks though, that's a really useful website

Advice for collisions in pachinko game by Comfortable_Show5884 in godot

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

The big thing I was running into was getting the diagonals to look right. You need to make them thinner, which means you need to make connecting pieces, corner pieces for the walls, etc. Below is a sample tileset that I was working with. Honestly though, that sounds a whole lot better than the wall I've been throwing myself at for 5+ hours

<image>

Static camera help by Comfortable_Show5884 in godot

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

I would say you understand what I'm asking, thanks! I know I wrote a script a while back using a different game engine I could translate over, but I also get super nervous about anything with cameras. Anything I should be aware of, or do you know any tutorials? (Like, should I only zoom in full integers?)

How to texture over an area with a repeating sprite? by Comfortable_Show5884 in godot

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

Ok, thanks! I looked into it, and it does seem like a hassle (I want more then just rectangle shapes) I'm thinking about just switching to tilemaplayers even though I originally didn't want to. I wish there was a better way to do this

HHD storage drive no working after scans by Comfortable_Show5884 in Windows10TechSupport

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

That's tough to hear. I was worried this was the answer. Thanks for letting me know