-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: add falling/jump animation #208
Conversation
58a68bc
to
3ffaf93
Compare
else: | ||
prints(animation_player.get_animation_list()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
godot/src/logic/player/player.gd
Outdated
gravity = Global.config.gravity | ||
jump_velocity_0 = Global.config.jump_velocity | ||
pass | ||
#walk_speed = Global.config.walk_velocity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add todo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks great! Just the comments that you already add the 'TODO'
|
||
await get_tree().process_frame | ||
await get_tree().process_frame | ||
await get_tree().process_frame | ||
|
||
var viewport_img := viewport.get_texture().get_image() | ||
|
||
#await get_tree().create_timer(10.0).timeout | ||
# Test: Uncomment this to see how the snapshot would look like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we execute this behind an arg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not worth it
Fix #184
Todo