Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to make my character move with Bolt

Discussion in '2D' started by jellybunnybean05, Aug 14, 2022.

  1. jellybunnybean05

    jellybunnybean05

    Joined:
    Jan 27, 2022
    Posts:
    22
    Hi! So I recently posted a question on how to animate my sprite, and I'm getting the hang of it, but now I need to know how to attach a Bolt script to my character, so she can move. So far, I have blinking and walking animations, but I want to use Bolt to say "when the arrow keys are pressed, make the animated sprite move by so-and-so on the x-axis."

    I'm choosing Bolt over C# (even though I know I could use both) because I don't really know C#, and it seems like Visual Scripting would help me get into the programming aspect of Unity a little easier. But that's just me. I don't know a lot about Bolt OR C#, but I want to try Bolt first to see if I want to use that going forward (this is my first Unity project).

    BTW, I have a Visual Scripting tab open by my Project tab. Is this what I'm supposed to be using, or do I need to unlock Bolt in the Package Manager (since newer versions of Unity come with Bolt, and I've got 2021.3.4f1)? Thanks for your response in advance!
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,713
    Visual scripting has its own forum here:

    https://forum.unity.com/forums/visual-scripting.537/

    Go work through tutorials on it because what you describe is super-ultra-basic stuff and nobody here (or on the bolt forum) is likely to retype an entire tutorial in a little tiny text box here because that would be silly and unproductive.
     
  3. jellybunnybean05

    jellybunnybean05

    Joined:
    Jan 27, 2022
    Posts:
    22
    Thanks, @Kurt-Dekker, you've been really helpful. I didn't know there was a separate forum for Bolt. But yeah, it definitely doesn't make sense to retype stuff.