Original Post
ok I have tons of sprites that have a super long file name locations.... How would I go about calling a function or something that stores the filename?? what class would I use?
Quote:
Original post by gwihlidal
Application.StartupPath + "\\" + YourFileName
Stream s = this.GetType().Assembly.GetManifestResourceStream("Namespace.Subnamespace.background.bmp");Quote:
Original post by Anonymous Poster Quote:
Original post by gwihlidal
Yes, that is a more efficient way, no temporary variable is needed. :)
~Graham
I think he meant, "that's the cross platform way."
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more