I want adapt DirectX into NetGore, but I can not how to render to GUI in NetGore.
Any Help me, if possible, show me how to adapt via code !!!
Many thanks,
Well there is openGl support. Although I do wonder myself about using shaders in a 2D game. For realistic lighting, shadows and reflections and such.
So hard to make a good looking 2D game. Its really all on the artists considering how little 2D engines have evolved in terms of graphical features. Torque2D may change that... but its starting to look like vaporware (and im willing to bet the awesome networking promised won't be that great either)
SFML supports shaders.
Yah I mean I know it supports shaders but as a person who has only worked with 3D I can't imagine what type of effects I could create.
For example common shaders in 3D like shadows, lighting and reflections all require 3D models to base the effect from. Furthermore even if I did use such effects in 2D I cannot imagine how they would look in a 2D platformer (outside of lighting). Obviously overhead could use shadows.
I heard there was this game called Gish with some shaders i'll have to check it out.
My biggest problem with 2D has always and till now is still the implementation of 2D graphics and effects that, to be blunt, do not look like trash.
(btw I was looking for placeholders when I came to this sprite site. I was looking for a background. Anyways I clicked on marvel vs capcom or something and it gave me the same background your using rofl)
I want adapt DirectX for some reasons :
1) Create GUI easily and support Progress Bar, Trackbar, ScrollBar...
2) Do Isometric easily.
Thanks.
But the engine can already use the topdown mode for isometric and it had GUI support.
could you be more specific on what DirectX feature you need because I can't think of much you can do with DirectX that you can't do with OpenGL.
The library (OpenGL, DirectX, SDL, SFML, etc) is irrelevant unless you want to use a 3rd party GUI system, in which case you can still do that using SFML since there are GUI systems for OpenGL. The difficulty is in implementing it into the engine, especially since you'd have to get rid of NetGore's controls completely...
Also irrelevant to the graphics library, especially since NetGore already supports rotating sprites which would be about the only thing you'd need.
If your comfortable using DirectX instead of SFML. Then i'd suggest that instead of spending the masses of hours needed to convert netgore to a directX engine. It would be a lot quicker to learn how to use SFML.
I should probably note that NetGore will never use DirectX. A cross-platform solution is always better than a Windows-only one, given all other factors are the same. And since the cross-platform implementation (SFML) does all that is needed, no point in using DirectX. If I were to change to anything else, I'd use OpenGL directly, but that will likely never happen since SFML is just so handy and takes care of dealing with inconsistencies between systems and OSes.
Yah not alot of people use mac or linux but when you take into consideration the lack of working games on those platforms there is a large potential player base (ok so linux has wine but some people don't want to use it or like their tweaked out distro)
Why do you want DirectX?
You'd have to replace all of the rendering stuff, which would be quite a pain.