Search found 6 matches
- September 24th, 2013, 12:54 am
- Forum: Everything
- Topic: Programming game objects - help
- Replies: 4
- Views: 2230
Programming game objects - help
I basically want to program things like NPCs and walls without programming each individual NPC and its locations, and each individual wall and its locations. What I mean is making NPCs without making poop1, poop2, poop3, poop4, poop5, and poop6 all under the same structure. What if I wanted to use s...
- September 24th, 2013, 12:49 am
- Forum: Everything
- Topic: VS 2012 and dxerr.lib, d3dx9.lib, d3dx10.lib
- Replies: 10
- Views: 7431
Re: VS 2012 and dxerr.lib, d3dx9.lib, d3dx10.lib
I got the error when I installed the SDK, too. Just ignore it, the libraries will run fine.
- September 23rd, 2013, 9:22 pm
- Forum: Everything
- Topic: Defining arrays in Game::Game + Hi!
- Replies: 4
- Views: 2511
Re: Defining arrays in Game::Game + Hi!
Ah, thanks for clearing that up. It works, now!
- September 23rd, 2013, 8:56 pm
- Forum: Everything
- Topic: VS 2012 and dxerr.lib, d3dx9.lib, d3dx10.lib
- Replies: 10
- Views: 7431
- September 23rd, 2013, 8:49 pm
- Forum: Everything
- Topic: Defining arrays in Game::Game + Hi!
- Replies: 4
- Views: 2511
Re: Defining arrays in Game::Game + Hi!
Woah, I tried that, and got even more errors. Game::Game( HWND hWnd,const KeyboardServer& kServer ) : gfx ( hWnd ), kbd( kServer ), x (400), y (300) int HP[2]; HP[1] = 50; HP[2] = 50; {} 1>..\Assets\Game.cpp(28): error C2612: trailing 'type' illegal in base/member initializer list 1>..\Assets\Game.c...
- September 23rd, 2013, 8:36 pm
- Forum: Everything
- Topic: Defining arrays in Game::Game + Hi!
- Replies: 4
- Views: 2511
Defining arrays in Game::Game + Hi!
Hi! I'm new to the forums, and also new to C++. I come from a language that's pretty much exclusive to game development called Dream Maker. It runs games on the BYOND engine, and the code is extremely inefficient. It's primarily built for making MMORPGS. Making anything else requires tedious and ine...