Giter Club home page Giter Club logo

Comments (11)

whitedragon0000 avatar whitedragon0000 commented on July 18, 2024

Code seems ok.. Can you post a video example?

from openbor.

dbaldan avatar dbaldan commented on July 18, 2024

@whitedragon0000 do you have my Avengers game, right?]
Choose THOR, grab an enemy, input UP+ATTACK. He will throw the enemy upward.
Right after it, input DOWN, UP, ATTACK. He will execute an upper and the enemy will receive the damage, but no change in the hurt animation.

from openbor.

whitedragon0000 avatar whitedragon0000 commented on July 18, 2024

ok, fixed!!

from openbor.

whitedragon0000 avatar whitedragon0000 commented on July 18, 2024

Working on

from openbor.

dbaldan avatar dbaldan commented on July 18, 2024

Thanks

from openbor.

whitedragon0000 avatar whitedragon0000 commented on July 18, 2024

Well...
So, try to talk about the solution.
This bug exists because when damage on landing is set, the enemy doesn't change animation. Why? Because there is a return 1 before the fall animation change in common_takedamage() function.
I'm thinking...
I can add an entity prop to store latest attack_type example attack_normal or attack_normal9 etc...
Then I can delete that "return 1" and set the attack_type when the enemy lands....
What do you think about this?
In fact when damage on landing is set the attack_type is force set to atk_land.
Tell me what you think 😀

I can instance adding to entity a s_collision_attack as last_atk (more memory) for any change in the future or just an int last_atk_type to store just the last atk_type....
Tell me ;)

from openbor.

DCurrent avatar DCurrent commented on July 18, 2024

We need to look deeper into this or find another solution. Using ATK_LAND is intended behavior. Do not change it.

from openbor.

dbaldan avatar dbaldan commented on July 18, 2024

I agree with DC. ATK_LAND is very useful. If to fix this issue (which is a minor issue) we will break other more useful stuff, so let it as is.

from openbor.

whitedragon0000 avatar whitedragon0000 commented on July 18, 2024

Ok perfect.

from openbor.

whitedragon0000 avatar whitedragon0000 commented on July 18, 2024

Dol issue is pretty fixed!

from openbor.

dbaldan avatar dbaldan commented on July 18, 2024

Indeed, thanks!

from openbor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.