Search:

Type: Posts; User: Lifedragn

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    14,329

    I just found a way to do it. For others searching...

    I just found a way to do it. For others searching for this in the future, here it is...

    If you are using System.Windows.Forms, there is a Control class which contains a Static MouseButtons...
  2. Replies
    4
    Views
    14,329

    Unfortunate, but thank you anyway.

    Unfortunate, but thank you anyway.
  3. Replies
    4
    Views
    14,329

    Looking at current mouse button state

    I have a small portion of code that I wish to bypass if the left mouse button is down. It seems a waste to use a boolean that gets set by mouse events for a single check. However, I cannot seem to...
  4. Replies
    16
    Views
    2,312

    As forementioned, the question is a topic removed...

    As forementioned, the question is a topic removed from the scope of the project. I didn't ask if it was worthwhile, I asked for an opinion on file storage. Please discontinue telling me it is a waste...
  5. Replies
    16
    Views
    2,312

    The project is still in the conceptual stages,...

    The project is still in the conceptual stages, and we aren't certain on whether we shall use it or not, but it is something we are looking into more for the sheer purpose of doing it moreso than...
  6. Replies
    16
    Views
    2,312

    We are aiming our project towards a few goals......

    We are aiming our project towards a few goals...

    Low memory usage (Useful when designing games for actual consoles).

    Continuous gameplay, one level starts where the last ended.

    It is mainly...
  7. Replies
    16
    Views
    2,312

    Streamed-Level Loading

    Hello, this is more of an optimized way to do something question.

    What I am trying to look into is streamed loading. The project in question is a side scroller, so the implementation shouldn't...
  8. Okay, so for the command string, would I seperate...

    Okay, so for the command string, would I seperate the things I need to send into it with spaces, or how does it delimit multiple strings that need to be sent in? My executable program requires argv[]...
  9. Executing a program from within another program

    I am currently working in a group on a school project to create a Real Time Strategy game. I am trying to execute a game server program when one of the client's decides to 'Host' a game.

    I am...
  10. Replies
    9
    Views
    15,578

    Do an iteration through your string with two...

    Do an iteration through your string with two counter variables. One for write, one for read. When you hit a valid spot, move whatever is in read to write, and increment both. If you hit a space,...
  11. Replies
    4
    Views
    1,141

    Do you want to be able to search by category? Or...

    Do you want to be able to search by category? Or just an all out search? Do you want to search through your memory buffers? Or do you mean before you read in from the file.


    Try looking into the...
  12. Thread: File I/0

    by Lifedragn
    Replies
    5
    Views
    1,325

    What I usually do is parse the entire file or...

    What I usually do is parse the entire file or portion of the file I need to work with specifically and store it into a char array. Then I iterate through the array looking for specifics entries to...
  13. Replies
    5
    Views
    4,065

    Well, actually... it's still all very useful...

    Well, actually... it's still all very useful information. I'm in college for game design specifically, and we've covered most of the stuff in the first part. Have no clue what is Allegro is though....
  14. Replies
    1
    Views
    1,180

    Depends on how simple you want it. One thousand...

    Depends on how simple you want it. One thousand two hundred would be much easier than twelve hundred... else you'd have to do other checks and such.
  15. Replies
    5
    Views
    4,065

    Due to seeing a few questions on this, I decided...

    Due to seeing a few questions on this, I decided to search and see if anything was listed, and I found something. Might be useful to keep this up front, but I wanted to add to it. The largest...
  16. Thread: Time delay

    by Lifedragn
    Replies
    5
    Views
    2,942

    There's also a function called...

    There's also a function called QueryPerformanceCounter() which I am told is more accurate, and allows higher frame rates than GetTickCount(). You may wish to look into that function as well. I've...
  17. Thread: Time delay

    by Lifedragn
    Replies
    5
    Views
    2,942

    Simply making delays won't work. Because the...

    Simply making delays won't work. Because the delay will stack. If you are using a windows system, try this.

    The best way I know, within having to write specialized stuff yourself, is to framelock...
  18. Replies
    4
    Views
    5,173

    Thank you for the assist. I was able to talk to...

    Thank you for the assist. I was able to talk to the lab instructors in class today, and getting nowhere with them I went to see if any peers had the situation solved. Essentially, it involved using...
  19. Replies
    6
    Views
    2,170

    actually, all you need to do, is go to make a new...

    actually, all you need to do, is go to make a new .cpp file, and instead of keeping the default .cpp extension, just make it .c, and presto you are in the world of C programming.

    Everything else...
  20. Replies
    4
    Views
    1,088

    Well, I've never overloaded >> myself, but I will...

    Well, I've never overloaded >> myself, but I will say that it shuld be returning something... and your return is commented.

    Another thing to try is to try doing it one at a time instead of in a...
  21. Replies
    8
    Views
    1,434

    Hope that solved things. ;) Just remember in...

    Hope that solved things. ;)

    Just remember in the future. declaring a variable inside of a function creates what is called a local variable. As soon as the function exits, it is drug out back and...
  22. Replies
    4
    Views
    1,088

    Are you getting any errors at either compile or...

    Are you getting any errors at either compile or run-time? If so, please include them.

    What is the program actually doing if it is working? I can't see where you are opening the file to read from,...
  23. Replies
    8
    Views
    1,434

    int c [2] = {random, random2}; You never...

    int c [2] = {random, random2};


    You never said what random or random2 is. You have functions named random and random2, but no variables. Right there it is looking for variables, not returns from...
  24. Replies
    4
    Views
    5,173

    Thank you! The reason I had it in the loop is...

    Thank you!

    The reason I had it in the loop is because I want to next make the wave dependent on the X value. I am also seeing the value I am using is causing the value to continuously rise.

    Is...
  25. Replies
    16
    Views
    4,535

    Ack, you're right. Pointers on the brain, hehe....

    Ack, you're right. Pointers on the brain, hehe. Not pointers, but yes, it is a class. The thing is that the class does use dynamic allocation within. It seems a bit overpowered for what he needs. It...
Results 1 to 25 of 27
Page 1 of 2 1 2