Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • solarus solarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Solarus Games
  • solarussolarus
  • Issues
  • #1416

Closed
Open
Created Sep 03, 2019 by PhoenixII54@PhoenixII54

state:set_affected_by_ground() ignored when starting a movement on ground that alters speed

In a custom state, when you start a movement with a set speed on a ground that alters walking speed (such as holes or ladders) while having done state:set_affected_by_ground(ground, false), it applies the slowness to the movement's speed instead of keeping the full set speed. However, starting the movement on a normal speed ground (traversable), then going over that special ground does work as expected (the initial speed is retained during the whole movement. This is especially true with the feather item from the ALTTD project: shallow water and holes (the two I encountered the bug with), despite having been set as ineffective in the jumping states, do their slowness effect, but only when starting from said grounds, mostly resulting in falling into bad grounds.

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