Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 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
  • #721

Closed
Open
Created Aug 07, 2015 by Diarandor@DiarandorDeveloper

Possible bugs with circle movement

In the Lua API it says that the functions get_angle_speed() and set_angle_speed() of circle movements are given in radians per second. But, if I am not wrong, they are given in degrees per second. (So, either we should change the Lua API, or we should fix this.)

I also have problems with the function set_initial_angle(), that does not admit values out of the range [0, 2*pi), if I am not wrong. For example, set_initial_angle(10) gives the error "Invalid initial angle: 10". (Also, if I write set_initial_angle(math.pi/2), it does not start with 90 degrees angle.)

I have not checked the rest of functions of the circle movement, so there could be more bugs.

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