Skip to content

Count object rotation. Move with WASD. Rotate with mouse cursor.

License

Notifications You must be signed in to change notification settings

mozok/defold-rotation-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rotation Count

As start to move and rotate an object see "britzl/defold-orthographic".

Use Mouse to rotate Game Object around it's axis. Use Left mouse button to start rotation count. Use WASD to move object.

In /main/player.script there are:

  • process_rotation - old function to count rotations, has bug when start to use WASD to move object and Mouse to rotate simultaneously.
  • process_rotation2 - new function.

About

Count object rotation. Move with WASD. Rotate with mouse cursor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages