DirectX9 C++ Tutorial 1 - Creating An Engine

preview_player
Показать описание
In these couple of tutorials we will create an engine for DirectX. Most things I am still unsure about but I will not go through it since thats not the point of this video. Google them if you really need to know.

FaceBook Page:
Рекомендации по теме
Комментарии
Автор

@DamarSweetness hmm i actually havent dealt with vertex that much. As far as ive gone on them is just making a cube or a circle, or squares out of trianglelist or srtips and create a buffer out of that which is fairly easy or traverse from an OBJ file and create a buffer out of that. Id love to help but I havent gone really in depth with this yet. Ill research around and see what i find and let you know

iGunSlingeRv
Автор

Well I apologize for the "misinformation" I have given you. You are always free to go somewhere else. One thing you gotta understand is that there are 10 other videos, including this one, that goes along with creating a simple engine. This is the only video that contains C but the other videos is entirely C++, which is why I called this Tutorial and the other 7 Tutorials that goes along with this one, C++. At the time I made this video, I just barely started doing C++ so I apologize.

iGunSlingeRv
Автор

C looks just like C++, except C++ is designed to be used as an OOP (object-oriented programming) language. For example, your timer should be a part of a class, but you put in as a globally reachable function instead. That is the C way.
In C++, even the application itself should be a class, even though that doesn't make much of a difference. Have you worked in Java anything? Java is OOP only, so the application itself needs to be a class.

antiHUMANDesigns
Автор

What does that 0 mean that you put in the little youtube box? Is a 0 supposed to be there?

DRCinc
Автор

Oh, I already knew that, of course. I guess to be clearer, I should've said the OOP way. C++ may have functions, but should not be based around that, like you do with C. The thing about C++ is that it is object oriented, so when using C++ instead of C, you should actually use the new C++ things.
C++ can do what C can, but C cannot do what C++ can. C++ should be programmed similarly to how a Java program is made, otherwise you're likely using C, not C++.
I have programmed C and C++ for 13yrs.

antiHUMANDesigns
Автор

well ive never done C before, I dont even know how it looks like. This is the first tutorial that involves the main cpp file which will handle everything. The main cpp file doesnt need a class.

iGunSlingeRv
Автор

Tutorial straight outta an actual airport

schnekkboard
Автор

Here I'm creating an engine. But what if I want to use an Engine I downloaded. So I just downloaded the CryEngine 3 but it's just like a level creator, but I have to say: "This Objects does this and this does this" when I e.g. want a RTS. Am I using a scriptlanguage here like Lua or php?
I realy want to start with C++, Game Engines and Scripts but it is hard to find the background information how all work in ones.A whole new engine looks to hard so how can I use an engine?

drkelNEW
Автор

error C2065: 'OU' : undeclared identifier
what i need to
help

supertrollfresh
Автор

yes its suppose to "return 0"..

iGunSlingeRv
Автор

If anyone knows, what degree is it that requires the knowledge of game code? Game Design?

skylerfrary
Автор

Uhm... nope. But I do so appreciate your input.

antiHUMANDesigns
Автор

This is C, not C++. In C++, you creates classes, not functions. As far as I can tell, there is not a single C++ thing in this tutorial, only C.
Not complaining, just saying. If you want to teach C++ things, then do it the C++ way.

antiHUMANDesigns
welcome to shbcf.ru