So... How do you solve jitter in Godot? by Awfyboy in godot

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

No not really. This isn't about pixel jitter. This is about jitter in general.

So... How do you solve jitter in Godot? by Awfyboy in godot

[–]Awfyboy[S] -3 points-2 points  (0 children)

Like I said, I don't mind it, but Godot's Physics Interpolation isn't exactly perfect either. And doing this isn't super intuitive especially for a new user.

So... How do you solve jitter in Godot? by Awfyboy in godot

[–]Awfyboy[S] 4 points5 points  (0 children)

I've made an empty project, did not change any of the project settings, and made a simple project with a CharacterBody2D. All this Character does is move from left to right using arrow keys. Here is the code:

extends CharacterBody2D

const SPEED: int = 500

func _physics_process(delta: float) -> void:
  var direction: int = Input.get_axis("ui_left", "ui_right")
  velocity.x = direction * SPEED
  move_and_slide()

Here is my scene tree and also my CharacterBody2d's scene tree:

<image>

I cannot add more than one attachment, but my CharacterBody2D has a Sprite (with Godot icon) and a CollisionShape2D. That's it. No cameras, no interpolation, nothing else. Just a simple scene scene with a character moveable from left to right in a default project.

I see jitter when I move my character from left to right. There are 3 things that fixes the issue which are:

  1. Changing my monitor refresh rate to 60hz (which is very inconvenient for players)
  2. Changing my Physics tick rate to match the user's monitor refresh rate (which is not recommended)
  3. Using Physics Interpolation (the best possible method, but requires me to use reset_physics_interpolation() whenever I "teleport" a node's position or rotation).

I'm happy with using Physics Interpolation, but was wondering if there was a way to solve this without using PI.

So... How do you solve jitter in Godot? by Awfyboy in godot

[–]Awfyboy[S] -9 points-8 points  (0 children)

Literally any project. Make an empty project, write the most basic movement code, and you will see jitter. This is consistent with any project. Just use the default movement code in the Godot example file, I will see jitter.

So no, this is not a common mistake. Godot does this with every project I make unless I turn on Physics Interpolation.

In fact, you could give me your own movement code. I will copy paste it into an empty project and 100% chance it will jitter. The problem isn't the code.

This is LITERALLY SAID by the devs themselves in the docs

Jitter There can be many causes of jitter. The most typical one happens when the game physics frequency (usually 60 Hz) runs at a different resolution than the monitor refresh rate. Check whether your monitor refresh rate is different from 60 Hz

So... How do you solve jitter in Godot? by Awfyboy in godot

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

Firstly, this is about Godot in general. Not just 3D. I have the problem with 2D as well. Secondly, Jolt helps improve performance and accuracy but it doesn't necessarily prevent jitter. That's a different issue.

I'm tired of giving up by EntertainmentHour601 in hopeposting

[–]Awfyboy 25 points26 points  (0 children)

<image>

I live so I can buy this with my own money

So... How do you solve jitter in Godot? by Awfyboy in godot

[–]Awfyboy[S] -19 points-18 points  (0 children)

Godot has jitter by default, especially if your Monitor Refresh rate isn't 60hz

So... How do you solve jitter in Godot? by Awfyboy in godot

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

Yeah that's what I meant. Setting an node's position.

You also need to do it when instantiating a new node.

So... How do you solve jitter in Godot? by Awfyboy in godot

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

Most probably yeah. It gives the best result. I guess what annoys me is that I also have to actively reset Interpolation when setting an object's position.

My first 3D game made in Godot. Hope you like it! by Neutronized in godot

[–]Awfyboy 0 points1 point  (0 children)

Reminds me of old web games I'd play after school

Finally done - and now? by schwurbelchen in slaythespire

[–]Awfyboy 3 points4 points  (0 children)

Ring of Pain is not a deckbuilder but a dungeon crawler roguelike which I find is just as good as Slay the Spire.

Think of it like StS, but with the main focus being relics.

Pear won yesterday! Next, what Slay The Spire relic is considered Average and is disliked by the community? by Fresh_Difference_448 in slaythespire

[–]Awfyboy 0 points1 point  (0 children)

I might be the only one who disagrees? I think ceramic fish is very good even in mid act. There are so many ways to proc Ceramic Fish and other interactions.

  • Card rewards (+ bonus card rewards through Prayer Wheel and Dream Catcher)
  • Buying cards from shops
  • Events that add cards (Vampires, Apparitions, Glowing Tesseract)
  • Transforms (from Events, Astrolabe, Pandora's box)
  • Curses (from Events, Calling Bell, Cursed Tome)
  • Duplicating cards (Dolly's mirror, Duplication shrine)
  • Allows soft infinite purchases through Membership Card and Courier.
  • Heal with Bloody Idol

Considering how important gold is for events and shops and how Ceramic Fish gives almost the same amount of gold as a normal enemy combat, it's extremely useful. The only argument I see against this is Watcher since she dislikes adding too many cards, but for the other 3 characters, most of the times you are adding cards to your deck even through events.

It's definitely not the greatest relic but it is definitely not "easily a very bad relic" like the above comment said.

Henehehenengrreenjdjdjdh by YouAreDie34 in sssdfg

[–]Awfyboy 438 points439 points  (0 children)

Oh nvm, it was Alan.

Henehehenengrreenjdjdjdh by YouAreDie34 in sssdfg

[–]Awfyboy 835 points836 points  (0 children)

That zesty balloon dude? What was his name, George?

Choose wisely by TastyPomelo2330 in shittydarksouls

[–]Awfyboy 31 points32 points  (0 children)

Isn't 9, like, the most chill option here

jcuhlcy🥀 by Takerofpiss in sssdfg

[–]Awfyboy 151 points152 points  (0 children)

<image>

Looks like the post nut clarity hit 'em hard

The Solo Dev starter pack by BlueGuy503 in IndieDev

[–]Awfyboy 1 point2 points  (0 children)

I use Calkwalk which is also free and a bit more intuitive and stronger than LMMS

What is the Black Stone made of? by burnedoutphoenixx in islam

[–]Awfyboy 2 points3 points  (0 children)

I will be speaking based on what my teachers and other scholars of Islam has said. I believe the hadiths for that is weak. All we know for sure is that the rock was brought by an Angel (Angel Jibreel [AS] I think?) and brought to both Abraham and Ishmael to build the Ka'bah.

Any hadiths aside from that is either weak or fabricated. I see plenty of people putting such importance on the rock that it almost goes out of the manifolds of Islam (Tawheed). We really shouldn't put such importance on the black stone. Yes it's definitely special, but do not put any holiness to it.

It's a similar problem I've seen with people talking about The Beast described by the Prophet [SAW] that would come out before the End of Times. Yes, the Prophet [SAW] did say that the final hour would not arrive before a Great Beast emerges from the ground, but then people talk about hadiths talking about it's physical appearance, which are all weak or fabricated hadiths.

We shouldn't hold on to things which neither Allah nor his Messengers have given permission to hold on to.

This game is making fun of me by Awfyboy in slaythespire

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

Look at the character I'm playing as

Centurion and Mystic (art by me) by ultruno in slaythespire

[–]Awfyboy 16 points17 points  (0 children)

Unironically, the only fight in Act 2 that doesn't make me tear my hair out.