Importing a Sprite To Visual Studios
Last updated
Last updated
Importing your sprite into visual studios is super easy. First, you want to take your sprite and drop it into your resources folder or whatever folder you plan on keeping your sprites within your visual studios project.
Now, in visual studios you want to go to the top of your solution explorer
and press the "Show All Files" button
you should now see a dotted outline with your sprite name wherever you are keeping your sprites
simply right-click on the file and select: "Include in project"
once that is done we need to make our sprite an embedded resource. so click on the file that is your sprite and below the Solution Explorer you should see a properties tab
Now where you see 'Content' you click that arrow and select embedded resource.
and just like that, you're done.