Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: About 'hiding' graphics && other fun stuff...  (Read 1593 times)

0 Members and 1 Guest are viewing this topic.

kaB00M

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • Caffeware
    • Email
About 'hiding' graphics && other fun stuff...
« on: October 05, 2011, 07:43:16 pm »
Hi. I was wondering how I can hide my graphics (resource files in general).

1. Is my only option creating an array of pixel and making a new sf::Image from the data.

2.What is 'LoadingFromMemory' and how can I use it?
 
3. I have a computer with a graphics card based on direct3d (intel HD Graphics Directe3d version); and I can't seem to compile games on this comp. Yet I can play sfml games I compile in my other computer. Does the gc have anything to do with this?

Thank you!!!  :wink:



slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
About 'hiding' graphics && other fun stuff...
« Reply #1 on: October 06, 2011, 09:50:21 am »
Hi

Not sure what you mean by "hiding" your graphics. Do you mean you don't want people to be able to access the resource files? If so, use a program like MoleBox (google it) or you could possibly add them to Windows but your exe will be enormous.

LoadFromMemory......lets you load data from a section of memory.

Your Intel HD graphics card should have nothing to do with not being able to recompile your project. Is your development environment set up correctly?
SFML 2.1