Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

106 Neutral

About SuperFunHappyMeowCat

  • Rank
  1. SuperFunHappyMeowCat

    What games to play to get inspiration?

    I liked starcraft and warcraft3's songs. Also metal gear solid 2 and 3.
  2. SuperFunHappyMeowCat

    What do you use to program your tools?

    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?
  3. SuperFunHappyMeowCat

    What do you use to program your tools?

    ohh yeah C#... I think i'll use that. Thanks for the quick responses!
  4. 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
  5. SuperFunHappyMeowCat

    Squares wont show up!

    Thank you very much! I cant believe i forgot to do that.
  6. SuperFunHappyMeowCat

    Squares wont show up!

    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?
  7. SuperFunHappyMeowCat


    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.
  8. SuperFunHappyMeowCat

    learned c++ basics now what?

    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.
  9. SuperFunHappyMeowCat

    D3DX functions

    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?
  10. SuperFunHappyMeowCat

    My Triangle isnt showing up

    ahhh thank you very much! It was because of the lighting.
  11. SuperFunHappyMeowCat

    My Triangle isnt showing up

    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

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!