2 Attachment(s)
[SHOW][C++ / D3D9] Blocks...
I found my old source of a cube-based game using Perlin Noise and figured to touch it up to a more usable state. Debating if it's worth pursuing more at the moment.
Attachment 114118Attachment 114119
Some things to note;
-I switched from Perlin Noise to Simplex Noise for the time being.
-My culling isn't exactly working (Occlusion culling didn't work out too great... Debating if I should try it again or just go for ray casting.. Lol.)
-The texture tu/uv coordinates seem correct, I haven't put too much thought on scaling the texture.. If that even needs to be done, I honestly haven't a damn clue and couldn't care less at the moment. It's there which is what I was aiming for lol.
-I'm still looking if Octree would be the way to go.
-And more.
Re: [SHOW][C++ / D3D9] Blocks...
usable as / for what? a game?
it's easy to do some random scenery but looks like you're faaaaaar away from able to call it a game
and i wouldn't "touch it up" but get up to date and learn about the mechanics and techniques required to make a game
a game consists of more than one scene, "game" state, objects and data
Re: [SHOW][C++ / D3D9] Blocks...
Quote:
Originally Posted by
StealthyX0r
usable as / for what? a game?
it's easy to do some random scenery but looks like you're faaaaaar away from able to call it a game
and i wouldn't "touch it up" but get up to date and learn about the mechanics and techniques required to make a game
a game consists of more than one scene, "game" state, objects and data
No, I wouldn't necessary call this "random scenery" easy as the concept behind it is actually quite hard but gets easier as you learn and test more of it. And you're defining a completed game. During development, there are several stages of the game; this one in particular is stage 1. Think of it like this: A 'game' that has no bible can take many routes to reach the end. If I am going to worry about how nice/perfect the Main_Menu will be and focus less on the important aspects (world generation, world management, etc.) you're going to have a bad time.
Re: [SHOW][C++ / D3D9] Blocks...
Just lately I've been looking at random C++ releases and its kind of making me feel like I just want to learn how to code C ++.
Thanks for sharing this anyway :P
Re: [SHOW][C++ / D3D9] Blocks...
go for it
it's as simple as any other language
Re: [SHOW][C++ / D3D9] Blocks...
Quote:
Originally Posted by
Rogen
Just lately I've been looking at random C++ releases and its kind of making me feel like I just want to learn how to code C ++.
Thanks for sharing this anyway :P
I'd just learn C and do things in OpenGL.
Re: [SHOW][C++ / D3D9] Blocks...
As a learning project, this is great!
But I recommend you check out a rendering engine unless you want to write your own (which is a very good learning project too, been there done that, and it's fun as well).
If you are actually out to make your own game, and not interested in the learning part as much, then don't make your own game engine, it's a terrible idea :).
It's all about what you want to achieve, create your own game, or if you want to learn more about graphics engines.
Re: [SHOW][C++ / D3D9] Blocks...
Quote:
Originally Posted by
StealthyX0r
go for it
it's as simple as any other language
Whoa, what? No. C & C++ is NOT as simple as any other language. People have issues with C++ due to memory management (I'll hope you will get the gist of it), pointers, templates. Native C & C++ don't have any 'features' that new-generation coders are looking for. If they attempt to create a window using pure Win32 or read an XML file via MSXML (or by scratch) (I'm ignoring libraries on this statement), they'll just look at it dumb-founded. As an example, RAII: Resource Acquisition Is Initialization - Wikipedia, the free encyclopedia
Your statements are becoming very vague, I would highly recommend not putting personal opinions over a matter like that.
Quote:
Originally Posted by
jMerliN
I'd just learn C and do things in OpenGL.
This. I think going into C first may help on not developing terrible habits. You could also learn how to setup your project effeciently enough to where you could not rely on constant global variables, singletons, etc. etc.. if you decide to jump into C++. Not just that, a lot of people think it's OK to use a class for every little thing. C helped me quite a bit on breaking bad habits (some still exist.. :p).
Quote:
Originally Posted by
Justei
As a learning project, this is great!
But I recommend you check out a rendering engine unless you want to write your own (which is a very good learning project too, been there done that, and it's fun as well).
If you are actually out to make your own game, and not interested in the learning part as much, then don't make your own game engine, it's a terrible idea :).
It's all about what you want to achieve, create your own game, or if you want to learn more about graphics engines.
I've never been fond of libraries, truth be told. While yes, a rendering engine may be quicker (and provide better results), I would highly rather build it all from scratch. This whole thing started about of pure boredom, but now I have the intentions of pushing it forward. During the whole thing I'll learn a hell of a lot more of DirectX, but also, how games work, since I plan on adding goals to this sandbox-ish game.
Re: [SHOW][C++ / D3D9] Blocks...
Quote:
Originally Posted by
PenguinGuy
... stuff
I've never been fond of libraries, truth be told. While yes, a rendering engine may be quicker (and provide better results), I would highly rather build it all from scratch. This whole thing started about of pure boredom, but now I have the intentions of pushing it forward. During the whole thing I'll learn a hell of a lot more of DirectX, but also, how games work, since I plan on adding goals to this sandbox-ish game.
Allright, well so yeah it's a learning project :).
If you were trying to push out a product, making your own engine wouldn't be a good idea, but if you wanted to learn then this is a great thing.