• Content count

  • Joined

  • Last visited

Community Reputation

127 Neutral

About VWarrior

  • Rank
  1. This is something i've suspected for a while but haven't been able to confidently confirm. I've developed two games using Allegro, both of which don't run on some users' computers whom I believe don't have the .NET framework installed. I'm 100% I did while developing the games. And now, I recently installed the .NET 3.5 Framework and I just noticed my games will no longer run on my computer. So can anyone confirm this for me? And if so, has the library been patched so that I can recompile the games?
  2. I briefly considered jumping right into DX10 as well, but never did. And the major two reasons have been expressed here. 1. DX10 is not yet widespread, meaning the potential audience for your projects is limited, and in your case, that mean neither you or I could run your program right now. 2. Learning/Using DX9 right now is more practical because it is still widely in use both by hobbyists and professionals. And because its been around for a while now, you're likely to have a much easier time finding resources to aid in learning the API. Because you're 14, you may not yet have been exposed to some fundamental mathematics associated with 3D programming such as Vector Algebra, Matrices, and general Multivariate Calculus. I wasn't formally introduced to the last one until I got to college, so you may wanna buy a 3D Math Primer or find a good online resource on those concepts. Understanding the mathematical concepts helps you to understand how is DirectX is used and what it is doing for you, which will make your learning experience easier. And learning DX9 now will make learning DX10 in the future easier.
  3. I'm currently having trouble getting a program to run that calls the function in the title. I'm pretty much just doing: D3DXVECTOR3 d, u(1.0f, 2.0f, 3.0f); D3DXVec3Normalize(&d, &u); The code compiles fine but i'm getting a linker error indicating this function call is the problem (i'm using Visual C++ 2008 Express, btw). I'm #include 'ing d3dx9.h, and linking d3dx9.lib. Has this recently been changed in the API? I'm using the November 2007 SDK. EDIT: Nevermind guys. After playing around a bit, I discovered I wasn't linking the library properly in Visual C++;
  4. Effective ways to learn Win32?

    Thanks! I'll look into them!
  5. As I study game programming and programming in general, I run across many instances of Win32 syntax references that are complete new to me as I see them. I don't really know much of the API, but its kinda scary as its seems like a necessity for any kind of Windows programming and I'm unfamiliar with it. I recently read "Beginning Game Programming" by Michael Morrison and i'm currently reading Game Coding Complete, 2nd Edition my Mike McShaffrey and both authors make references to Win32 syntax/function calls/etc and i'm just like ??? So like I said, I guess if I want to be able to do any kind of commercial Windows programming, including Windows game programming, I guess I need to learn at least some fundamental Win32? What are some effective ways/resources that you guys recommend I go about doing that? Any help is greatly appreciated.
  6. Sweet! Thanks for the replies, guys!
  7. I was wondering if there is any open source file compression code/libraries out there I could use to compress files such as bitmaps and then integrate into my game code to decompress and load during initialization? I've tried writing one myself but its currently buggy (I may try to debug it again some time in the future, though).
  8. Thanks! Indeed i'm running Windows XP. I did look at your thread earlier when I posted this one. The only thing I could think of is to detect when the Window is being deactivated and call pause_midi() when that happens, but I dunno how you'd do that with Allegro. I know how you can detect a window termination, but not deactivation.
  9. I'm using TTF-to-PCX program that I found off the official Allegro website and this is the syntax i'm using: FONT* myfont; myfont = load_font("Font.pcx", NULL, NULL); ... textout_centre_ex(screen, myfont, "My Font", SCREEN_W / 2, SCREEN_H / 2, makecol(255, 255, 255), -1); And nothing shows up. In the conversion program I set the font to 12pt and 36 pt and doesn't show up either way. I believe the load is successful because myfont isn't getting set to NULL and the variable's height data member is set to the same size as I specified in the conversion program. I would just use the standard Allegro font but I need bigger text and I dunno if its possible to modify the default font size.
  10. Quote:Original post by T1Oracle I'm currently reading this although I also have this. When the first one arrived I was surprised at how massive and when I started reading it I found it to be too detailed (it explains OOP and abstract classes) but I understood that it was a thorough book that made few assumptions of the reader. The other one is much smaller and faster paced, but now that I've grown to appreciate the depth of detail in the first, I will be finishing that one first. Anyway, Pro C# seems pretty good. I couldn't imagine that it leaves anything out, although it is a slow read you should certainly know C# by the end of it (at least that's what it looks like so far). Also, the Accelerated book is $10 used so it's not too huge of an investment. It seems to be good and is certainly faster paced, but I haven't read much of it. Hmm...seems Pro C# is pretty solid. Definite candidate.
  11. Quote:Original post by Captain_Thunder I liked the Softsteel tutorial. You might also want to look at Visual C# 2005 Step by Step. Those look pretty good. I'll keep the tutorial bookmarked. It seems like the book is geared toward learning to use C# with the IDE. I have Visual Studio 2005, but my primary concern is learning the language. I won't be uses VS2005 forever, lol (2008 is now in Beta, I believe), so I don't really need anything too specific to an IDE.
  12. Quote:Original post by Alpha_ProgDes Well we have a C# Workshop starting on July 1. Wanna wait until then? How extensive will the workshop be?
  13. I consider my self an intermediate C/C++ programmer now with a good foundation and fundamentals. My skills will really only get better with application. Now I feel like its time for me to expand my programming skills by learning C#. I hear great things about the language, I know its becoming increasingly used in the game development industry (tools, etc), I know a lot of Xbox 360 software is written it in and i'd like an opportunity to work on an Xbox 360 game sometime in the future, and overall, I think it'd be a great benefit to be fluent in the language, whether the application be games or not. So now I need your recommendations on the best books and tutorials on there on learning the language well. I have Visual Studio 2005 with the C# IDE and Compiler installed so i'm good to go with actually programming in it. So I just need good instruction.
  14. Quote:Original post by F1N1TY How about, when the mouse is down, you check a flag (created by you) that tells you if you previously had the mouse down. Horrible wording, but something along these lines: Mouse Button Pressed -> -> Is MouseWasDown true? Yes = Ignore, No = Carry out action Mouse Button Not Pressed-> -> Set MouseWasDown to false; That worked perfectly! I knew there had to be some kind of logical algorithm to make it work that was it. As a result, I was able to improve my engine in the process. Now you can set it to support dragging or not with a simple flag! Thanks!