Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • solarus solarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 229
    • Issues 229
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Solarus Games
  • solarussolarus
  • Issues
  • #827
Closed
Open
Created Jan 24, 2016 by Diarandor@DiarandorDeveloper

Problem with ground detection after hero:unfreeze()

Hi!

If we script a jump while the hero is frozen and then we unfreeze, the hero does not fall on holes if the jump finishes above a hole (only the falling sound is played), the hero can walk over a small rectangle without falling. I am using this to script the boots + feather combined ability, where I need to freeze the hero to keep the direction. I do not have this problem if I do not freeze the hero, which was the case of my scripted feather, where I do not freeze the hero. In both scripts (the feather script, and the one of the long jump that combines boots + feather) I use a custom entity with solid ground under the hero to allow him not to fall on bad grounds, and this entity is removed when the jump ends; this custom entity is probably related to that small rectangle where the hero can walk after the jump, even if the jump ends over a hole, and this problem disappears if the hero is not frozen as I said before.

I suspect that either the ground is not being updated when the hero is unfrozen or something like that, if this is related to the modified ground of the custom entity. Or maybe I am wrong and this is not related to that custom entity, but in any case there is some problem with the detection of the ground after unfreezing the hero.

I can send you my data if you need it to test this possible bug.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking