Jump to content
  • Advertisement
Sign in to follow this  
poigwym

Unity how to make game with directx,opengl

This topic is 770 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have made game like the "survival shooter" with the unity3d engine,  I don't know how it work...

is there any tutorial how to make game with dx/ogl?  make a big game like WOW.... 

or where to find open source game code which is made in dx,ogl step by step ?

 

There many guys ask us to make game with existed engine, instead dx/ogl, but why 

so many people ask question about how to make engine? or how to implement things use

c++....

Edited by poigwym

Share this post


Link to post
Share on other sites
Advertisement

The short and sweet answer to you question "why make engine using DX/OGL" is that you can make it VERY specific to what you want. Someone else's engine may have everything you need, but will likely have a lot of things you don't need just sitting there taking up space. Others may not even have what you need...... That's why I prefer to make my own.

Share this post


Link to post
Share on other sites

I'm gonna second @BBeck. I see very often putting 'equal' sign between game engine and any graphics API. There is absolutely no equal sign between Unity and OpenGL in terms of functionality. See that Unity itself uses OpenGL. Game engine is lot more than just drawing triangles ( because if you simplify the role of GL or D3D, this is what they do at the end - they just draw triangles ). Game engine is resource management, memory management, user input, handling persistent state, handling 3D world, scripting, networking and lot more. Unity or UE support all those things, while with GL all you can do is just rendering. I'm not saying not to try to build your own engine. I'd rather say - hell yeah, everyone should try to make a full game from scratch at least once to understand how all this stuff works under the hood. I know I may be overreacting, but I read such things here quite often and I think it's misleading for beginners. GL/DX/Vulkan are not engines. But they may be part of engines as they use them as rendering APIs.

 

Just one thing: "But OGL and DX are something that take years to learn" - that's not really true. It really depends on current skills of programmer. It doesn't even take long to learn Vulkan to the level that you can actually do what you want. It's all about skills and understanding certain things when you starting to learn. I use Vulkan as well as Metal and DX12 and it really didn't take ages to dive into it ( Vulkan was released in just in February ). It's all doable in finite time but very often requires to have certain knowledge from other areas.

 

@poigwym

In other words if you make your own solution from scratch, believe me, whether you decide to use GL or DX - this will be least of your problems comparing to other things you will have to deal with. Also understanding "guts" of own engine will give you better understanding of third-party engines.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!