Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to Godot 4 #1

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Convert to Godot 4 #1

wants to merge 2 commits into from

Conversation

jamesaorson
Copy link
Contributor

No description provided.

@jamesaorson jamesaorson self-assigned this Jun 23, 2024
Comment on lines +36 to 37
var bullet = _bulletScene.Instantiate() as BulletController;
game.AddChild(bullet);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is seemingly not working, or the drawing of the bullet is failing.

UpdateGuns();
}
#endregion

#region Godot Signals
private void _on_Body_area_entered(object area)
{
GD.Print("taking damage");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not being triggered, so the physics collision is wrong

@@ -21,4 +21,4 @@ func window_resize():
scale_factor = minimum_size.y / new_size.y
new_size = Vector2(new_size.x * scale_factor, minimum_size.y)

viewport.set_size_override(true, new_size)
viewport.set_size(new_size)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely just wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant