Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Jumpers missing info #1157

Open
Diarandor opened this issue Mar 18, 2018 · 0 comments
Open

Jumpers missing info #1157

Diarandor opened this issue Mar 18, 2018 · 0 comments
Assignees

Comments

@Diarandor
Copy link
Contributor

Diarandor commented Mar 18, 2018

When the hero jumps with a jumper, it should be possible to get the height somehow, to notify custom weapon sprites and draw them with correct height. There are two possible solutions:

  1. Update shift for hero sprite, that is recovered with hero:get_sprite():get_xy()
  2. Update hero position, that is recovered with hero:get_position()

Some events "on_started" and "on_finished" for jumpers could be useful too.

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

No branches or pull requests

2 participants