Jump to content
  • Advertisement

BaldPython

Member
  • Content Count

    74
  • Joined

  • Last visited

Community Reputation

100 Neutral

About BaldPython

  • Rank
    Member
  1. BaldPython

    a few questions about python

    Quote:Original post by grekster Ijn regrads to making an actual game its probably less suitable as a main language (depending on how complex the game is) but could be used as a scripting language and tied into the engine. Well, but can we use C in that case ... I mean can we do interfacing of C with python? and is it feasible as far speed issues are concerned???
  2. I have been working on C++ for last 2 years, but now I am just starting to learn Python, but I'm confused that is there any good in learning python? or will it boost me in either game-programming or software industry. I read somewhere that python is not a good solution for huge projects, and it's an interpreted languages, so it's slower than compiled languages. So can anyone please tell me about this? Is python good for win32 projects(win32 games or softwares) ?? Can we make executables of python code??
  3. BaldPython

    Allegro Newbie Question

    anyone help please?? :(
  4. BaldPython

    A push in the right direction.....

    Quote:Original post by Jay935 Ok, so I'm currently taking a class on Visual Basic in my high school. But, I've been wanting to learn some other programming languages, and learn about game design. Learn Python or Pascal. I love the P-languages. =D
  5. BaldPython

    Help!!! I'm new to Programming!!!

    I never recommend anyone to use Visual C++ 2005. Use Dev-C++ or Digital Mars C/C++ Compiler.
  6. BaldPython

    Allegro Newbie Question

    Hello Everyone, I downloaded my source program from this page: http://www.loomsoft.net/resources/alltut/alltut_lesson1.htm It's the lesson1 so its a very basic program, and I suppose it should compile, but its not compling on my side. I'm using VC6 with WinXP. When I try to compile it compiler notifies me the following message: --------------------Configuration: AllegroTest - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main AllegroTest.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. AllegroTest.exe - 2 error(s), 0 warning(s) Can anyone please help me whats the problem? and suggest me a solution???
  7. BaldPython

    Sqlite + Linking Problem

    I am using Visual C++ 6... How can I do that ? Moreover, I tried to compile the simplest program of mysql and it failed horribly too.
  8. BaldPython

    Sqlite + Linking Problem

    I am working with Sqlite and I just decided to test the program on their site, the program has no error, I added additional preprocessor files and I have also added the mysqlite3.dll file to the project too. The code compiles error free but at the time of link it shows this: Linking... main.obj : error LNK2001: unresolved external symbol _sqlite3_free main.obj : error LNK2001: unresolved external symbol _sqlite3_exec main.obj : error LNK2001: unresolved external symbol _sqlite3_close main.obj : error LNK2001: unresolved external symbol _sqlite3_errmsg main.obj : error LNK2001: unresolved external symbol _sqlite3_open Can anyone tell me whats going wrong with this???
  9. BaldPython

    Point Morphing

    BUMP!
  10. BaldPython

    Point Morphing

    ok here's my OnDraw Function: ///////////////////////////////////////////////////////////////////////////// // CCCCCBitmapView drawing void CCCCCBitmapView::OnDraw(CDC* pDC) { CCCCCBitmapDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); // TODO: add draw code for native data here CDC memSrc; CDC memDest; POINT ptOrg; POINT ptSize; BITMAP bm; BITMAP bm2; CBitmap cb1,cb2; int r,g,b; COLORREF source,dest; memSrc.CreateCompatibleDC(pDC); memDest.CreateCompatibleDC(pDC); cb1.LoadBitmap(IDB_BITMAP3); cb2.LoadBitmap(IDB_BITMAP4); memSrc.SelectObject(&cb1); memDest.SelectObject(&cb2); memSrc.SetMapMode(pDC->GetMapMode()); cb1.GetObject(sizeof(BITMAP),(LPVOID)&bm); cb2.GetObject(sizeof(BITMAP),(LPVOID)&bm2); ptSize.x = bm.bmWidth ; ptSize.y = bm.bmHeight ; for(long i=0; i < ptSize.y; i++) for(long j=0; j < ptSize.x; j++) { source = memSrc.GetPixel(i,j); dest = memDest.GetPixel(i,j); } pDC->DPtoLP(&ptSize,1); ptOrg.x = ptOrg.y = 0; //cb. memSrc.DPtoLP(&ptOrg,1); pDC->BitBlt(0,0,ptSize.x,ptSize.y, &memSrc,ptOrg.x,ptOrg.y,SRCCOPY); cb2.DeleteObject(); cb1.DeleteObject(); memSrc.DeleteDC(); //memDest.DeleteDC(); } I mean when i execute it, it halts and doesnt stops without removing it through the running processes from Windows task manager.
  11. BaldPython

    Point Morphing

    umm no help ...
  12. BaldPython

    Point Morphing

    Hello, I've been been trying to implement point morphing using MFC framework, I am having a terrible problem that i'd like to discuss with you all. First of all, I have an array of instances of CBitmap. Then I am loading both the bitmaps: cb[0].LoadBitmap(...); cb[1].LoadBitmap(...); Now, what I want to do is to collect the RGB values of all the pixels of cb[0]and cb[1] and then get the difference between both, and then make the former image tranform into the latter one. So I want to ask that how could I store and get the RGB values of each pixel and also the attributes of that image?
  13. Greetings, Can anyone tell me how could I get control of Mouse Clicks in WndProc(). I mean, I've a vague concept of WM_MOUSEMOVE, I tried it but it doesnt works for me. can you give me some examples like how would it works ...
  14. BaldPython

    Overly Complex

    Quote:Original post by Fruny Overly complex, no. Undefined behaviour, yes. You can only modify a given variable once between sequence points. See here, too (as well as Washu's follow-up journal entries). Kulseran -- it's worse than that. It's not just the order of evaluation that's undefined, it's the actual meaning of the statement which is. Thanks for the links ... :)
  15. BaldPython

    Making a C++ maze game

    Quote:Original post by Boder Be careful though, there is no platform independent way in the standard library to clear the screen. Windows: system("cls") Nix: system("clear") Or storing the whole screen into an array and filling it with zero.
  • 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!