Tarkus

Member
  • Content count

    15
  • Joined

  • Last visited

Community Reputation

122 Neutral

About Tarkus

  • Rank
    Member
  1. ummm, I know this sounds stupid, but is the file you're trying to open present in the location where the release build would be placed? maybe it's trying to open a file that's not there?
  2. Your first game (released)

    My first game would be a 3D pong I wrote in C. However, my favorite game would be 'whippy'. You can try both of them at my website :D As far as chopper goes, that too was my favorite game... I wonder what happened to the author of that game...
  3. cursor

    ummm, you could draw one in MSpaint or other platform equivalent...
  4. Dev-C++ exe??

    Did the linker say anything?
  5. Text Based Game

    Although I'm not the guru you're asking for, I would make every player just one class. you could derive a class for a human player or visa-versa. you could simply call a function which performs the AI... But I would go for the single class, that way you can expand the game to include as many players as you want. There are so many ways to make it, it's kind of hard to say...
  6. SDL and GDI programming

    The SDL documentation mentions something about the SetEnv() function. It allows you to send SDL a handle to the window you want to use, thus, you can create the window via the API, draw with SDL, flip, draw with the GDI. here are the environment variables The one you might want is SDL_WINDOWID However, I think it'd be problematic drawing with both anyways.
  7. A couple of questions...

    Ok, I've been working fervently on learning C/C++ as of late, so these questions might seem a little inane, so please bear with me. Ok, First off, I've been working with SDL. Now, I've written a function which loads a bmp and colorkey's the surface with the very first pixel, however, I'd like to be able to take the color of the bottom-left pixel instead... here's the problem. I have a pointer to where the pixel data is stored, but the data can be 8,16,24,32 bits in size. How can I get a meaningful value to use as a colorkey, and how would I get a 16 bit or 24 bit value when other data types are 8 and 32 bits? In general, how could I traverse a pointer by, say 8 bytes, and retrieve a long result? Ok, another one... This is something that probably comes second nature. What do you guys do in the event of a game pausing or a menu popping up on the screen where you still want to process the menu and mouse and pause screen, but you want to show the renderings in the back. Do you have a global variable that disables all objects from moving? do you take a screenshot and render that while the menu stuff is being done? I'll probably have more questions as time goes on. I truly appreciate any help.
  8. console game

    I was actually wondering the same thing as the original poster... What I think he means is, is there someway to clear the screen, much like the BASIC command 'CLS'. I know of an old trick where you could write directly to the video memory at 0x800 for monochrome and 0xC000 (I think) for color. However, I tried it, it wasn't pretty. I may have done it wrong though. It could be done with an old compiler, (any 16 bit compiler or DOS 32 bit compiler), or even look for a copy of PowerBASIC. But, that's not what the OP is asking for :D .
  9. Starting a game...

    Myself I would try game maker. It incorporates an objectified system with a full array of events and a C-like script. You can also use drag and drop actions in each event, however, I find it easier to use scripting in the events. Oh, and did I mention it's free. You can register it for the more advanced features or you can use version 5 which has no nag screen or crippled features. Game Maker Also, some of the games on my site are made in GM, just to give you an idea. My site GM is quite powerful with functions for every game related function. [edit] Hmmmm, how do I make links clickable...? [edit2] Nevermind, didn't know it was HTMl enabled