Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Electrovicane

Pages: [1]
1
Graphics / Velocity visualizer
« on: January 17, 2024, 07:36:27 pm »
I'm in the process of making a 2D platformer with SFML and want to make an arrow sprite attached at the center of the player sprite to show the vector of the player's current velocity. I'm able to get the origin at the center. Can anyone recommend the best way to rotate about a central axis while varying the size based on magnitude?

Pages: [1]