the platform

arrow keys to move
shoot is ctrl

Hi @Christopher_Streif and welcome to the community. Are you looking for help implementing this? In what context are you trying to do this? Not having an idea on the context it is hard to give you any guidance.

Welcome!

But i can’t stand by these atrocities…
certainly the left mouse button is for shooting :slight_smile:

Hello. I think you’ll want something like this:

public void Update()
{
KeyboardState keyboard  = Keyboard.GetState();

if (keyboard.IsKeyDown(Keys.Left))
{
position.x -= 1; //This position variable should be what you pass in when you draw the sprite.
}
else if (keyboard.IsKeyDown(Keys.Right))
{
position.x += 1;
}
else if (keyboard.IsKeyDown(Keys.Up))
{
position.y -= 1;
}
else if (keyboard.IsKeyDown(Keys.Down))
{
position.y += 1;
}

if (Keyboard.IsKeyDown(Keys.LeftControl))
{
Shoot() //Define a shoot method somewhere in this class.
}
}

private void Shoot()
{
// Here, create an instance of your projectile, and add it to a generic list or array of projectiles.
}

If that wasn’t helpful, there are plenty of tutorials on how to do this sort of thing. I’d start with YouTube.