-
Advertisement


SuperFunHappyMeowCat
Member-
Content Count
12 -
Joined
-
Last visited
Community Reputation
106 NeutralAbout SuperFunHappyMeowCat
-
Rank
Member
-
What games to play to get inspiration?
SuperFunHappyMeowCat replied to Breslin Roe's topic in Music and Sound FX
I liked starcraft and warcraft3's songs. Also metal gear solid 2 and 3. -
What do you use to program your tools?
SuperFunHappyMeowCat replied to SuperFunHappyMeowCat's topic in General and Gameplay Programming
Quote:Original post by Grafalgar Quote:Original post by FlimflamI dont think I'd bother going back to the route of WIn32 or MFC ever since I got into developing tools with the .NET framework. Agreed! MFC is .. real painful. Having done a lot of my old tools in MFC, and having to deal with legacy MFC code at my job all the time I can quite confidently say that if you have the choice between MFC and C#, do not hesitate to go with the latter. I'm pretty proud of the tool I've built. The editor itself is all C#, which then interfaces with an unmanaged C++ DLL, which interfaces with the rest of my (C++) engine. This pretty much guarantees my editor to be a WYSIWYG tool =) As far ease of use, C# is fairly quick to pick up if you're familiar with C++ or Java (though knowledge of the latter might be more useful honestly). They have extensive libraries and will get you up and running with something nice in no time =) I was about to go and use C#, but that was the snag i ran into. My engine was goin to be in C++. How exactly do you go about mixing C# and C++? Also, would windows forms be a good way to go? -
What do you use to program your tools?
SuperFunHappyMeowCat replied to SuperFunHappyMeowCat's topic in General and Gameplay Programming
ohh yeah C#... I think i'll use that. Thanks for the quick responses! -
What do you use to program your tools?
SuperFunHappyMeowCat posted a topic in General and Gameplay Programming
I need to make a level editor for my 2D tile based game, and I was wondering what people used to write their tools, and why. I was thinking about either using Win32 or MFC. I wanted to know which one was better, or better yet the pros and cons about each. Should I use something else all together? Thanks -
Squares wont show up!
SuperFunHappyMeowCat replied to SuperFunHappyMeowCat's topic in Graphics and GPU Programming
Thank you very much! I cant believe i forgot to do that. -
When i run this code to render my squares nothing shows up...unless I uncomment the drawing of the m_pTest mesh... void CtileEngine::TileRender() { VERTEX Verts[6]; m_pDevice->Clear(0, 0, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DXCOLOR(0, 0, 0, 0), 1.0f, 0); m_pDevice->BeginScene(); for(int X = -m_nWidth; X <= m_nWidth; X+=16) { for(int Y = -m_nHeight; Y <= m_nHeight; Y+=16) { Verts[0] = VERTEX(X-8, Y-8); Verts[1] = VERTEX(X-8, Y+8); Verts[2] = VERTEX(X+8, Y+8); Verts[3] = VERTEX(X+8, Y-8); Verts[4] = Verts[0]; Verts[5] = Verts[2]; m_pDevice->DrawPrimitiveUP(D3DPT_TRIANGLELIST, 2 , Verts, sizeof(VERTEX)); } } //m_pTest->DrawSubset(0); ////if this runs, everything /////works...but with a teapot in the center m_pDevice->EndScene(); m_pDevice->Present(0, 0, 0, 0); }; Also...how do you post code?
-
I dont know where you go to school, but calculus is a requirement to get the degree. In the University of California, to get a CS degree you need to take differential and integral calculus, multivariate calculus, differential equations, and linear algebra. You also have to take some physics classes, which also require calculus.
-
learned c++ basics now what?
SuperFunHappyMeowCat replied to Ultimate_Fusion's topic in General and Gameplay Programming
Quote:Original post by Telastyn Quote: Now what? Time for intermediate C++. Seriously, even the simpliest games are fairly complex beasts, requiring far more than a cursory knowledge of the language. Agreed, I learned a huge amount of C++ from programming pong, which im still in the process of doing. -
I was just wondering if the large amount of D3DX goodies that come with the DirectX SDK are efficient in large games. Are they okay to use in small programs? I'm sure they are, but once the games get really huge, and performance is key do they still hold up?
-
My Triangle isnt showing up
SuperFunHappyMeowCat replied to SuperFunHappyMeowCat's topic in For Beginners's Forum
ahhh thank you very much! It was because of the lighting. -
Hey everyone, im learning Direct3D using the book "Introduction to 3D game programming with directx 9.0" by Luna. And im trying to get a triangle to show, but all i get is the cleared screen. here are my setup, and drawing functions: void tileEngine::Setup() { device->CreateVertexBuffer(3 * sizeof(Vertex), 0, D3DFVF_XYZ | D3DFVF_DIFFUSE, D3DPOOL_MANAGED, &VB, 0); D3DVERTEXBUFFER_DESC VBdesc; VB->GetDesc(&VBdesc); Vertex* verts; VB->Lock(0, sizeof(verts), (void **)&verts, 0); verts[0] = Vertex(-0.5f, -0.5f, 0.0f); verts[1] = Vertex(0.5f, -0.5f, 0.0f); verts[2] = Vertex(0.0f, 0.3f, 0.0f); VB->Unlock(); device->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID); device->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE); }; /////////////////////////////////////////////////////////////////////////// void tileEngine::Display() { device->Clear(0, 0, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DCOLOR_XRGB(255, 255, 255), 1.0f, 0); device->BeginScene(); device->SetStreamSource(0, VB, 0, sizeof(Vertex)); device->SetFVF(D3DFVF_XYZ | D3DFVF_DIFFUSE); device->DrawPrimitive(D3DPT_TRIANGLELIST, 0, 1); device->EndScene(); device->Present(0, 0, 0, 0); }; I'm pretty confident that the window is initialized fine, but I cant seem to figure out why nothing is showing up... I really hope this is a stupid mistake :D
-
Advertisement