Search:

Type: Posts; User: werdy666

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,605

    i knew it would be something simple that i had...

    i knew it would be something simple that i had done wrong!

    thanks! :)
  2. Replies
    3
    Views
    2,605

    linker 2019 issues

    Hi,

    I have been playing around with SDL recently and also trying to learn more about classes and pointers too. I have a problem with code I have implented from this site...
  3. Replies
    2
    Views
    2,884

    reading text file to struct help needed!

    Hi,

    I am having trouble where to begin reading in my text file my little program I created.
    below is the text file i want to read into a struct in my program.

    I just want some help on parsing...
  4. Replies
    1
    Views
    1,397

    cin expecting number but gets a letter

    i'm using a simple switch statement to get user input. from 1 to 5.

    what if they enter a letter, whilst my cin is expecting an int. is there a way to catch that before it causes problems with my...
  5. Replies
    0
    Views
    2,352

    tile collision detection help needed...

    i have made a reasonable attempt at my own collision detection routine for a tile game. However i have run into a snag. I created a tile that reduces the player's speed by half, however it does not...
  6. Replies
    4
    Views
    1,524

    yeah all it is is to determine which texture to...

    yeah all it is is to determine which texture to use in which spot. So for example if its 0 its black, and if its 1 its blue etc etc
  7. Replies
    4
    Views
    1,524

    actually in my hex editor i see alot of 00's and...

    actually in my hex editor i see alot of 00's and 01's! :)
  8. Replies
    1
    Views
    1,811

    tile colliision detection problems

    hi,

    I am trying to make a small tile game with opengl but am having problems.

    If i move the player a full tile at a time i can get it working perfectly. its when i try to implement smooth...
  9. Replies
    4
    Views
    1,524

    loading map and rendering to the screen???

    hi,

    i have been having major problems trying to render my little map to my screen using opengl. it appears to read in ok but i am no expert at loading binary files. it renders something completely...
  10. Replies
    4
    Views
    2,314

    but surely it is possible somehow??? i remember...

    but surely it is possible somehow??? i remember my old Amiga 500 used to be able to record your mouse movements and replay them perfectly. Any tips????

    Thanks for your reply!
  11. Replies
    4
    Views
    2,314

    tracking mouse movements

    hi,

    i want to make a little program that would record my mouse movements precisely. at the moment i am using WM_MOUSEMOVE message, but it seems to skip quite alot of pixels. i would like to at...
  12. Replies
    5
    Views
    2,520

    time based movement

    i'm trying to implement time based movement to make my game run at the same speed on all systems. however i can't seem to get it right. Could someone have a quick look through my code and tell me...
  13. Replies
    3
    Views
    3,516

    The array is square.:D

    The array is square.:D
  14. Replies
    3
    Views
    3,516

    How Do you rotate a multidimensional array?

    lets say i have an array like this.....

    array[4][4]

    and this is the data in the array

    array[0] { 1,1,1,1}
    array[1] { 2,2,2,2}
    array[2] { 3,3,3,3}
    array[3] { 4,4,4,4}
  15. Replies
    1
    Views
    2,800

    OpenGl 2D Tiling problem

    Hi,

    I am trying to make a basic tile scrolling program but am having problems implementing the culling of tiles which are not draw on the screen.

    At the moment i have smooth movement to the...
  16. Replies
    2
    Views
    1,345

    fstream question...

    hi,

    i am loading in a binary file into a 2d vector. i have it working but don't understand how it works! lol

    here is the code....



    int widthb[1];
    int heightb[1];
  17. Replies
    1
    Views
    899

    ok i appear to have solved my problem but i still...

    ok i appear to have solved my problem but i still don't know why it wasn't working.


    cout << int(words[5].length()) << endl;

    cout << "lets try to jumble a word at random" << endl;
    cout <<...
  18. Replies
    1
    Views
    899

    Newbie needs help with vectors!

    this is a function i am trying to write so that i can set up a vector for a flag operation to make sure i don't process the same letter of a string twice. i do understand variables(well i thought i...
  19. Replies
    10
    Views
    1,278

    Thankyou swoopy! that works perfect! :cool: :D...

    Thankyou swoopy! that works perfect!

    :cool: :D

    Werdy666
  20. Replies
    10
    Views
    1,278

    yeah the do loop doesn't work, i didn't think it...

    yeah the do loop doesn't work, i didn't think it would.

    Could you please show me a quick example of how i was use cin.ignore() to make sure that if letters are typed that it wouldn't go through...
  21. Replies
    10
    Views
    1,278

    a problem with cin......

    this code works ok until i type say a letter. like if i typed 789 it works fine. if i type say the letter a or a word or anything with a char in it, it then tells me that the monster doesn't exist,...
  22. Replies
    0
    Views
    1,324

    newbie needs some advice

    I am just trying out some basic c++ stuff and i was hoping someone could tell me some better ways to put my code together. I know its messy but if anyone could help make it cleaner and faster, and...
  23. Replies
    3
    Views
    899

    yeah i understand that WM_SIZE is only called...

    yeah i understand that WM_SIZE is only called when you try to resize the window and WM_Create is called when the window is created....

    here is my message loop...



    switch(msg)

    {...
  24. Replies
    3
    Views
    899

    a quick newbie question about messages

    in the WndProc where u check for all the different messages windows sends your program, why is it that i have made a window that cannot be resized, yet i have code that looks like this.....


    ...
  25. Replies
    1
    Views
    965

    total newbie windows programmer....

    could someone suggest a couple of very basic programs that i could try, to help learn windows programming? The tutorials are good and all, but they concentrate on one specific thing most of the time....
Results 1 to 25 of 33
Page 1 of 2 1 2