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

Author Topic: Sprites not moving as intended  (Read 201 times)

0 Members and 1 Guest are viewing this topic.

ranchu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Sprites not moving as intended
« on: March 22, 2024, 07:36:13 pm »
Hello, I've been trying to implement a jump mechanic into my game, but the player will not move the way I want it to, instead being relocated off-screen. My project contains other cpp and header files, but I'm certain that this bug is entirely within the file below. I'm not sure if this is an SFML issue or just bad coding but I will appreciate any help given.   

ranchu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Sprites not moving as intended
« Reply #1 on: March 24, 2024, 01:32:51 pm »
Problem solved, I'm just blind

 

anything