Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Error with a sprite stop moving by command.

Discussion in 'Getting Started' started by mapuinblue, May 17, 2024.

  1. mapuinblue

    mapuinblue

    Joined:
    Apr 16, 2024
    Posts:
    1
    Hi, I'm sorry if I struggle to explain my problem, this is my very first time using Unity, and near anything about games to be honest (plus, I'm not good at English).

    I been working on a flappy bird kind of game, the logic behind it should be the same as the original game at least, but I been stuck for weeks with an error in the 'bird' sprite. This sprite was working just fine till I added the pipes and then de pipe spawner, the moment they come into scene the bird sprite does not move forward anymore, but the pipes keep generating as they should (the game is 2D, btw).

    I don't even know if the error is in my line code or it's related to configuration in Unity. I've tried fixing the Camara focus and following tutorials but nothing corrects the error (I did redo my process from zero three times and every time happens the same).

    Has something similar happened to anybody?, or have an idea where could be the problem?

    Thanks for reading
     
  2. influjensbahr

    influjensbahr

    Joined:
    Aug 31, 2015
    Posts:
    42
    Hi there! It's hard to pinpoint what might be going wrong there. Can you maybe post some screenshots or a video of what's going wrong? Do you have code you can share so we can try and see what's going on?