Search:

Type: Posts; User: Mavix

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,422

    It seems my problem was with "temp2 = temp1". I...

    It seems my problem was with "temp2 = temp1". I got it to work, finally. And I seem to think it's XNA's fault, because it has some weird error when loading two of the same models (which is why I used...
  2. Replies
    7
    Views
    1,422

    Well, somewhere in my code I did have...

    Well, somewhere in my code I did have temp2=temp1, but even without this it still modifies both. I'll some more code tomorrow, because I am away from my computer now.
    Its a really odd problem. I've...
  3. Replies
    7
    Views
    1,422

    No, I've got no static variables or classes...

    No, I've got no static variables or classes anywhere. My dad says there is a specific name for what is happening, and that there is a way to disable it, but he doesnt know how.
  4. Replies
    7
    Views
    1,422

    Problems with classes

    I recently started writing a game in XNA, and I have run into a problem. I have a class called baseObject which I am using for all the objects in my game. But the problem is, if I create two...
  5. Replies
    2
    Views
    1,726

    Accessing classes

    I have a problem in C# that I have faced a few times before, but I have always managed to work around it. Basically, I need to, from one class, access another class that has not been created in the...
  6. Replies
    8
    Views
    5,988

    Thanks, that worked. It took me a while to figure...

    Thanks, that worked. It took me a while to figure out that I need absolute values, but I got it working. Once again, thanks!
  7. Replies
    8
    Views
    2,512

    I found the solution. In the MoveCamera() method...

    I found the solution. In the MoveCamera() method above I removed the movement on the Y axis.
  8. Replies
    8
    Views
    5,988

    Lets say, for example, the two numbers, X and Y,...

    Lets say, for example, the two numbers, X and Y, are 0.6 and 0.9. If added together they equal 1.5. Now how would I go about lowering both numbers, while keeping their ratio, till they are both equal...
  9. Replies
    8
    Views
    5,988

    Getting the relationship between two numbers

    I have two numbers, that I have got from angle, using Cos and Sin. If I add the numbers together, they generally range from about 0.6 to about 1.6. How can I write a method that makes the numbers...
  10. Replies
    8
    Views
    2,512

    This is the code that I am using for moving the...

    This is the code that I am using for moving the camera:


    public static void SetCamera(Vector3 cPosition, float h, float v)
    {
    cameraPosition = cPosition;
    cameraTarget = new Vector3();...
  11. Replies
    8
    Views
    2,512

    How would I do that? This is the first time I'm...

    How would I do that? This is the first time I'm working with DirectX, so I don't exactly understand how to do that.
  12. Replies
    8
    Views
    2,512

    Thanks for the reply. I found a page on...

    Thanks for the reply. I found a page on gamedev.net that shows how to rotate the camera. It involves a lot of trig. But now I have another problem. When it moves the camera, it moves it in the...
  13. Replies
    8
    Views
    2,512

    Problems moving the camera

    To post on Game Programming forum:

    I'm starting work on my first game, and I'm doing all the programming from scratch in C# using DirectX. But I've picked up a small problem.
    I use the following...
  14. Thread: Ref and out

    by Mavix
    Replies
    2
    Views
    1,439

    Now I understand. Thanks!

    Now I understand. Thanks!
  15. Thread: Ref and out

    by Mavix
    Replies
    2
    Views
    1,439

    Ref and out

    What is the diference between ref and out? They both seem to do the same thing.
    Also, I have a book that I'm learning from, and it user try, and then finally. I know what try does, but what does...
  16. Replies
    5
    Views
    4,686

    Woah, I have no clue what you just said, so I'll...

    Woah, I have no clue what you just said, so I'll go with what Bubba said. I'm also going to be buying a book on directx in c#, which was written by the development lead for managed directx. BTW, how...
  17. Replies
    5
    Views
    4,686

    Getting the position of the mouse cursor

    I'm using Direct3D in C#, and I was wondering how I can get the position of the mouse cursor in the 3d space. For example, the camera is looking straight down on a map. Its position is 0,0,30, which...
  18. Thread: Listview control

    by Mavix
    Replies
    6
    Views
    1,851

    Awesome, it works! Thanks!

    Awesome, it works! Thanks!
  19. Thread: Listview control

    by Mavix
    Replies
    6
    Views
    1,851

    I did that but it still shows small icons. Maybe...

    I did that but it still shows small icons. Maybe thats its proper size, but it looks very small to me, and its the same size as the small images in the listview. Isn't there another control I can...
  20. Thread: Listview control

    by Mavix
    Replies
    6
    Views
    1,851

    I tried that but it doesnt make the icons any...

    I tried that but it doesnt make the icons any larger. I tried making the image itself bigger, but it still displays them very small, about 10x15 pixels.
  21. Thread: Listview control

    by Mavix
    Replies
    6
    Views
    1,851

    Listview control

    I am looking for a listview control similar to C# 2005 Express's built-in one, but that displays larger icons. I need it to display the icons about the same size as on the windows desktop.
    Does...
  22. Replies
    17
    Views
    3,720

    Thats why I have decided to do it in c# instead....

    Thats why I have decided to do it in c# instead. I have a basic understanding of c++, but for now I'l focus on c#. I'l learn c++ when I go collage, which is still quite far away.
    Also, I always...
  23. Replies
    17
    Views
    3,720

    Ok thanks for the tips. I dont really like...

    Ok thanks for the tips. I dont really like pointers, but I need to learn how to use them properly.
    BTW I was using SDL_FreeSurface() and FreeFont(), but I wasnt freeing anything else.
  24. Replies
    17
    Views
    3,720

    I never have used and have no idea how to use...

    I never have used and have no idea how to use malloc. Never really needed it. But I've decided to ditch sdl in C for directx in c#. I wanted to go the directx route in the beggining, but having...
  25. Replies
    17
    Views
    3,720

    I'm talking about my main system ram. I have...

    I'm talking about my main system ram. I have about 1200 lines of messy code, so I think thats a bit too much to post. The problem is with my code, not with sdl. I do free resources, but not memory....
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4