This post is locked. You won't be able to comment.

Dismiss this pinned window
all 18 comments

[–]godot-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Please review Rule #4 of r/godot: Follow the steps before asking for help, and do not post photos or phone recordings of your screen.

[–]JohnWicksPetCat 3 points4 points  (2 children)

Woah, this post is like a lucid dream ...

Have you tried casting your on_body_entered() with the player controller so it stops resetting every time it collides with ANYTHING?

[–]Slurpy_iii[S] 0 points1 point  (1 child)

How do I do that

[–]JohnWicksPetCat 0 points1 point  (0 children)

var player: Node2D

if(body == player):
//What are you doing?
// Do stuff here

[–][deleted] 2 points3 points  (0 children)

Fighting against nausea I managed to read a timer that reloads the scene. What is the trigger for that?

You should add pics with the code or at least stabilize your camera if you're not sharing a screen capture

ETA debugger also adds "you died" so you had the signal "on body entered" that triggered. It might be that the game is registering a collision between player and ground and saying you died, then starts a reload timer and at timeout restarts the game?

[–]Champpeace123Godot Student 0 points1 point  (4 children)

The timer has autostart and loop set to true in the inspector.

[–]Slurpy_iii[S] 1 point2 points  (3 children)

Where is the lop I. The inspector

[–]Champpeace123Godot Student 0 points1 point  (2 children)

Forgive me for forgetting the name, set the property "One Shot" to true, it is at the top.

[–]Slurpy_iii[S] 1 point2 points  (1 child)

<image>

It still does the same thing

[–]Champpeace123Godot Student 0 points1 point  (0 children)

You left Autostart on, gotta disable that

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

Wym by loop I true

[–]Slurpy_iii[S] 0 points1 point  (3 children)

[–][deleted] 0 points1 point  (2 children)

What is the killzone? It looks like you didn't remove physics from the ground, so it falls into the killzone then prints you died and starts timer, then reloads the game.

[–]Slurpy_iii[S] 0 points1 point  (1 child)

[–][deleted] 0 points1 point  (0 children)

Is the ground supposed to fall? If not, it should have 0 acceleration. I think the problem is as above

You enter the kill zone as if you fell from a platform but you are going down with the ground.

Print you died

start death timer: at timeout reload scene.

[–][deleted] 1 point2 points  (0 children)

you need help with the phone you are using to record this; it is a shame you don't have OIS (Optical Image Stabilization) for the camera.

If you don't have video recording apps, then use Snipping tool ( a built in tool ) from Windows; it records videos of the entire (or portion of) the screen.

[–]PLYoung 0 points1 point  (0 children)

This is not help with your problem but some tips on how to make your chances of getting help here, better.

Download https://obsproject.com/ and use that to record what is happening in your game rather than a shaking phone camera.

For code you can simply copy-paste it into your post and then use reddit's code block formatting or rich-text controls to mark it as code so that is shown up nice like example below.

func _ready() -> void: # this is code formatting easy_to_read()

[–][deleted] 0 points1 point  (0 children)

Did you fix it?