PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Graphic resources in Visual Studio 2005

This is a bit off-topic, as it is not specifically a PocketFrog question -- however, hopefully I can get some help.

I just switched from developing using Embedded Visual C++ 4.0 to Visual Studio 2005 (still using C++). However, I can't seem to figure out how to add graphic resources to my project. In EVC++, I would simply add the graphic file as a resource and I could then give it whatever name I wanted.

In Visual Studio, I can add the graphics as resources, but I can't figure out how to rename them. I'm pretty much stuck with the names that Visual Studio gives me - PNG0, PNG1, PNG2, etc.

What do I need to do to add graphics to my game? Is there a way to rename the resources, or is there a better way of adding graphics to my game?

Thanks,
Personally I use separate data pack files holding game's data instead of resources because of multiplatform (and also because I don't like how the resources work).

So I don't have much experience with resources, but I think that you can rename resource id by using properties window (View->Other Windows->Properties Windows), just select the resource you want to rename and the properties windows should show its id. Hope that helps.