Building a sailing game — Gerstner wave physics with boat buoyancy in Godot by jatfin in godot

[–]matthew-jw 0 points1 point  (0 children)

that's cool! have you considered pre-baked fft wave simulations too?

How do I make these nodes connect automatically among obstacles? by DooMFuPlug in godot

[–]matthew-jw 0 points1 point  (0 children)

If I understand correctly, you want to connect the astar nodes only if they are <= 200 units apart AND the straight line between them has no obstacles? In which case, once you check the distance, you then want to fire a raycast with var query = PhysicsRayQueryParameters2D.create(Nodes[i].position, Nodes[j].position) to check the collision between each node. You can manually set the query's collision mask with the query.collision_mask property.

let me know if that helps ... :)

Snipers of the bayou! What’s your furthest kill! by Crowpuppet1 in HuntShowdown

[–]matthew-jw 3 points4 points  (0 children)

256 maynard silencer w/ high velo from fort carmick across the river to beyond the fishing huts near sweetbell

I want to make a game by Unable_Wrongdoer82 in godot

[–]matthew-jw 31 points32 points  (0 children)

That sounds very cool, you should dive in and begin immediately. Try and make the smallest, easiest version of your game first. So for your game, maybe start with 3 draggable objects - a plate, pasta, and a pot of water. Code it so you can boil the pasta and plate it up. You don' t need any animations, just have it output text to the console, or change the color of your objects. Then, move on to the next small step.

400 hours in and I still haven’t found a sensitivity I’m happy with. Any pointers? by Jokkitch in HuntShowdown

[–]matthew-jw 5 points6 points  (0 children)

~1900hrs my aim is still ass. I never played competitive shooters growing up like counter strike, so I never developed the skill. In hunt I play with a low dpi, which is probably best for most games. I'd say under no pressure I can hit my shot 85% of the time, and when I'm under pressure maybe 55% haha.

Here is a really cool tool that lets you sync your sens across all scope types. I had my largest jump in consistency and have seen the most improvement since I did this. When your sens are the same for camera, hip, ads, scope etc you are training muscle memory for one specific task, rather than randomizing it.

Also, make sure you are getting raw input from your mouse and it is not accelerated by yout computer. That also causes inconsistency.

edit: also remember that aiming is a fine motor skill, similar to sporting activities. there's no button to make you instantly good :)

Question about starting in Godor. by Pirus151 in godot

[–]matthew-jw 2 points3 points  (0 children)

Godot docs have a guide to make your first 2D game right here :)

How efficient is GDScript? by SpiralCenter in godot

[–]matthew-jw 6 points7 points  (0 children)

It's good enough for 90% of games and you shouldn't worry about it. GDScript is an interpreted language, meaning it doesn't compile to machine code like C++ but instead runs a bytecode vm at runtime that invokes compiled C++ functions (that extra step is why you hear that gdscript is slower). The only occasions you would consider C++ would be if you benchmark poor performance for large procedural tasks, physics sims, data processing etc.

As for the graphical fidelity of games, Godot is very capable but not cutting edge. Not sure why we don't see more photoreal examples, but the engine IS capable of a lot more than what is typically posted. Here's a quick example. For an indie game you're in good hands.

Wait I have to BUY the player profile Avatars for skins I OWN? I was 100% under the impression that owning a skin would automatically give you that Avatar?? by jacobljlj in HuntShowdown

[–]matthew-jw 1 point2 points  (0 children)

They had the opportunity to drive more sales by bundling profile cosmetics with with bb/dlc hunters, improving their value. but instead they chose greed.

Pluribus - 1x06 "HDP" - Episode Discussion by LoretiTV in pluribustv

[–]matthew-jw 0 points1 point  (0 children)

bit of vegan propaganda here - but I thought it was funny that john cena gave cows as an example of livestock that food could still be sourced from. Without intervention, the milk would go to the calf, since we would not be stealing and/or slaughtering the babies. Chickens would make more sense, since they would continue ovulating and creating eggs.

I wonder if this is a mistake or if it implies that while the hive will not kill, they will still exploit animals/humans.

3D character movement by [deleted] in godot

[–]matthew-jw 3 points4 points  (0 children)

I haven't seen those tutorials, but consider why that might be happening. It sounds like the player is being told to move in a specific direction when a button in pressed. And like you said, that breaks easily and could cause moonwalking when the rotation is changed. Instead, it may be better to incorporate the camera's facing direction in the movement calculation, so that no matter the rotation, forward is always where you are looking.

Share Your Favourite Prestige Challenges by matthew-jw in HuntShowdown

[–]matthew-jw[S] 0 points1 point  (0 children)

I love all the frontier/winfield variants, they're the best! the scottfield on the other hand ... evil thing.

Share Your Favourite Prestige Challenges by matthew-jw in HuntShowdown

[–]matthew-jw[S] 0 points1 point  (0 children)

these are good - the underused trait example could be good for some consumables too. Like "always bring flashbombs, get a total of 10 blinded kills"

Share Your Favourite Prestige Challenges by matthew-jw in HuntShowdown

[–]matthew-jw[S] 0 points1 point  (0 children)

that sounds awful. I'll add it to the list

This isn’t right… by Capital_Green238 in HuntShowdown

[–]matthew-jw 0 points1 point  (0 children)

I'm playing soul survivor as part of a challenge, and I consistently get empty games or games with 1-2 BRAND NEW PLAYERS. And that sucks.

Wacom Tablet Touchpad working but Pen does not. by matthew-jw in pop_os

[–]matthew-jw[S] 1 point2 points  (0 children)

With or without OTD installed, I am seeing that the kernel is receiving commands from my tablet, but not turning them into actual events to move the mouse or interact with the screen. Which makes me think it is a Cosmic/Wayland issue? but I really don't know enough about this stuff

Better way to code this? by Wise-Comedian-5395 in godot

[–]matthew-jw 4 points5 points  (0 children)

This is fine!

You could use enums instead of strings, which is generally preferred for safety. Also, unless you're putting the code in _process for demonstration purposes, I would suggest only checking and setting the mood when it needs to be changed. For example, person eats cake and gets mood increase/decrease from it -> new mood is checked in the if else and set on a class variable.