The helplessness and limitations brought by content of xna4 are not mentioned. The important thing is that it has changed a lot compared with 3.1. Let's take a look at the example of 3.1 bone animation. On top of 4, I can't tell you how to learn it.
Effect file, I have tried to overturn the wall and bypass content.
Because the setdata interface is familiar with veryeasy, veryeasy is an illusion. Today, after reading the interface, we can see that there is nothing other than setdata that can be used.
I have found a PNG open-source project on SourceForge, and I would like to thank you here.
The compilation on Windows is smooth and cannot be used directly. You must create an xNa game Lib.
Try WP7, and the heart is getting cooler, system. drawing references a lot of enum. getvalues does not support ASCII encoder or list. removeall is not supported either. Fortunately, I have always maintained the habit of compiling and testing on two platforms. Fortunately, system. Drawing only uses the color type and image to cache data, and implements these two new things.
In short, it took a night to get png.net compiled on Windows phone7. PNG read and then test.
I couldn't help but smile. After the FreeType of pure C #, will I get another freeimage of pure C? After that, there will be models, skeleton animations, scenes, Soso .......
Well, I went to the Microsoft xNa department for work. It's a great honor to be able to make a joke. Now let me stick to the small goal of a simple 3D engine in middle June 1.
Abandoning content completely will bring a lot of convenience. I don't need to make any resource changes, but I have to go through compilation. Freeimage or fbx resolution wheel re-engineering. Other basic jobs are unavoidable. The work of coding and the work of resources must be completely isolated. This is the profession.
In short, I am a gameProgramAfter the development is complete, hand it over to the art. As long as the art editor is used, you can continue to modify and optimize game resources without returning to the program for compilation and writing unnecessary things such as resource pipelines, is xNa positioned as a personal development toy, a toy, or a toy?
When the process remains unchanged, you can also modify several configuration files and use the editor to play with and debug the gameplay, always returning to the hands of the program. What convenience does the resource pipeline bring, I am quite confused. Since Microsoft has changed xNa into the only one on Windows Phone 7, you can't expect us to use the small studio Method for development.
Pass the test in Windows
Unfortunately, the alpha channel does not exist. Please read it.CodeBesides
Texture2d fromstream (graphicsdevice, stream );
This is also an interface that should be tested. It may not be as disgusting as effect.
Test results... Goodbye pngnet
Texture2d. fromstream can directly read the normal png gif jpg, which is much more normal than the unnecessary and strange format of effect.
Stupid. I didn't pay close attention to this code. It took a few hours to make a detour .......