Game Development Community

How do i add images in XNA studio?

by Jin Shin · in Torque X Platformer Kit · 06/29/2009 (11:30 am) · 2 replies

Hello,
I tried to find answer of my recent problem through forum, but didn’t have any luck so far.

I am using Torque X 2D platformerdemo .and I add my own images in Torque X. But when I run this in XNA studio, I am getting this error.
SceneLoader.Load – Error loading XML file : ‘data\levels\jin_level_2.txscene’, ContentloadException: ‘Error loading “data\images\test_image”. File not found.’

But when I use starter 2d template, I don’t get any errors with my new images.
I don’t know programming at all. I just wanted to swap images with mine.

I am curious that if I am actually able to import new images in platformerdemo and run this? If so.. Can you tell me what I need to do exactly in XNA Studio?

Thank you for reading this

#1
06/29/2009 (8:36 pm)
in Visual Studio, you may need to right click on the Content(data) project and select "Add Existing Item" then you can browse to your new images and add them so they show up in your XNA project. Give that try.
#2
06/29/2009 (9:13 pm)
Thank you Jake.